$devtoolkit.sh/tools/json-schema-validator

JSON Schema Validator

Validate JSON data against a JSON Schema and see detailed violations.

$json data
0 chars1 lines
$json schema
0 chars1 lines
Paste JSON data and a JSON Schema above to validate

Related Tools

FAQ

Which JSON Schema keywords are supported?
This tool supports the most commonly used keywords: type (string, number, integer, boolean, array, object, null), required, properties, additionalProperties, items, enum, minimum, maximum, exclusiveMinimum, exclusiveMaximum, minLength, maxLength, minItems, maxItems, and pattern. Full draft-07 spec support is not implemented.
What is JSON Schema used for?
JSON Schema is a vocabulary for annotating and validating JSON documents. It is widely used for API request/response validation, configuration file validation, form input validation, and documentation of data shapes. It is the basis for OpenAPI (Swagger) schema definitions.
Why is this not a full JSON Schema implementation?
A fully spec-compliant JSON Schema validator is a large library. This tool implements the subset of keywords that cover the vast majority of real-world use cases, running entirely in your browser without any external dependencies.

Paste your JSON data and a JSON Schema to validate the data against the schema. Supports core schema keywords: type, required, properties, items, enum, minimum, maximum, minLength, maxLength, and pattern. Shows a clear pass or fail result along with a list of all constraint violations found, including the path of the failing value.

/tools/json-schema-validatorv1.0.0