{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-dynamodb/json-schema/amazon-dynamodb-describe-subnet-groups-response-schema.json",
  "title": "DescribeSubnetGroupsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-dynamodb-subnet-group-api-openapi.yml#/components/schemas/DescribeSubnetGroupsResponse",
  "type": "object",
  "properties": {
    "NextToken": {
      "type": "string",
      "description": "Provides an identifier to allow retrieval of paginated results."
    },
    "SubnetGroups": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SubnetGroup"
      },
      "description": "An array of subnet groups. Each element in the array represents a single subnet group."
    }
  },
  "$defs": {
    "Subnet": {
      "type": "object",
      "properties": {
        "SubnetIdentifier": {
          "type": "string",
          "description": "The system-assigned identifier for the subnet."
        },
        "SubnetAvailabilityZone": {
          "type": "string",
          "description": "The Availability Zone (AZ) for the subnet."
        },
        "SupportedNetworkTypes": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "ipv4",
              "ipv6",
              "dual_stack"
            ]
          },
          "description": "The network types supported by this subnet. Returns an array of strings that can include ipv4, ipv6, or both, indicating whether the subnet supports IPv4 only, IPv6 only, or dual-stack deployments."
        }
      }
    },
    "SubnetGroup": {
      "type": "object",
      "properties": {
        "SubnetGroupName": {
          "type": "string",
          "description": "The name of the subnet group."
        },
        "Description": {
          "type": "string",
          "description": "The description of the subnet group."
        },
        "VpcId": {
          "type": "string",
          "description": "The Amazon Virtual Private Cloud identifier (VPC ID) of the subnet group."
        },
        "Subnets": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Subnet"
          },
          "description": "A list of subnets associated with the subnet group."
        },
        "SupportedNetworkTypes": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "ipv4",
              "ipv6",
              "dual_stack"
            ]
          },
          "description": "The network types supported by this subnet. Returns an array of strings that can include ipv4, ipv6, or both, indicating whether the subnet group supports IPv4 only, IPv6 only, or dual-stack deployments."
        }
      }
    }
  }
}