{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/main/json-schema/palo-alto-networks-remote-network-request-schema.json",
  "title": "RemoteNetworkRequest",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/palo-alto-networks-remote-networks-api-openapi.yml#/components/schemas/RemoteNetworkRequest",
  "type": "object",
  "required": [
    "name",
    "location",
    "subnets",
    "ike_gateway"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Display name for the remote network."
    },
    "description": {
      "type": "string",
      "description": "Optional description."
    },
    "location": {
      "type": "string",
      "description": "Prisma Access gateway location name."
    },
    "subnets": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Network subnets at the remote site in CIDR notation."
    },
    "ike_gateway": {
      "$ref": "#/$defs/IKEGatewayConfig"
    },
    "bandwidth_mbps": {
      "type": "integer",
      "description": "Requested bandwidth allocation in Mbps."
    }
  },
  "$defs": {
    "IKEGatewayConfig": {
      "type": "object",
      "required": [
        "peer_ip"
      ],
      "properties": {
        "peer_ip": {
          "type": "string",
          "description": "Public IP address of the remote peer gateway."
        },
        "peer_id": {
          "type": "string",
          "description": "IKE peer identity. Defaults to the peer IP if omitted."
        },
        "ike_version": {
          "type": "string",
          "enum": [
            "IKEv1",
            "IKEv2"
          ],
          "default": "IKEv2"
        },
        "authentication_type": {
          "type": "string",
          "enum": [
            "pre-shared-key",
            "certificate"
          ],
          "default": "pre-shared-key"
        },
        "pre_shared_key": {
          "type": "string",
          "description": "Pre-shared key for IKE authentication.",
          "writeOnly": true
        }
      }
    }
  }
}