How to Use the JSON Schema Validator

TL;DR

  1. Open Schema Validator.
  2. Paste JSON on the left, Schema on the right.
  3. Click Validate → see errors or success (with tree view).

Minimal example

JSON:

{ "id": 101, "active": true }

Schema:

{
  "type": "object",
  "properties": {
    "id": { "type": "number" },
    "active": { "type": "boolean" }
  },
  "required": ["id", "active"]
}

Tips

  • Errors list shows the failing keyword/messages from AJV.
  • Draft support: common JSON Schema drafts are supported by AJV.
  • Validate arrays via items; enums via enum; unions via oneOf/anyOf.

Related

JSON Validator ·JSON Formatter