{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-route-53/json-schema/amazon-route-53-get-hosted-zone-response-schema.json",
  "title": "GetHostedZoneResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-route-53-hosted-zones-api-openapi.yml#/components/schemas/GetHostedZoneResponse",
  "type": "object",
  "properties": {
    "HostedZone": {
      "$ref": "#/$defs/HostedZone"
    },
    "DelegationSet": {
      "$ref": "#/$defs/DelegationSet"
    },
    "VPCs": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/VPC"
      },
      "description": "A complex type that contains information about the VPCs that are associated with the specified hosted zone."
    }
  },
  "required": [
    "HostedZone"
  ],
  "$defs": {
    "DelegationSet": {
      "type": "object",
      "properties": {
        "Id": {
          "type": "string",
          "description": "The ID that Amazon Route 53 assigns to a reusable delegation set."
        },
        "CallerReference": {
          "type": "string",
          "description": "The value that you specified for CallerReference when you created the reusable delegation set."
        },
        "NameServers": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A complex type that contains a list of the authoritative name servers for a hosted zone or for a reusable delegation set."
        }
      },
      "required": [
        "NameServers"
      ]
    },
    "HostedZone": {
      "type": "object",
      "properties": {
        "Id": {
          "type": "string",
          "description": "The ID that Amazon Route 53 assigned to the hosted zone when you created it."
        },
        "Name": {
          "type": "string",
          "description": "The name of the domain. For public hosted zones, this is the name that you have registered with your DNS registrar. For information about how to specify characters other than a-z, 0-9, and - (hyphen) and how to specify internationalized domain names, see CreateHostedZone."
        },
        "CallerReference": {
          "type": "string",
          "description": "The value that you specified for CallerReference when you created the hosted zone."
        },
        "Config": {
          "$ref": "#/$defs/HostedZoneConfig"
        },
        "ResourceRecordSetCount": {
          "type": "integer",
          "description": "The number of resource record sets in the hosted zone."
        },
        "LinkedService": {
          "$ref": "#/$defs/LinkedService"
        },
        "Features": {
          "$ref": "#/$defs/HostedZoneFeatures"
        }
      },
      "required": [
        "Id",
        "Name",
        "CallerReference"
      ]
    },
    "HostedZoneConfig": {
      "type": "object",
      "properties": {
        "Comment": {
          "type": "string",
          "description": "Any comments that you want to include about the hosted zone."
        },
        "PrivateZone": {
          "type": "boolean",
          "description": "A value that indicates whether this is a private hosted zone."
        }
      }
    },
    "HostedZoneFailureReasons": {
      "type": "object",
      "properties": {
        "AcceleratedRecovery": {
          "type": "string",
          "description": "The reason why accelerated recovery failed to be enabled or disabled for the hosted zone, if applicable."
        }
      }
    },
    "HostedZoneFeatures": {
      "type": "object",
      "properties": {
        "AcceleratedRecoveryStatus": {
          "type": "string",
          "enum": [
            "ENABLING",
            "ENABLE_FAILED",
            "ENABLING_HOSTED_ZONE_LOCKED",
            "ENABLED",
            "DISABLING",
            "DISABLE_FAILED",
            "DISABLED",
            "DISABLING_HOSTED_ZONE_LOCKED"
          ],
          "description": "The current status of accelerated recovery for the hosted zone."
        },
        "FailureReasons": {
          "$ref": "#/$defs/HostedZoneFailureReasons"
        }
      }
    },
    "LinkedService": {
      "type": "object",
      "properties": {
        "ServicePrincipal": {
          "type": "string",
          "description": "If the health check or hosted zone was created by another service, the service that created the resource. When a resource is created by another service, you can't edit or delete it using Amazon Route 53."
        },
        "Description": {
          "type": "string",
          "description": "If the health check or hosted zone was created by another service, an optional description that can be provided by the other service. When a resource is created by another service, you can't edit or delete it using Amazon Route 53."
        }
      }
    },
    "VPC": {
      "type": "object",
      "properties": {
        "VPCRegion": {
          "type": "string",
          "enum": [
            "us-east-1",
            "us-east-2",
            "us-west-1",
            "us-west-2",
            "eu-west-1",
            "eu-west-2",
            "eu-west-3",
            "eu-central-1",
            "eu-central-2",
            "ap-east-1",
            "me-south-1",
            "us-gov-west-1",
            "us-gov-east-1",
            "us-iso-east-1",
            "us-iso-west-1",
            "us-isob-east-1",
            "me-central-1",
            "ap-southeast-1",
            "ap-southeast-2",
            "ap-southeast-3",
            "ap-south-1",
            "ap-south-2",
            "ap-northeast-1",
            "ap-northeast-2",
            "ap-northeast-3",
            "eu-north-1",
            "sa-east-1",
            "ca-central-1",
            "cn-north-1",
            "cn-northwest-1",
            "af-south-1",
            "eu-south-1",
            "eu-south-2",
            "ap-southeast-4",
            "il-central-1",
            "ca-west-1",
            "ap-southeast-5",
            "mx-central-1",
            "us-isof-south-1",
            "us-isof-east-1",
            "ap-southeast-7",
            "ap-east-2",
            "eu-isoe-west-1",
            "ap-southeast-6",
            "us-isob-west-1",
            "eusc-de-east-1"
          ],
          "description": "(Private hosted zones only) The region that an Amazon VPC was created in."
        },
        "VPCId": {
          "type": "string"
        }
      }
    }
  }
}