Validate

Check a document against a JSON Schema, with errors you can click.

Validate against a schema

Open the Schema panel in the sidebar and paste a JSON Schema. Pandia validates the document live as you edit either side. It supports both draft-07 and 2020-12, read from the schema's $schema declaration.

Clickable errors

Each error shows the failing path and the reason it failed. Click an error to jump straight to that node in the document. The status bar shows the running error count, so you always know how many issues remain.

Example

A tiny schema requiring an integer id and a string name:

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "required": ["id", "name"],
  "properties": {
    "id": { "type": "integer" },
    "name": { "type": "string" }
  }
}

Validated against this document:

{
  "id": "42"
}

Pandia reports two errors:

/id    "42" is not of type "integer"
$      "name" is a required property

Click either error to land on the offending node.

Generate a schema, too

Pandia can also generate a JSON Schema from a document — see Type generation.