myqatools
Tools
Tutorials
Mock API
Home
Validators
JSON Schema Validator
JSON Schema Validator
Validate JSON against a schema.
JSON Schema
{ "type": "object", "required": ["name", "email"], "properties": { "name": { "type": "string", "minLength": 1 }, "email": { "type": "string", "pattern": "^[^@]+@[^@]+$" }, "age": { "type": "number", "minimum": 0 } } }
Data (JSON)
{ "name": "Alice", "email": "alice@example.com", "age": 28 }
✓
Valid — data matches the schema.