{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreateWorkflowCondition",
  "title": "CreateWorkflowCondition",
  "additionalProperties": false,
  "description": "A workflow transition condition.",
  "properties": {
    "conditions": {
      "description": "The list of workflow conditions.",
      "items": {
        "$ref": "#/components/schemas/CreateWorkflowCondition"
      },
      "type": "array"
    },
    "configuration": {
      "additionalProperties": {
        "description": "EXPERIMENTAL. The configuration of the transition rule."
      },
      "description": "EXPERIMENTAL. The configuration of the transition rule.",
      "type": "object"
    },
    "operator": {
      "description": "The compound condition operator.",
      "enum": [
        "AND",
        "OR"
      ],
      "type": "string"
    },
    "type": {
      "description": "The type of the transition rule.",
      "type": "string"
    }
  },
  "type": "object"
}