DEVELOPER TOOLS / ONLINE UTILITY

JSON Schema Validator (Basic Subset)

Paste JSON data and a JSON Schema definition to check common structural rules and see validation errors.

FREE ONLINE TOOL

JSON Schema Validator (Basic Subset)

Runs in your browser
Supports a documented subset of JSON Schema keywords only; this is not a complete draft implementation.
OVERVIEW

What is JSON Schema Validator (Basic Subset)?

JSON Schema describes the expected structure and constraints of JSON data. It can define types, required properties, allowed values, nested objects, arrays, and numeric or string limits. This browser tool implements a documented subset for quick checks; it is not a complete implementation of every JSON Schema draft or keyword.

What can you use it for?

  • Check sample API payloads against a simple schema.
  • Verify required fields and basic data types in JSON examples.
  • Test nested object and array structures while developing an API.
  • Find common data-shape problems before writing application-level tests.

How to use this tool

  1. Paste the JSON data into the first field.
  2. Paste a JSON Schema into the schema field.
  3. Select Validate JSON.
  4. Review the success message or the list of paths and rules that failed.

Example input

The sample data can be checked against the example schema shown in the schema field.

{"name":"Ada","age":32,"roles":["admin","editor"]}

Tips and things to know

  • Supported keywords include type, properties, required, items, enum, minimum, maximum, minLength, maxLength, minItems, maxItems, and additionalProperties:false.
  • This is a deliberately limited subset; keywords such as $ref, oneOf, anyOf, allOf, pattern, format, and draft-specific vocabularies are not implemented.
  • Use a full JSON Schema validator in automated tests and production systems.
  • A successful result only means the data passed the supported checks in this tool.

Frequently asked questions

Does this tool support the complete JSON Schema standard?

No. It supports a practical subset of common keywords. The page lists supported and unsupported features; use a standards-complete validator for production workflows.

Can it validate nested objects and arrays?

Yes. The supported subset recursively checks properties and array items, including nested structures.

Is my JSON or schema uploaded?

No. Parsing and validation are performed locally in your browser.