relequestual/json-schema-test-suite — explained in plain English
Analysis updated 2026-07-16 · repo last pushed 2022-06-30
Verify a new JSON Schema validator passes shared, community-maintained test cases.
Check if your validator correctly handles edge cases like wrong types and missing required fields.
Test your validator against a specific draft version of the JSON Schema spec.
| relequestual/json-schema-test-suite | 0xhassaan/nn-from-scratch | 3ks/embedoc | |
|---|---|---|---|
| Stars | — | 0 | — |
| Language | Python | Python | Python |
| Last pushed | 2022-06-30 | — | 2023-06-08 |
| Maintenance | Dormant | — | Dormant |
| Setup difficulty | easy | moderate | hard |
| Complexity | 2/5 | 4/5 | 1/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
No setup needed beyond cloning, the suite is plain JSON files you load into your own test runner.
The JSON Schema Test Suite is a collection of standardized tests for checking whether a JSON Schema validator works correctly. JSON Schema is a way to describe what a valid JSON document should look like, which fields are required, what types they should be, and so on. If you're building a tool that checks JSON data against a schema, you want to be sure your tool gives the right answers. This suite provides a shared set of test cases so that anyone building a validator can verify their work against the same expectations. Each test case is a JSON file that contains a schema, some sample data, and a flag saying whether that data should pass or fail validation. For example, a test might define a schema requiring a string, then include one test where the data is a string (valid) and another where it's a number (invalid). The suite is organized by schema draft version, so you can test against the specific version of the JSON Schema spec you're targeting. It's written in plain JSON, so it works regardless of what programming language your validator is built in, you just need to load the files and run the checks yourself. This is primarily for developers building or maintaining JSON Schema validation libraries. The README lists dozens of validators across languages, JavaScript, Python, Go, Rust, Java, Ruby, and more, that already use the suite. If you're shipping a validator, running these tests gives you confidence you're handling edge cases correctly and matching the spec. The README notes that Draft 3 and Draft 4 have full coverage, and contributions are welcome if you spot gaps. The project is straightforward in its design: it's just data, not a framework or runner. You bring your own testing setup and interpret the JSON files yourself. That simplicity is the point, by staying language-agnostic, the same suite can serve the entire ecosystem of JSON Schema tools.
A shared collection of test cases in JSON format for checking whether a JSON Schema validator gives correct results. You load the files, run the checks yourself, and confirm your validator matches the spec.
Mainly Python. The stack also includes JSON, Python.
Dormant — no commits in 2+ years (last push 2022-06-30).
No license information is mentioned in the README.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.