{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-outposts/json-schema/amazon-outposts-create-quote-input-schema.json",
  "title": "CreateQuoteInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-outposts-quotes-api-openapi.yml#/components/schemas/CreateQuoteInput",
  "type": "object",
  "properties": {
    "OutpostIdentifier": {
      "type": "string",
      "description": "The ID or ARN of the Outpost to associate with the quote. If not specified, the quote is created without an Outpost association."
    },
    "CountryCode": {
      "type": "string",
      "description": "The country code for the Outpost site location."
    },
    "RequestedCapacities": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/QuoteCapacity"
      },
      "description": "The capacity requirements for the quote. Each entry specifies a capacity type (such as Amazon EC2), the unit, and the quantity. For Amazon EC2, the quantity is the number of additional instances to add to the Outpost. For Amazon EBS and Amazon S3, the quantity is the total desired end-state capacity of the Outpost."
    },
    "RequestedConstraints": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/QuoteConstraint"
      },
      "description": "The physical constraints for the quote, such as maximum number of racks, maximum power draw per rack, or maximum weight per rack."
    },
    "RequestedPaymentOptions": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "ALL_UPFRONT",
          "NO_UPFRONT",
          "PARTIAL_UPFRONT"
        ]
      },
      "description": "The payment options to include in the quote pricing. If not specified, all available payment options are returned."
    },
    "RequestedPaymentTerms": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "THREE_YEARS",
          "ONE_YEAR",
          "FIVE_YEARS"
        ]
      },
      "description": "The payment terms to include in the quote pricing. If not specified, all available payment terms are returned."
    },
    "Description": {
      "type": "string",
      "description": "A description for the quote."
    }
  },
  "required": [
    "CountryCode",
    "RequestedCapacities"
  ],
  "$defs": {
    "QuoteCapacity": {
      "type": "object",
      "properties": {
        "QuoteCapacityType": {
          "type": "string",
          "enum": [
            "EC2",
            "EBS",
            "S3"
          ],
          "description": "The type of capacity. Valid values are EC2, EBS, and S3."
        },
        "Unit": {
          "type": "string",
          "description": "The unit of measurement for the capacity. For Amazon EC2, this is the instance type (for example, c5.24xlarge). For Amazon EBS and Amazon S3, this is the storage unit (for example, TiB for tebibytes)."
        },
        "Quantity": {
          "type": "number",
          "description": "The quantity of the specified capacity unit. For Amazon EC2, this is the number of additional instances to add to the Outpost. For Amazon EBS and Amazon S3, this is the total desired end-state capacity of the Outpost."
        }
      }
    },
    "QuoteConstraint": {
      "type": "object",
      "properties": {
        "QuoteConstraintType": {
          "type": "string",
          "enum": [
            "RACK_MAXIMUM",
            "RACK_MAX_POWER_KVA",
            "RACK_MAX_WEIGHT_LBS",
            "RACK_SPACE_CONSTRAINED"
          ],
          "description": "The type of constraint. Valid values are RACK_MAXIMUM, RACK_MAX_POWER_KVA, RACK_MAX_WEIGHT_LBS, and RACK_SPACE_CONSTRAINED."
        },
        "Value": {
          "type": "string",
          "description": "The value of the constraint."
        }
      }
    }
  }
}