What is JSON Schema validation?
JSON Schema is a vocabulary for declaring the shape of a JSON document — required keys, value types, formats, ranges, enum members, nested structures, and so on. A schema validator runs the rules against a candidate document and reports which fields fail and why.
JSONZen uses Ajv 8 with the ajv-formats plugin, so format keywords like "email", "uri", and "date-time" behave the way you’d expect from a spec-faithful Ajv install.
When do you reach for it?
- You wrote a schema to enforce an API contract and want to spot-check responses.
- You’re onboarding to a tool whose config is JSON-Schema-driven and you want to understand its rules.
- A request keeps failing with a vague 400 — paste the body + the schema and find the exact field that violates.
How to use it
- Paste your data into the left panel.
- Paste your JSON Schema into the right panel.
- Read the status badge — Valid, an error count, or a parse-error label if either input isn’t valid JSON.
- When errors are present, the bottom panel lists each one with its
instancePath(which field) and the keyword that failed.