> For the complete documentation index, see [llms.txt](https://docs.does.qa/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.does.qa/test-steps/check/check-json-schema.md).

# Check JSON Schema

Check JSON Schema reads a [Value](/values/value-store.md) that holds JSON and confirms it matches a JSON Schema you provide. Use it when the structure and required fields matter, not only one field value.

![Check JSON Schema Test Step](https://app.does.qa/screenshots/node/check_json_value.png)

## When to use it

* Confirm an API response includes the required properties and types.
* Validate exported or generated JSON before a downstream step uses it.
* Pair with [Check JSON Value](/test-steps/check/check-json-value.md) when you also need to assert one specific field.

## Configure

### Basics

| Field                | What to set                                                     |
| -------------------- | --------------------------------------------------------------- |
| **Input Item**       | [Value](/values/value-store.md) that holds the JSON to validate |
| **Schema Type**      | `Custom` (default) or `Value Store`                             |
| **Value Store Item** | Value that holds the schema when Schema Type is `Value Store`   |
| **Custom JSON**      | JSON Schema when Schema Type is `Custom`                        |

### Advanced

| Field                                 | What to set                                                          |
| ------------------------------------- | -------------------------------------------------------------------- |
| **Status on fail**                    | [Failed Status](/test-step-options/failed-status.md)                 |
| **When should screenshots be taken?** | `Always` or `On Failures` (default)                                  |
| **Value Standardization**             | [Value Standardization](/test-step-options/value-standardization.md) |

## Related

* [Check JSON Value](/test-steps/check/check-json-value.md)
* [Value Store](/values/value-store.md)
* [Check](/test-steps/check.md)

**Tags:** `check`, `json`, `value`, `test`, `expect`, `assert`
