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
- Paste the JSON data into the first field.
- Paste a JSON Schema into the schema field.
- Select Validate JSON.
- 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.