JSON Validation

Input Output
Any (JSON)

Any (JSON) (Passthrough)

Error Details (object) (Optional)

Summary

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, this action will fail.

Properties

Name Type Templatable Notes
Schema

Text

Yes

Paste the JSON schema document that you’d like to use as a validator. JSON schema documents typically start like this:

{
  "$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, they will be listed inside this property and available for subsequent actions.