{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-route-53/json-schema/amazon-route-53-list-hosted-zones-by-name-response-schema.json",
  "title": "ListHostedZonesByNameResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-route-53-operations-api-openapi.yml#/components/schemas/ListHostedZonesByNameResponse",
  "type": "object",
  "properties": {
    "HostedZones": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/HostedZone"
      },
      "description": "A complex type that contains general information about the hosted zone."
    },
    "DNSName": {
      "type": "string",
      "description": "For the second and subsequent calls to ListHostedZonesByName, DNSName is the value that you specified for the dnsname parameter in the request that produced the current response."
    },
    "HostedZoneId": {
      "type": "string",
      "description": "The ID that Amazon Route 53 assigned to the hosted zone when you created it."
    },
    "IsTruncated": {
      "type": "boolean",
      "description": "A flag that indicates whether there are more hosted zones to be listed. If the response was truncated, you can get the next group of maxitems hosted zones by calling ListHostedZonesByName again and specifying the values of NextDNSName and NextHostedZoneId elements in the dnsname and hostedzoneid parameters."
    },
    "NextDNSName": {
      "type": "string",
      "description": "If IsTruncated is true, the value of NextDNSName is the name of the first hosted zone in the next group of maxitems hosted zones. Call ListHostedZonesByName again and specify the value of NextDNSName and NextHostedZoneId in the dnsname and hostedzoneid parameters, respectively. This element is present only if IsTruncated is true."
    },
    "NextHostedZoneId": {
      "type": "string",
      "description": "If IsTruncated is true, the value of NextHostedZoneId identifies the first hosted zone in the next group of maxitems hosted zones. Call ListHostedZonesByName again and specify the value of NextDNSName and NextHostedZoneId in the dnsname and hostedzoneid parameters, respectively. This element is present only if IsTruncated is true."
    },
    "MaxItems": {
      "type": "integer",
      "description": "The value that you specified for the maxitems parameter in the call to ListHostedZonesByName that produced the current response."
    }
  },
  "required": [
    "HostedZones",
    "IsTruncated",
    "MaxItems"
  ],
  "$defs": {
    "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."
        }
      }
    }
  }
}