Check the quality of a JSON Schema — before you ship it
Paste a schema. SchemaBox checks it the deterministic way — titles, descriptions, required fields, nesting, references — and gives it a score from 0 to 100, with clear fixes. Free, no account, nothing leaves your browser.
Try an example below — instant, no setup needed.
“Validate this schema” copies the schema and opens the Validator — paste it in the right box.
Tip: press Ctrl+Enter to check. The analysis runs entirely in your browser — nothing is uploaded.
Result
How the score works
- Every schema starts at 100. Each error costs 25 points, each warning 10, each suggestion 3.
- Good points earn a small bonus: +2 for each category present (formats, bounds, examples — max +6). The score never goes above 100, and never below 0.
- Grades: A from 90, B from 75, C from 60, D below 60.
- Ajv 2020 also checks that the schema compiles — a schema that does not compile is an error (−25). If Ajv fails to load, that check is skipped and the rest still works.
Analysis is deterministic: same schema, same score, every time. No AI, no server, no surprises. Need a better schema? Generate one from plain words with StrictJSON →