Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON null values don't validate #86

Open
smrgeoinfo opened this issue Dec 10, 2021 · 0 comments
Open

JSON null values don't validate #86

smrgeoinfo opened this issue Dec 10, 2021 · 0 comments
Assignees

Comments

@smrgeoinfo
Copy link
Contributor

smrgeoinfo commented Dec 10, 2021

apparently (with the Oxygen JSON schema validator), null is not a valid value for a field typed 'string'. so records (e.g. "registrant" and "samplingPurpose" in ark:/28722/k2028tb6n) don't validate.

I can change the data type in the JSON schema to ["string","null"], but I'm not sure if this will work from LinkML. Other missing values are populated with "Not Provided"; I'd recommend using that where ever there's a missing value, instead of Null. "" also validates.

see #80 for latitude and longitude values

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants