{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/sakura-internet/main/json-schema/sakura-internet-subnet-group-list-response-schema.json",
  "title": "SubnetGroupListResponse",
  "description": "成功時のレスポンス",
  "x-generated": "2026-10-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sakura-internet-networking-suite-openapi.yml#/components/schemas/SubnetGroupListResponse",
  "type": "object",
  "required": [
    "Total",
    "From",
    "Count",
    "SubnetGroups"
  ],
  "properties": {
    "Total": {
      "type": "integer",
      "format": "int32",
      "description": "対象リソースの総件数"
    },
    "From": {
      "type": "integer",
      "format": "int32",
      "description": "現在のページ番号"
    },
    "Count": {
      "type": "integer",
      "format": "int32",
      "description": "現在のページの件数"
    },
    "SubnetGroups": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ReadSubnetGroup"
      },
      "description": "サブネットグループ一覧"
    }
  },
  "$defs": {
    "ReadSubnetGroup": {
      "type": "object",
      "required": [
        "SRN",
        "Name",
        "Description",
        "IPv4AddressRangeCIDR",
        "Region"
      ],
      "properties": {
        "SRN": {
          "type": "string",
          "description": "さくらのリソース名 (SRN)"
        },
        "Name": {
          "type": "string",
          "description": "名前"
        },
        "Description": {
          "type": "string",
          "description": "説明"
        },
        "IPv4AddressRangeCIDR": {
          "type": "string",
          "description": "IPv4アドレス範囲 (CIDR形式)\n\n[マニュアル](https://manual.sakura.ad.jp/cloud/network/networking-suite/index.html)内「仕様」に記載の条件を満たすIPアドレス範囲をCIDR形式で表現します。"
        },
        "Region": {
          "$ref": "#/$defs/Region",
          "description": "リージョン"
        }
      }
    },
    "Region": {
      "type": "object",
      "required": [
        "Code"
      ],
      "properties": {
        "Code": {
          "type": "string",
          "description": "リージョンコード (\"is1\")"
        }
      }
    }
  }
}