Dad’s Data formats tools

JSON Schema Validator

Validate JSON against a JSON Schema (Draft-07) — all errors with JSONPath locations. 100% local.

JSON Data
JSON Schema (Draft-07)
Validation Result
Paste JSON data and a schema to validate.

JSON Schema Basics

JSON Schema is a vocabulary for annotating and validating JSON. You write a schema document describing the shape you expect, then validate data against it. Draft-07 is the most widely supported version (AJV, jsonschema Python, etc.).

Schema → validation errors with JSONPath locations
Input
{
  "type": "object",
  "required": ["name", "age", "email"],
  "properties": {
    "name": { "type": "string", "minLength": 1 },
    "age": { "type": "integer", "minimum": 18 },
    "email": { "type": "string", "format": "email" }
  }
}
Output
$.age  must be >= 18  (got 17)
$.email  must match format "email"  (got "not-email")

Common Keywords Reference

KeywordApplies toWhat it validates
typeAnyValue must be one of: string, number, integer, boolean, array, object, null
requiredobjectArray of keys that must be present
propertiesobjectSchema for each named property
additionalPropertiesobjectWhether unknown keys are allowed (false = no extra keys)
minLength / maxLengthstringString character count bounds
patternstringMust match this regex
formatstringSemantic format (email, uri, date, date-time, uuid)
minimum / maximumnumberNumeric range (inclusive)
exclusiveMinimum / exclusiveMaximumnumberNumeric range (exclusive)
minItems / maxItemsarrayArray length bounds
itemsarraySchema that every array element must match
enumAnyValue must be one of the listed values
constAnyValue must equal this exact value
allOf / anyOf / oneOfAnyLogical composition: all / any / exactly one of the sub-schemas

Schema Library

The built-in schema library contains common JSON Schema definitions for formats like GeoJSON, JSON Feed, GitHub events, and OpenAPI. Click the library icon in the schema panel toolbar to search and load a schema. This is useful for validating standard JSON formats without writing a schema from scratch.

Frequently Asked Questions

Your files stay on your computer. Dad promised.

Data formats tools

Search the Data formats tools