Tool Lockers
Developer utilities

Inspect & test

JSON Schema Validator

Validate JSON against a schema locally. Supports common type, required, properties, enum, const, size, numeric-bound, items, and additional-properties checks.

Practical guide

Using the JSON Schema Validator

Check JSON data against common JSON Schema rules.

Example

Input

Schema: {"type":"object","required":["name"]}
Data: {"name":"Ada"}

Expected result

Valid: the JSON data matches the supported schema rules.

Supported inputs

  • A JSON object schema and a JSON value.
  • Type, required, properties, enum, const, string lengths, numeric bounds, array sizes/items, and additional-properties checks.

Limitations

  • This is a subset of JSON Schema; keywords such as pattern, format, references, and combinators are not implemented.
  • Passing this validator does not guarantee compatibility with every JSON Schema implementation.

Frequently asked questions

Does this support the complete JSON Schema specification?

No. It validates a documented subset of common constraints. Use a full JSON Schema validator when your schema depends on unsupported keywords.

Why is a schema keyword ignored?

Only the supported keywords affect validation. Check the supported-input list and validate production schemas with a complete implementation.