Reputation: 45
I have been looking for a good sample data set of json schemas and corresponding valid and invalid json instances.
I have only found a few test sets in some github projects:
https://github.com/xeipuuv/gojsonschema/tree/master/json_schema_test_suite
https://github.com/fge/json-schema-validator
However the data sets are pretty simple and do not cover all cases.
Does anyone know any good repository with this kind of data set?
Upvotes: 3
Views: 2208
Reputation: 12863
The official test suite is: https://github.com/json-schema/json-schema-test-suite
Those tests should cover all features (draft v3 and v4), including optional features.
Upvotes: 3