{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/sakura-internet/main/json-schema/sakura-internet-create-interface-connection-schema.json",
  "title": "CreateInterfaceConnection",
  "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/CreateInterfaceConnection",
  "type": "object",
  "required": [
    "Interface",
    "Subnet"
  ],
  "properties": {
    "EphemeralIPv4Address": {
      "type": "string",
      "description": "IPv4アドレス"
    },
    "Interface": {
      "$ref": "#/$defs/SakuraResourceNameRef",
      "description": "サーバーNIC (インターフェース)"
    },
    "Subnet": {
      "$ref": "#/$defs/SakuraResourceNameRef",
      "description": "サブネット"
    }
  },
  "$defs": {
    "SakuraResourceNameRef": {
      "type": "object",
      "required": [
        "SRN"
      ],
      "properties": {
        "SRN": {
          "type": "string",
          "description": "さくらのリソース名 (SRN)"
        }
      }
    }
  }
}