JSON Schema Validator
Validate JSON against a JSON Schema and list every error with its location and reason. Supports draft-07 and the common keywords.
With this on, the string "1" counts as the number 1, which suits form input. Turn it off to catch real type problems.
Unknown keywords do not raise errors: schemas copied from the web often use legacy spellings such as definitions or id, and rejecting them outright would make the tool useless.
The format keyword (email, date-time and friends) is not enforced by default: there are dozens of them and implementations disagree, which produces false alarms. Add a pattern if you need strict checking.
Error locations use dotted paths with array indices in brackets, for example user.tags[0].
Comments
No comments yet — be the first to say something