-
Notifications
You must be signed in to change notification settings - Fork 2
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
test_json.py: Validate JSON files against JSON Schema #7
Comments
Note that the python jsonschema library doesn't check formats by default, you need to set it up explicitly https://python-jsonschema.readthedocs.io/en/latest/validate/#validating-formats |
Can re-use / replace this test once done: https://github.com/open-contracting/sample-data/blob/master/tests/test_fictional_example.py |
The standard repo now has a lot of JSON files for worked examples, so this is no longer low priority. |
2019 update: Running the following on each of the standard, profile, extension repos:
Only these have OCDS JSON files:
Off the top of my head, we'd need to:
version
)extensions
and automatically extend the JSON SchemaThe text was updated successfully, but these errors were encountered: