JSON Schema Validator
Validate a JSON document against JSON Schema. Inspect validation errors and optionally check formats.
How to use
- Paste your input or load the example below.
- Adjust the options, then select “Validate JSON”.
- Review the result, then copy or download it.
No uploads. No account. Processing stays in your browser.
Example input
{
"id": "0192f4d2-6a2b-7c3d-8e4f-5a6b7c8d9e0f",
"email": "ada@example",
"age": 12,
"roles": ["admin", "owner"],
"nickname": "ada"
}{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"required": ["id", "email", "roles"],
"properties": {
"id": { "type": "string", "format": "uuid" },
"email": { "type": "string", "format": "email" },
"age": { "type": "integer", "minimum": 13 },
"roles": { "type": "array", "items": { "enum": ["admin", "editor", "viewer"] }, "uniqueItems": true }
},
"additionalProperties": false
}