Obaid Sajjad

JSON Schema Validator

Paste a JSON document and a JSON Schema to validate the document against it. Every failure is reported with its exact field path, making it easy to pinpoint broken API responses, config files, or test fixtures.

The JSON value you want to validate.

The schema the document must conform to.

What this tool validates

type

Checks string, number, integer, boolean, object, array, and null, including arrays of types.

required

Flags any required property that is absent from the object.

properties

Recursively validates each declared property against its sub-schema.

items

Validates every element in an array against the items sub-schema.

enum / const

Checks the value is one of the allowed enum values, or exactly the const value.

minLength / maxLength

Enforces minimum and maximum character length on strings.

minimum / maximum

Enforces numeric range; also supports exclusiveMinimum and exclusiveMaximum.

pattern

Tests the string value against a regular expression.

additionalProperties: false

Flags any object key not declared in properties.

minItems / maxItems

Enforces array length bounds.

uniqueItems

Reports duplicate values in arrays when uniqueItems is true.

allOf / anyOf / oneOf / not

Composition keywords. Validates the value against combined sub-schemas.