-
Notifications
You must be signed in to change notification settings - Fork 45
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
Investigate OpenMINDS as an option for ngff validation #75
Comments
According to the linked issue above, openMINDS uses JSON-Schema tools for validation.
The following JSON passes validation, even though the
EDIT: If I replace |
Do you have a link to the json-schema that was used for validation? |
The schema and the JSON are both in that comment. Text is a bit jumbled - I'll fix... |
I guess the fact that validation doesn't fail for invalid types when the properties key is a URL is what's meant by |
See Intro video at https://vimeo.com/605602233 (start at 9 minutes)
It seems that OpenMINDS has a way of describing schemas, and tools that can convert those schemas into JSON-ld, html doc, and tools that can use the schema to provide APIs for creating data records of schema Objects.
Testing some code, following example at
https://github.com/HumanBrainProject/openMINDS_generator
That created `./myInvalidCollection/coordinatePoint/d734b6d4-415c-11ec-a0c9-a45e60c9f76d.jsonld
which appears invalid looking at the schema https://github.com/HumanBrainProject/openMINDS_SANDS/blob/v3/schemas/miscellaneous/coordinatePoint.schema.tpl.json
There is a validator but it only checks that the file is JSON:
json.loads(f.read())
cc @joshmoore @jburel
The text was updated successfully, but these errors were encountered: