# tJSONValidator

Validates the data based on the given JSON schema.

This component is not shipped with your Talend Studio by default. You need to install it using the Feature Manager. For more information, see [Installing features using the Feature Manager](https://help.qlik.com/talend/r/en-US/8.0/studio-user-guide/install-features-to-talend-studio).

## tJSONValidator Standard properties

These properties are used to configure tJSONValidator running in the Standard Job framework.

The Standard tJSONValidator component belongs to the Data Quality family.

## Basic settings

| Properties | Description |
| --- | --- |
| Schema and Edit Schema | <ul> <li> <p>A schema is a row description. It defines the number of fields            (columns) to be processed and passed on to the next component. When you create a Spark            Job, avoid the reserved word <kbd>line</kbd> when naming the            fields.</p> <p>Click <span>Sync        columns</span> to retrieve the schema from the previous component connected in the      Job.</p> <p>Click <span>Edit        schema</span> to make changes to the schema. If the current schema is of the <span>Repository</span> type, three options are available:</p> <ul> <li> <p> <span>View schema</span>: choose this                option to view the schema only.</p> </li> <li> <p> <span>Change to built-in property</span>:                choose this option to change the schema to <span>Built-in</span> for local changes.</p> </li> <li> <p> <span>Update repository connection</span>:                choose this option to change the schema stored in the repository and decide whether                to propagate the changes to all the Jobs upon completion.</p> <p>If you just want to                propagate the changes to the current Job, you can select <span>No</span> upon completion and choose this schema metadata                again in the <span>Repository Content</span>                window.</p> </li> </ul> </li> <li> <p> <span>Built-In</span>: You create and store the schema locally for this component                only.</p> </li> <li> <p> <span>Repository</span>: You have already created the schema and stored it in the                Repository. You can reuse it in various projects and Job designs.</p> </li> </ul> |
| Allocate | Define the schema against which the data of each column must be<br>validated.<br><br>The schema can be a local file or a HTTP protocol. |
| Die on error | Select the checkbox to stop the execution of the Job when an error occurs.<br><br>Clear the checkbox to skip any error and continue the Job execution process. |

## Advanced settings

| Properties | Description |
| --- | --- |
| tStatCatcher Statistics | Select this check box to gather the Job processing metadata at the Job level as well as at each component level. |
| Set JSON schema draft version when it's not defined in the schema<br>file | Starting with the 8.0.1-R2026-08 Talend Studio monthly,<br>the component automatically detects the draft version from the $schema<br>declaration in the JSON schema when the declaration is available and supported. Select the<br>checkbox to use the JSON schema draft version dropdown list when<br>$schema is missing or empty, or when its value is unsupported. Existing<br>Jobs without a $schema declaration continue to use the selected draft<br>version.<br><br>For more information, see [json-schema.org](https://json-schema.org/specification). |
| JSON schema file encoding | Select the encoding from the drop-down list. |
| Custom encoding | This option is available when Other is selected as<br>JSON schema file encoding.<br><br>Enter the encoding<br>name. |

## Usage

| Usage guidance | Description |
| --- | --- |
| **Usage rule** | This component is used as an intermediate step. It requires an input and output flows. |

**Related tasks**

* [Validating a JSON file using a JSON schema](https://help.qlik.com/talend/en-US/components/8.0/json/validating-json-schema-json-file "You can validate JSON columns using the tJSONValidator component.")
* [Validating raw input JSON data using a JSON schema](https://help.qlik.com/talend/en-US/components/8.0/json/validating-json-schema-raw-input-data "You can validate JSON columns using the tJSONValidator component.")