JSON Schema Validator
Paste a JSON Schema and a JSON document — every violation is listed with its exact JSON path and a plain-English message. Everything runs in your browser.
How it works & supported keywords
The validator is hand-rolled in vanilla JavaScript and implements a practical subset of JSON Schema draft-07: type (including integer and type arrays), properties, required, additionalProperties (both false and schema form), items (single schema or positional tuple), enum, const, minimum / maximum, minLength / maxLength, pattern (JavaScript regex), minItems / maxItems, and $ref pointers into #/definitions (any local #/… pointer works). Boolean schemas true/false are honored.
Not implemented: allOf/anyOf/oneOf/not, if/then/else, format, uniqueItems, multipleOf, exclusiveMinimum/exclusiveMaximum, patternProperties, dependencies, and remote $refs. Validation does not stop at the first problem — every violation is reported with its JSON path. Your schema and data never leave the page.