{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AppWorkflowTransitionRule",
  "title": "AppWorkflowTransitionRule",
  "additionalProperties": false,
  "description": "A workflow transition rule.",
  "properties": {
    "configuration": {
      "$ref": "#/components/schemas/RuleConfiguration"
    },
    "id": {
      "description": "The ID of the transition rule.",
      "type": "string"
    },
    "key": {
      "description": "The key of the rule, as defined in the Connect or the Forge app descriptor.",
      "readOnly": true,
      "type": "string"
    },
    "transition": {
      "allOf": [
        {
          "$ref": "#/components/schemas/WorkflowTransition"
        }
      ],
      "readOnly": true
    }
  },
  "required": [
    "configuration",
    "id",
    "key"
  ],
  "type": "object"
}