JSON Schema Validator
Validate JSON data against a JSON Schema (draft-07 subset) with detailed error paths.
Frequently Asked Questions
JSON Schema is a vocabulary that allows you to annotate and validate JSON documents. It describes the structure, types, and constraints of JSON data, making it useful for API validation, configuration files, and data interchange.
This tool supports a commonly used subset of JSON Schema draft-07, including type validation, required properties, property definitions, array items, numeric ranges, string length/pattern constraints, enums, and basic format validation.
The tool validates string, number, integer, boolean, object, array, and null types. For objects, it checks required fields and property schemas. For arrays, it validates items against an item schema. Numbers support minimum/maximum, strings support minLength/maxLength/pattern.
The format keyword supports 'email' (basic email pattern validation) and 'uri' (checks for valid URI format). These use regex-based validation and cover the most common use cases.
Error paths use dot notation to show where in your data the error occurred. For example, '/user/address/zipCode' means the error is in the zipCode field inside the address object inside the user object. Array indices appear as numbers like '/items/0'.