{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-connect/json-schema/amazon-connect-list-workflows-response-schema.json",
  "title": "ListWorkflowsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-connect-workflows-api-openapi.yml#/components/schemas/ListWorkflowsResponse",
  "type": "object",
  "properties": {
    "Items": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ListWorkflowsItem"
      },
      "description": "List containing workflow details."
    },
    "NextToken": {
      "type": "string",
      "description": "If there are additional results, this is the token for the next set of results."
    }
  },
  "$defs": {
    "ListWorkflowsItem": {
      "type": "object",
      "properties": {
        "WorkflowType": {
          "type": "string",
          "enum": [
            "APPFLOW_INTEGRATION"
          ],
          "description": "The type of workflow. The only supported value is APPFLOW_INTEGRATION."
        },
        "WorkflowId": {
          "type": "string",
          "description": "Unique identifier for the workflow."
        },
        "Status": {
          "type": "string",
          "enum": [
            "NOT_STARTED",
            "IN_PROGRESS",
            "COMPLETE",
            "FAILED",
            "SPLIT",
            "RETRY",
            "CANCELLED"
          ],
          "description": "Status of workflow execution."
        },
        "StatusDescription": {
          "type": "string",
          "description": "Description for workflow execution status."
        },
        "CreatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "Creation timestamp for workflow."
        },
        "LastUpdatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "Last updated timestamp for workflow."
        }
      },
      "required": [
        "WorkflowType",
        "WorkflowId",
        "Status",
        "StatusDescription",
        "CreatedAt",
        "LastUpdatedAt"
      ]
    }
  }
}