How JSON Schema Validation Works
AnyTool validates JSON against a schema with AJV, the fastest JavaScript JSON Schema validator, supporting Draft-07, Draft 2019-09, and Draft 2020-12 via per-draft entry points plus ajv-formats for format keywords. The draft can be auto-detected from the schema's $schema. AJV returns an instancePath for each error, which the tool resolves to an exact line and column so failing nodes are highlighted in the editor and clickable. Validation is live (compile once per schema change, re-run on each data edit) and runs client-side, so JSON and schema are never uploaded.
- AJV with Draft-07, 2019-09, and 2020-12 support
- ajv-formats for email/date-time/uri keywords
- instancePath mapped to exact line/column
- $ref / $defs resolution; meta-schema sanity check
- Bundled, no runtime CDN; no upload
