{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-outposts/json-schema/amazon-outposts-list-orders-output-schema.json",
  "title": "ListOrdersOutput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-outposts-list-orders-api-openapi.yml#/components/schemas/ListOrdersOutput",
  "type": "object",
  "properties": {
    "Orders": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/OrderSummary"
      },
      "description": "Information about the orders."
    },
    "NextToken": {
      "type": "string"
    }
  },
  "$defs": {
    "OrderSummary": {
      "type": "object",
      "properties": {
        "OutpostId": {
          "type": "string",
          "description": "The ID of the Outpost."
        },
        "OrderId": {
          "type": "string",
          "description": "The ID of the order."
        },
        "OrderType": {
          "type": "string",
          "enum": [
            "OUTPOST",
            "REPLACEMENT"
          ],
          "description": "The type of order."
        },
        "Status": {
          "type": "string",
          "enum": [
            "RECEIVED",
            "PENDING",
            "PROCESSING",
            "INSTALLING",
            "FULFILLED",
            "CANCELLED",
            "PREPARING",
            "IN_PROGRESS",
            "DELIVERED",
            "COMPLETED",
            "ERROR"
          ],
          "description": "The status of the order. PREPARING - Order is received and is being prepared. IN_PROGRESS - Order is either being built, shipped, or installed. For more information, see the LineItem status. COMPLETED - Order is complete. CANCELLED - Order is cancelled. ERROR - Customer should contact support. The following statuses are deprecated: RECEIVED, PENDING, PROCESSING, INSTALLING, and FULFILLED."
        },
        "LineItemCountsByStatus": {
          "type": "object",
          "additionalProperties": {
            "type": "integer"
          },
          "description": "The status of all line items in the order."
        },
        "OrderSubmissionDate": {
          "type": "string",
          "format": "date-time",
          "description": "The submission date for the order."
        },
        "OrderFulfilledDate": {
          "type": "string",
          "format": "date-time",
          "description": "The fulfilment date for the order."
        }
      }
    }
  }
}