{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-memorydb/json-schema/amazon-memorydb-create-subnet-group-response-schema.json",
  "title": "CreateSubnetGroupResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-memorydb-subnet-groups-api-openapi.yml#/components/schemas/CreateSubnetGroupResponse",
  "type": "object",
  "properties": {
    "SubnetGroup": {
      "$ref": "#/$defs/SubnetGroup"
    }
  },
  "$defs": {
    "AvailabilityZone": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "The name of the Availability Zone."
        }
      }
    },
    "Subnet": {
      "type": "object",
      "properties": {
        "Identifier": {
          "type": "string",
          "description": "The unique identifier for the subnet."
        },
        "AvailabilityZone": {
          "$ref": "#/$defs/AvailabilityZone"
        },
        "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": {
        "Name": {
          "type": "string",
          "description": "The name of the subnet group"
        },
        "Description": {
          "type": "string",
          "description": "A 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."
        },
        "ARN": {
          "type": "string",
          "description": "The ARN (Amazon Resource Name) of the subnet group."
        },
        "SupportedNetworkTypes": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "ipv4",
              "ipv6",
              "dual_stack"
            ]
          },
          "description": "The network types supported by this subnet group. Returns an array of strings that can include 'ipv4', 'ipv6', or both, indicating the IP address types that can be used for clusters deployed in this subnet group."
        }
      }
    }
  }
}