{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/sakura-internet/main/json-schema/sakura-internet-subnet-list-response-schema.json", "title": "SubnetListResponse", "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/SubnetListResponse", "type": "object", "required": [ "Total", "From", "Count", "Subnets" ], "properties": { "Total": { "type": "integer", "format": "int32", "description": "対象リソースの総件数" }, "From": { "type": "integer", "format": "int32", "description": "現在のページ番号" }, "Count": { "type": "integer", "format": "int32", "description": "現在のページの件数" }, "Subnets": { "type": "array", "items": { "$ref": "#/$defs/ReadSubnet" }, "description": "サブネット一覧" } }, "$defs": { "ReadSubnet": { "type": "object", "required": [ "SRN", "Name", "Description", "IPv4AddressRangeCIDR", "Zone", "SubnetGroup" ], "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形式で表現します。\nIPv4アドレス範囲は、親サブネットグループのIPv4アドレス範囲に含まれ、かつ、同一親サブネットグループ下の他サブネットと重複しない範囲である必要があります。" }, "Zone": { "$ref": "#/$defs/Zone", "description": "ゾーン" }, "SubnetGroup": { "$ref": "#/$defs/SakuraResourceNameRef", "description": "親サブネットグループ" } } }, "SakuraResourceNameRef": { "type": "object", "required": [ "SRN" ], "properties": { "SRN": { "type": "string", "description": "さくらのリソース名 (SRN)" } } }, "Zone": { "type": "object", "required": [ "Code" ], "properties": { "Code": { "type": "string", "description": "ゾーンコード (\"is1c\")" } } } } }