JSON Schema Validator
Validate JSON data against JSON Schema specifications and find path errors.
🔒 Client · OfflineTest cases
3 / 3 passed| Case | Result | Detail |
|---|---|---|
| Complete record | Pass | Matches the schema. |
| Missing email | Pass | Failed validation, as expected. |
| Wrong id type | Pass | Failed validation, as expected. |
About JSON Schema
A JSON Schema states the shape of a JSON document: which fields are necessary, the type of each field, and the permitted values. This tool checks a document against a schema and names the path of each error.
Select Generate schema to make a first schema from your data. The tool reads the types of the fields and marks the top-level fields as required. Then correct the result by hand.
Use a schema to check an API response, a configuration file, or a form. The error path, such as user.address.zip, tells you where the problem is in a large document. Click an error row to move both editors to that position.
Referenced schemas: Select Referenced Schemas to add a schema that a $ref points to. Key each one by its $id. The tool resolves every reference in memory and never makes a network request, so a private schema stays in the browser.
Branch failures: When anyOf or oneOf matches no branch, the tool lists the reason for each branch separately. This shows which branch came closest instead of one flat list of errors.
Test cases: Add a list of payloads to check many documents against one schema. Set expectValid to false for a payload that must fail. You can download the list as JSON and open it again later.