{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/CreateWorkflowTransitionDetails", "title": "CreateWorkflowTransitionDetails", "additionalProperties": false, "description": "The details of a workflow transition.", "properties": { "description": { "description": "The description of the transition. The maximum length is 1000 characters.", "type": "string" }, "from": { "description": "The statuses the transition can start from.", "items": { "type": "string" }, "type": "array" }, "name": { "description": "The name of the transition. The maximum length is 60 characters.", "type": "string" }, "properties": { "additionalProperties": { "type": "string" }, "description": "The properties of the transition.", "type": "object" }, "rules": { "allOf": [ { "$ref": "#/components/schemas/CreateWorkflowTransitionRulesDetails" } ], "description": "The rules of the transition." }, "screen": { "allOf": [ { "$ref": "#/components/schemas/CreateWorkflowTransitionScreenDetails" } ], "description": "The screen of the transition." }, "to": { "description": "The status the transition goes to.", "type": "string" }, "type": { "description": "The type of the transition.", "enum": [ "global", "initial", "directed" ], "type": "string" } }, "required": [ "name", "to", "type" ], "type": "object", "writeOnly": true }