Skip to content

Validate JSON against a schema

Compile a schema with AJV in your browser, validate a document and jump to each failing path.

Try it locally62 bytes · nothing leaves this page

Supported drafts

Draft 7, 2019-09 and 2020-12 are supported through AJV's dedicated builds, with formats via ajv-formats. $ref and $defs resolve within the supplied schema without any network fetch.

  • All errors are collected, not just the first
  • Each error carries its instance path, keyword and message
  • Schema compilation errors are shown separately from instance failures
  • Generate a starter schema from an existing document

Heuristics are labelled

The studio also infers schemas and computes a schema health score. That score is explicitly a configurable heuristic, not a JSON Schema validation result, and the UI says so.

Questions

Are remote $refs fetched?

No. Fetching remote references would leak schema URLs and break offline use. Inline the definitions in the schema you paste.

Which keywords are unsupported?

AJV implements the standard validation vocabulary. Custom vocabularies and non-standard keywords require registering them in code and are outside the UI's scope.

Go further in the studio

This page is intentionally a single-purpose tool. The full studio adds synchronized views, profiling, data-quality rules, schema comparison, three-way merge, transformation pipelines, timelines and local persistence. Open it with the same document and continue where this page stops.

Open JSON Forge Studio →