{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aws-api-gateway/json-schema/aws-api-gateway-export-api-request-schema.json",
  "title": "ExportApiRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aws-api-gateway-operations-api-openapi.yml#/components/schemas/ExportApiRequest",
  "type": "object",
  "properties": {
    "ApiId": {
      "type": "string",
      "description": "The API identifier."
    },
    "ExportVersion": {
      "type": "string",
      "description": "The version of the API Gateway export algorithm. API Gateway uses the latest version by default. Currently, the only supported version is 1.0."
    },
    "IncludeExtensions": {
      "type": "boolean",
      "description": "Specifies whether to include API Gateway extensions in the exported API definition. API Gateway extensions are included by default."
    },
    "OutputType": {
      "type": "string",
      "description": "The output type of the exported definition file. Valid values are JSON and YAML."
    },
    "Specification": {
      "type": "string",
      "description": "The version of the API specification to use. OAS30, for OpenAPI 3.0, is the only supported value."
    },
    "StageName": {
      "type": "string",
      "description": "The name of the API stage to export. If you don't specify this property, a representation of the latest API configuration is exported."
    }
  },
  "required": [
    "ApiId",
    "OutputType",
    "Specification"
  ]
}