Open sneumann opened 2 years ago
Hi, the example "molecularWeight": 153.181 is invalid. https://github.com/BioSchemas/bioschemas.github.io/blob/aadc8b2bd62e00b4dfff57f43a855df5e25116b9/pages/_profiles/MolecularEntity/0.5-RELEASE.html#L383
"molecularWeight": 153.181
The Validator ElixirTeSS/bioschemas-validator gives
For property:molecularWeight , 153.181 is not valid under any of the given schemas We are expecting one of the following: string, "QuantitativeValue"
What is needed is either 1) A quoted string: "molecularWeight": "153.181" 2) A proper QuantitativeValue: molecularWeight: { value: 153.181 }
"molecularWeight": "153.181"
molecularWeight: { value: 153.181 }
Both above pass the ElixirTeSS/bioschemas-validator. Yours, Steffen
Thanks @sneumann. I think in this case a string was expected.
Hi, the example
"molecularWeight": 153.181
is invalid. https://github.com/BioSchemas/bioschemas.github.io/blob/aadc8b2bd62e00b4dfff57f43a855df5e25116b9/pages/_profiles/MolecularEntity/0.5-RELEASE.html#L383The Validator ElixirTeSS/bioschemas-validator gives
What is needed is either 1) A quoted string:
"molecularWeight": "153.181"
2) A proper QuantitativeValue:molecularWeight: { value: 153.181 }
Both above pass the ElixirTeSS/bioschemas-validator. Yours, Steffen