{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-outposts/json-schema/amazon-outposts-create-order-output-schema.json",
  "title": "CreateOrderOutput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-outposts-orders-api-openapi.yml#/components/schemas/CreateOrderOutput",
  "type": "object",
  "properties": {
    "Order": {
      "$ref": "#/$defs/Order"
    }
  },
  "$defs": {
    "LineItem": {
      "type": "object",
      "properties": {
        "CatalogItemId": {
          "type": "string",
          "description": "The ID of the catalog item."
        },
        "LineItemId": {
          "type": "string",
          "description": "The ID of the line item."
        },
        "Quantity": {
          "type": "integer",
          "description": "The quantity of the line item."
        },
        "Status": {
          "type": "string",
          "enum": [
            "PREPARING",
            "BUILDING",
            "SHIPPED",
            "DELIVERED",
            "INSTALLING",
            "INSTALLED",
            "ERROR",
            "CANCELLED",
            "REPLACED"
          ],
          "description": "The status of the line item."
        },
        "ShipmentInformation": {
          "$ref": "#/$defs/ShipmentInformation"
        },
        "AssetInformationList": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/LineItemAssetInformation"
          },
          "description": "Information about assets."
        },
        "PreviousLineItemId": {
          "type": "string",
          "description": "The ID of the previous line item."
        },
        "PreviousOrderId": {
          "type": "string",
          "description": "The ID of the previous order."
        }
      }
    },
    "LineItemAssetInformation": {
      "type": "object",
      "properties": {
        "AssetId": {
          "type": "string",
          "description": "The ID of the asset. An Outpost asset can be a single server within an Outposts rack or an Outposts server configuration."
        },
        "MacAddressList": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The MAC addresses of the asset."
        }
      }
    },
    "Order": {
      "type": "object",
      "properties": {
        "OutpostId": {
          "type": "string",
          "description": "The ID of the Outpost in the order."
        },
        "QuoteIdentifier": {
          "type": "string",
          "description": "The ID of the quote associated with the order."
        },
        "QuoteOptionIdentifier": {
          "type": "string",
          "description": "The ID of the quote option associated with the order."
        },
        "OrderId": {
          "type": "string",
          "description": "The ID of the 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 being prepared. IN_PROGRESS - Order is either being built or shipped. To get more details, see the line item status. DELIVERED - Order was delivered to the Outpost site. COMPLETED - Order is complete. CANCELLED - Order is cancelled. ERROR - Customer should contact support. The following status are deprecated: RECEIVED, PENDING, PROCESSING, INSTALLING, and FULFILLED."
        },
        "LineItems": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/LineItem"
          },
          "description": "The line items for the order"
        },
        "PaymentOption": {
          "type": "string",
          "enum": [
            "ALL_UPFRONT",
            "NO_UPFRONT",
            "PARTIAL_UPFRONT"
          ],
          "description": "The payment option for the order."
        },
        "OrderSubmissionDate": {
          "type": "string",
          "format": "date-time",
          "description": "The submission date for the order."
        },
        "OrderFulfilledDate": {
          "type": "string",
          "format": "date-time",
          "description": "The fulfillment date of the order."
        },
        "PaymentTerm": {
          "type": "string",
          "enum": [
            "THREE_YEARS",
            "ONE_YEAR",
            "FIVE_YEARS"
          ],
          "description": "The payment term."
        },
        "OrderType": {
          "type": "string",
          "enum": [
            "OUTPOST",
            "REPLACEMENT"
          ],
          "description": "The type of order."
        }
      }
    },
    "ShipmentInformation": {
      "type": "object",
      "properties": {
        "ShipmentTrackingNumber": {
          "type": "string",
          "description": "The tracking number of the shipment."
        },
        "ShipmentCarrier": {
          "type": "string",
          "enum": [
            "DHL",
            "DBS",
            "FEDEX",
            "UPS",
            "EXPEDITORS"
          ],
          "description": "The carrier of the shipment."
        }
      }
    }
  }
}