JSON Validation
| Input | Output |
|---|---|
| Any (JSON) | - Any (JSON) (Passthrough) - Error Details (object) (Optional) |
The JSON Validation action validates that a JSON object (either the entire input object, or a sub-object) matches the specified JSON schema.
If the input object does not match the schema, the JSON Validation action will fail.
Properties
| Name | Type | Templatable | Notes |
|---|---|---|---|
| Schema | Text | Yes | Paste the JSON schema document to use as a validator. JSON schema documents typically begin in the following format: { "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "properties": { /\* Property definitions go here. \*/ } } |
| Error Property | Text | No | Optional. If specified, and if there are any schema validation errors, the errors are listed inside the Error Property and available for subsequent actions. |
