{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/Workflow", "title": "Workflow", "additionalProperties": false, "description": "Details about a workflow.", "properties": { "created": { "description": "The creation date of the workflow.", "format": "date-time", "type": "string" }, "description": { "description": "The description of the workflow.", "type": "string" }, "hasDraftWorkflow": { "description": "Whether the workflow has a draft version.", "type": "boolean" }, "id": { "$ref": "#/components/schemas/PublishedWorkflowId" }, "isDefault": { "description": "Whether this is the default workflow.", "type": "boolean" }, "operations": { "$ref": "#/components/schemas/WorkflowOperations" }, "projects": { "description": "The projects the workflow is assigned to, through workflow schemes.", "items": { "$ref": "#/components/schemas/ProjectDetails" }, "type": "array" }, "schemes": { "description": "The workflow schemes the workflow is assigned to.", "items": { "$ref": "#/components/schemas/WorkflowSchemeIdName" }, "type": "array" }, "statuses": { "description": "The statuses of the workflow.", "items": { "$ref": "#/components/schemas/WorkflowStatus" }, "type": "array" }, "transitions": { "description": "The transitions of the workflow.", "items": { "$ref": "#/components/schemas/Transition" }, "type": "array" }, "updated": { "description": "The last edited date of the workflow.", "format": "date-time", "type": "string" } }, "required": [ "description", "id" ], "type": "object" }