JSON Schema Validator

Validate JSON data against JSON Schema using Ajv (JSON Schema validator)

JSON Schema Quick Reference

type

string, number, integer, boolean, array, object, null

required

Array of required property names

properties

Object defining properties and their schemas

enum

Allowed values array

minimum / maximum

Numeric constraints

pattern

Regex pattern for strings

minLength / maxLength

String length constraints

items

Schema for array items

$ref

Reference to another schema