How to use JSON Schema Validator
Check JSON data against a schema you provide. Read error paths for values that do not meet the supplied requirements.
- Paste the instance in Source text and the schema in JSON Schema.
- Select the matching draft, run Validate and inspect reported locations.
- Select Validate and review the result.
Example input
{"title":"Field Notes","inStock":true,"quantity":12,"tags":["paper","stationery"]}Example use
Check required fields and array item types in a sample request before sending it to an application.
Output and compatibility
Syntax validity and schema conformance are different checks. This workflow uses the supported draft and supplied schema; application-specific rules still need testing. Dependencies referenced from outside the provided schema may need to be bundled.
Troubleshooting
Verify the selected draft and resolve the path shown first. If a schema relies on unavailable external references, prepare a self-contained copy.
Use JSON Schema Generator to create a starting point if you do not yet have a schema.
Frequently asked questions
Can it validate against my own schema?
Yes. Paste your JSON Schema alongside the data.
Will it fix invalid values?
It reports validation results without editing the instance.