Test API contracts
Validate request or response examples before integrating them into application code.
Inspect tool
Validate JSON data against JSON Schema in your browser using AJV. Check required fields, types and constraints privately.
Your input and result are not sent to JSON Hearth or stored on a server.
When to use it
Schema validation checks whether a JSON value follows an explicit contract, including field types, required properties and supported constraints.
Validate request or response examples before integrating them into application code.
Catch missing fields and invalid types before configuration reaches a runtime environment.
Try valid and invalid fixtures while refining constraints and error messages.
Important limitations
Common questions
Syntax validation checks whether text is JSON. Schema validation also checks the parsed value against declared rules.
The document may parse correctly but still have missing properties, incorrect types or values outside schema constraints.