Test a data collection against its schema
A JSON Schema tester checks how a set of JSON data files validates against a selected schema resource. It is useful during schema design and when repeatable data checks need more context than a one-off online validator.
Create a repeatable test entry
- Open the Testing pane and select Create new.
- Name the entry so the schema and data set are clear to everyone using the test.
- Select the JSON Schema resource or the schema pool that provides it.
- Select the local folder containing the JSON test data, add the test, then run it from Test collections.
After a run, inspect the detailed validation errors, warnings, and processing information for each file.
Compare results and inspect coverage
The tester records a reference result that can be compared with later runs. It also exposes schema definition coverage, showing which parts of the selected schemas were exercised by the test data. Treat a coverage result as a review aid: confirm that the intended positive and negative cases are represented before relying on it as evidence of completeness.
Verify the test configuration
- Open at least one failed and one expected-valid result to confirm the intended schema resolution context.
- Keep the input folder and the selected schema version identifiable for a repeatable run.
- Review changed results against the reference, then investigate the relevant data or schema change.
Continue with the closest workflow
Use the JSON Schema tester for the capability overview, the JSON Schema editor to change the contract, or validation Help for a focused correction sequence.