{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/WorkflowCreate", "title": "WorkflowCreate", "additionalProperties": false, "description": "The details of the workflows to create.", "maximum": 20, "properties": { "description": { "description": "The description of the workflow to create.", "type": "string" }, "name": { "description": "The name of the workflow to create.", "type": "string" }, "startPointLayout": { "$ref": "#/components/schemas/WorkflowLayout" }, "statuses": { "description": "The statuses associated with this workflow.", "items": { "$ref": "#/components/schemas/StatusLayoutUpdate" }, "type": "array" }, "transitions": { "description": "The transitions of this workflow.", "items": { "$ref": "#/components/schemas/TransitionUpdateDTO" }, "type": "array" } }, "required": [ "name", "statuses", "transitions" ], "type": "object" }