{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-deadline-cloud/json-schema/amazon-deadline-cloud-list-queues-response-schema.json",
  "title": "ListQueuesResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-deadline-cloud-queues-api-openapi.yml#/components/schemas/ListQueuesResponse",
  "type": "object",
  "properties": {
    "queues": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/QueueSummary"
      },
      "description": "The queues on the list."
    },
    "nextToken": {
      "type": "string",
      "description": "If Deadline Cloud returns nextToken, then there are more results available. The value of nextToken is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, then nextToken is set to null. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400 ValidationException error."
    }
  },
  "required": [
    "queues"
  ],
  "$defs": {
    "QueueSummary": {
      "type": "object",
      "properties": {
        "farmId": {
          "type": "string",
          "description": "The farm ID."
        },
        "queueId": {
          "type": "string",
          "description": "The queue ID."
        },
        "displayName": {
          "type": "string",
          "description": "The display name of the queue summary to update. This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field."
        },
        "status": {
          "type": "string",
          "enum": [
            "IDLE",
            "SCHEDULING",
            "SCHEDULING_BLOCKED"
          ],
          "description": "That status of the queue."
        },
        "defaultBudgetAction": {
          "type": "string",
          "enum": [
            "NONE",
            "STOP_SCHEDULING_AND_COMPLETE_TASKS",
            "STOP_SCHEDULING_AND_CANCEL_TASKS"
          ],
          "description": "The default action taken on a queue summary if a budget wasn't configured."
        },
        "blockedReason": {
          "type": "string",
          "enum": [
            "NO_BUDGET_CONFIGURED",
            "BUDGET_THRESHOLD_REACHED"
          ],
          "description": "The reason the queue is blocked, if applicable."
        },
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time the resource was created."
        },
        "createdBy": {
          "type": "string",
          "description": "The user or system that created this resource."
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time the resource was updated."
        },
        "updatedBy": {
          "type": "string",
          "description": "The user or system that updated this resource."
        }
      },
      "required": [
        "farmId",
        "queueId",
        "displayName",
        "status",
        "defaultBudgetAction",
        "createdAt",
        "createdBy"
      ]
    }
  }
}