{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/WorkflowUpdateRequest",
  "title": "WorkflowUpdateRequest",
  "additionalProperties": false,
  "description": "The update workflows payload.",
  "properties": {
    "statuses": {
      "description": "The statuses to associate with the workflows.",
      "items": {
        "$ref": "#/components/schemas/WorkflowStatusUpdate"
      },
      "maximum": 1000,
      "type": "array"
    },
    "workflows": {
      "description": "The details of the workflows to update.",
      "items": {
        "$ref": "#/components/schemas/WorkflowUpdate"
      },
      "maximum": 20,
      "type": "array"
    }
  },
  "required": [
    "statuses",
    "workflows"
  ],
  "type": "object"
}