JSON Schema Validator
Verify that your JSON strictly follows a specific JSON Schema definition.
Target JSON
JSON Schema
About the JSON Schema Validator
Check that JSON data matches a JSON Schema. Every violation is listed with the failing path and the rule that was broken, so you can fix payloads or schemas quickly.
How to use it
- Paste the JSON data to check as the Target JSON.
- Paste your JSON Schema, or load a template or infer one from the data.
- Results update as you type. Fix each listed violation, which shows its path and line.
Frequently asked questions
Which JSON Schema drafts are supported?
Draft 2020-12, 2019-09 and draft-07, which cover the vast majority of schemas in use today.
How is this different from the JSON Validator?
The JSON Validator checks syntax only. The Schema Validator checks that valid JSON also has the right structure, types and values.
Can schemas use $ref?
Yes. References inside the schema work, including #/$defs, #/definitions, $anchor and $id. Remote references to other URLs aren't fetched, so paste those definitions into the same schema.