Built-in tool
Validate Json
Extract JSON from text and check its required fields and types.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| inputTextstring · required | string | required | The raw text that may contain JSON. The node automatically finds and extracts the JSON object from surrounding text. |
| requiredFieldsrepeating-group · optional | repeating-group | optional | Fields that must be present and non-empty in the parsed JSON. Validation fails if any are missing or have the wrong type. |
| onFailurestring · required | string | required | What to do when JSON parsing or field validation fails. One of: |
| passThroughFieldsrepeating-group · optional | repeating-group | optional | Additional values from other nodes to include in the output alongside the parsed JSON fields. |
Response schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"_parseError": {
"type": "boolean"
}
},
"additionalProperties": true
}