Validate a trigger schema

Pre-validate a triggerSchema before creating or updating a trigger. conditionsSchema is derived automatically from triggerSchema and does not need to be validated separately.

triggerSchema Structure

{
  "properties": {
    "propertyName": {
      "type": "string|number|boolean|object|array|date|email|money",
      "description": "Human-readable description",
      "required": true,
      "enum": ["allowed", "values"]
    },
    "nestedObject": {
      "type": "object",
      "properties": {
        "childField": { "type": "string" }
      }
    }
  }
}

Nested objects use type: "object" with a properties sub-object (max depth 5).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
triggerSchema
object
required

The trigger schema to validate

Responses

400

Schema is invalid or not provided

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json