FormatForge

JSON Schema Validator

Validate JSON data against a JSON Schema. Supports draft-07 schema with format validation (email, uri, date, etc.).

Define the structure and validation rules your data must follow

JSON Schema (The Rules)

The data to check against the schema rules

JSON Data (To Validate)

About JSON Schema

JSON Schema is a vocabulary that allows you to annotate and validate JSON documents. It describes your existing data format with clear, human- and machine-readable documentation.

Common Keywords

Type Validation

  • "type": "string" | "number" | "object" | "array"
  • "required": ["field1", "field2"]

String Validation

  • "minLength": 1
  • "maxLength": 100
  • "pattern": "^[a-z]+$"
  • "format": "email" | "uri" | "date"

Number Validation

  • "minimum": 0
  • "maximum": 100
  • "multipleOf": 5

Array Validation

  • "minItems": 1
  • "maxItems": 10
  • "uniqueItems": true