{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-route-53/json-schema/amazon-route-53-list-traffic-policies-response-schema.json",
  "title": "ListTrafficPoliciesResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-route-53-trafficpolicy-api-openapi.yml#/components/schemas/ListTrafficPoliciesResponse",
  "type": "object",
  "properties": {
    "TrafficPolicySummaries": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/TrafficPolicySummary"
      },
      "description": "A list that contains one TrafficPolicySummary element for each traffic policy that was created by the current Amazon Web Services account."
    },
    "IsTruncated": {
      "type": "boolean",
      "description": "A flag that indicates whether there are more traffic policies to be listed. If the response was truncated, you can get the next group of traffic policies by submitting another ListTrafficPolicies request and specifying the value of TrafficPolicyIdMarker in the TrafficPolicyIdMarker request parameter."
    },
    "TrafficPolicyIdMarker": {
      "type": "string",
      "description": "If the value of IsTruncated is true, TrafficPolicyIdMarker is the ID of the first traffic policy in the next group of MaxItems traffic policies."
    },
    "MaxItems": {
      "type": "integer",
      "description": "The value that you specified for the MaxItems parameter in the ListTrafficPolicies request that produced the current response."
    }
  },
  "required": [
    "TrafficPolicySummaries",
    "IsTruncated",
    "TrafficPolicyIdMarker",
    "MaxItems"
  ],
  "$defs": {
    "TrafficPolicySummary": {
      "type": "object",
      "properties": {
        "Id": {
          "type": "string",
          "description": "The ID that Amazon Route 53 assigned to the traffic policy when you created it."
        },
        "Name": {
          "type": "string",
          "description": "The name that you specified for the traffic policy when you created it."
        },
        "Type": {
          "type": "string",
          "enum": [
            "SOA",
            "A",
            "TXT",
            "NS",
            "CNAME",
            "MX",
            "NAPTR",
            "PTR",
            "SRV",
            "SPF",
            "AAAA",
            "CAA",
            "DS",
            "TLSA",
            "SSHFP",
            "SVCB",
            "HTTPS"
          ],
          "description": "The DNS type of the resource record sets that Amazon Route 53 creates when you use a traffic policy to create a traffic policy instance."
        },
        "LatestVersion": {
          "type": "integer",
          "description": "The version number of the latest version of the traffic policy."
        },
        "TrafficPolicyCount": {
          "type": "integer",
          "description": "The number of traffic policies that are associated with the current Amazon Web Services account."
        }
      },
      "required": [
        "Id",
        "Name",
        "Type",
        "LatestVersion",
        "TrafficPolicyCount"
      ]
    }
  }
}