---
name: json-schema-test-suite
description: "Use when adopting JSON Schema Test Suite to assess this standard: Verify a validator against its declared dialect"
---

# Apply JSON Schema Test Suite

Check a JSON Schema validator against the official instances and expected validity values for its supported dialect. Optional behaviors and unsupported vocabularies need their own results.

## Procedure

1. Inspect the repository configuration and identify the files or targets covered by JSON Schema Test Suite.
2. Identify the validator implementation and its declared dialect. Load the official validation suite at a recorded revision and run the applicable fixtures. Compare each returned boolean with the test’s expected valid value, preserving skips. For a mismatch, isolate the keyword and instance and consult the dialect specification before changing the implementation.
3. Record the tool version, configuration, scope and findings. Explain any checks that could not run.
4. Use the same invocation after changes and compare the evidence against the baseline.

Refer to [the upstream documentation](https://github.com/json-schema-org/JSON-Schema-Test-Suite) for configuration and prerequisites.

## Worked check

For one failing fixture, choose its dialect, configure the declared remote schemas and validate its instance. Compare the returned boolean with valid; isolate an unsupported optional test or a keyword mismatch before changing the validator.

[Evidence and example](https://github.com/json-schema-org/JSON-Schema-Test-Suite/blob/main/validation/README.md)
