# cJsonValidator

Validates the data based on the given JSON schema.

For more information, see the Apache camel documentation https://camel.apache.org/components/latest/.

Information noteNote: This component is available only if you have installed the R2022-11 Talend Studio Monthly update or a later one delivered by Talend. For more information, check with your administrator.

## cJsonValidator Standard properties

These properties are used to configure cJsonValidator running in the Standard Route framework.

The Standard cJsonValidator component belongs to the Data Quality family.

## Basic settings

| Properties | Description |
| --- | --- |
| Type | Select the way the JSON schema will be set.<br><br><ul> <li> <span>Repository Resource</span>: The JSON schema will be                        selected from an existing repository resource file.</li> <li> <span>File Path</span>: The JSON schema will be selected from the                        local file system or a remote resource.</li> </ul> |
| Resource / Version | This field appears when Repository Resource is<br>selected from the Type list. Click [...] and select the resource file containing the JSON schema from<br>the dialog box. Select the version of the resource if more than one version of the<br>resource is available. |
| Schema URI | This field appears when File Path is selected from<br>the Type list. Enter the URL to a local resource on the<br>classpath or a full URL to a remote resource or a resource on the file system<br>which contains the JSON schema to validate against. |
| Cache Resource | Select this check box to cache the resource instead of reloading<br>it for each message. |

## Advanced settings

| Properties | Description |
| --- | --- |
| URI Options | Set the optional arguments in the corresponding table. Click [+] as many times as required to add arguments to the<br>table. Then click the corresponding Value<br>field and enter a value. See the site https://camel.apache.org/components/3.11.x/json-validator-component.html for available URI options. |

## Usage

| Usage guidance | Description |
| --- | --- |
| **Usage rule** | cJsonValidator can be a middle or end<br>component in a Route. |
| Limitation | n/a |