{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/WorkflowCreateRequest",
  "title": "WorkflowCreateRequest",
  "additionalProperties": false,
  "description": "The create workflows payload.",
  "properties": {
    "scope": {
      "$ref": "#/components/schemas/WorkflowScope"
    },
    "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 create.",
      "items": {
        "$ref": "#/components/schemas/WorkflowCreate"
      },
      "maximum": 20,
      "type": "array"
    }
  },
  "required": [
    "scope",
    "statuses",
    "workflows"
  ],
  "type": "object"
}