{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "RemoteNetwork",
  "description": "RemoteNetwork schema from Palo Alto Networks Prisma Access Configuration API",
  "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/json-schema/prisma-access-api-remote-network-schema.json",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the remote network.",
      "readOnly": true
    },
    "name": {
      "type": "string",
      "description": "Name of the remote network."
    },
    "region": {
      "type": "string",
      "description": "Prisma Access compute region (e.g., us-east-1, eu-west-1)."
    },
    "license_type": {
      "type": "string",
      "enum": [
        "FWAAS-AGGREGATE",
        "FWAAS-BYOL"
      ],
      "description": "License type assigned to this remote network."
    },
    "spn_name": {
      "type": "string",
      "description": "Service provider node name for the Prisma Access gateway location."
    },
    "ecmp_load_balancing": {
      "type": "string",
      "enum": [
        "enable",
        "disable"
      ],
      "description": "Enable or disable ECMP load balancing."
    },
    "subnets": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Local subnets at the remote network site."
    },
    "folder": {
      "type": "string",
      "description": "Folder containing this remote network.",
      "readOnly": true
    }
  },
  "required": [
    "name",
    "region"
  ]
}
