{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Transition",
  "title": "Transition",
  "additionalProperties": false,
  "description": "Details of a workflow transition.",
  "properties": {
    "description": {
      "description": "The description of the transition.",
      "type": "string"
    },
    "from": {
      "description": "The statuses the transition can start from.",
      "items": {
        "description": "The statuses the transition can start from.",
        "type": "string"
      },
      "type": "array"
    },
    "id": {
      "description": "The ID of the transition.",
      "type": "string"
    },
    "name": {
      "description": "The name of the transition.",
      "type": "string"
    },
    "properties": {
      "additionalProperties": {
        "description": "The properties of the transition."
      },
      "description": "The properties of the transition.",
      "type": "object"
    },
    "rules": {
      "$ref": "#/components/schemas/WorkflowRules"
    },
    "screen": {
      "$ref": "#/components/schemas/TransitionScreenDetails"
    },
    "to": {
      "description": "The status the transition goes to.",
      "type": "string"
    },
    "type": {
      "description": "The type of the transition.",
      "enum": [
        "global",
        "initial",
        "directed"
      ],
      "type": "string"
    }
  },
  "required": [
    "description",
    "from",
    "id",
    "name",
    "to",
    "type"
  ],
  "type": "object"
}