{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-outposts/json-schema/amazon-outposts-get-outpost-billing-information-output-schema.json",
  "title": "GetOutpostBillingInformationOutput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-outposts-operations-api-openapi.yml#/components/schemas/GetOutpostBillingInformationOutput",
  "type": "object",
  "properties": {
    "NextToken": {
      "type": "string"
    },
    "Subscriptions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Subscription"
      },
      "description": "The subscription details for the specified Outpost."
    },
    "ContractEndDate": {
      "type": "string",
      "description": "The date the current contract term ends for the specified Outpost. You must start the renewal or decommission process at least 5 business days before the current term for your Amazon Web Services Outposts ends. Failing to complete these steps at least 5 business days before the current term ends might result in unanticipated charges."
    },
    "PaymentTerm": {
      "type": "string",
      "enum": [
        "THREE_YEARS",
        "ONE_YEAR",
        "FIVE_YEARS"
      ],
      "description": "The payment term."
    },
    "PaymentOption": {
      "type": "string",
      "enum": [
        "ALL_UPFRONT",
        "NO_UPFRONT",
        "PARTIAL_UPFRONT"
      ],
      "description": "The payment option."
    }
  },
  "$defs": {
    "Subscription": {
      "type": "object",
      "properties": {
        "SubscriptionId": {
          "type": "string",
          "description": "The ID of the subscription that appears on the Amazon Web Services Billing Center console."
        },
        "SubscriptionType": {
          "type": "string",
          "enum": [
            "ORIGINAL",
            "RENEWAL",
            "CAPACITY_INCREASE"
          ],
          "description": "The type of subscription which can be one of the following: ORIGINAL - The first order on the Amazon Web Services Outposts. RENEWAL - Renewal requests, both month to month and longer term. CAPACITY_INCREASE - Capacity scaling orders."
        },
        "SubscriptionStatus": {
          "type": "string",
          "enum": [
            "ACTIVE",
            "PENDING",
            "INACTIVE",
            "CANCELLED"
          ],
          "description": "The status of subscription which can be one of the following: INACTIVE - Subscription requests that are inactive. ACTIVE - Subscription requests that are in progress and have an end date in the future. PENDING - Subscription has been created but billing has not yet commenced because the subscription begin date has not been reached. CANCELLED - Subscription requests that are cancelled."
        },
        "OrderIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The order ID for your subscription."
        },
        "BeginDate": {
          "type": "string",
          "format": "date-time",
          "description": "The date your subscription starts."
        },
        "EndDate": {
          "type": "string",
          "format": "date-time",
          "description": "The date your subscription ends."
        },
        "Currency": {
          "type": "string",
          "enum": [
            "USD"
          ],
          "description": "The currency of the subscription price. Currently only USD is supported."
        },
        "MonthlyRecurringPrice": {
          "type": "number",
          "description": "The amount you are billed each month in the subscription period."
        },
        "UpfrontPrice": {
          "type": "number",
          "description": "The amount billed when the subscription is created. This is a one-time charge."
        }
      }
    }
  }
}