JSON Schema Playground
Validate with Ajv (draft 2020-12), generate schemas, and query with JSONPath. Everything runs in your browser — nothing is uploaded.
JSON document
JSON Schema (draft 2020-12)
Result
✗ 4 validation errors
| instancePath | message | keyword | schemaPath |
|---|---|---|---|
| must match format "email"{"format":"email"} | format | #/properties/email/format | |
| /age | must be >= 0{"comparison":">=","limit":0} | minimum | #/properties/age/minimum |
| /roles | must NOT have duplicate items (items ## 0 and 1 are identical){"i":1,"j":0} | uniqueItems | #/properties/roles/uniqueItems |
| /address | must have required property 'zip'{"missingProperty":"zip"} | required | #/properties/address/required |