JSON Schema Validator
Validate JSON data against a JSON Schema to ensure it meets your requirements.
JSON Data
Enter the JSON data you want to validate
JSON Schema
Enter the JSON Schema to validate against
About JSON Schema Validation
JSON Schema is a vocabulary that allows you to annotate and validate JSON documents. It helps ensure that your JSON data adheres to a specific structure and contains valid values.
Common Schema Keywords
type
- Specifies the data type (string, number, object, array, boolean, null)properties
- Defines the properties of an objectrequired
- Lists required propertiesminimum
/maximum
- Sets numeric constraintsminLength
/maxLength
- Sets string length constraintspattern
- Validates strings against a regular expressionformat
- Validates strings against common formats (email, date, etc.)enum
- Restricts values to a set of allowed values
This tool uses Ajv, a popular JSON Schema validator for JavaScript.