{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "LANNetwork",
  "description": "LANNetwork schema from Palo Alto Networks Prisma SD-WAN API",
  "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/json-schema/prisma-sd-wan-api-lan-network-schema.json",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the LAN network.",
      "readOnly": true
    },
    "name": {
      "type": "string",
      "description": "Name of the LAN network."
    },
    "description": {
      "type": "string"
    },
    "network": {
      "type": "string",
      "description": "Subnet CIDR for the LAN network (e.g., 192.168.1.0/24)."
    },
    "vlan_id": {
      "type": "integer",
      "minimum": 1,
      "maximum": 4094,
      "description": "VLAN identifier for this LAN network."
    },
    "dhcp_enabled": {
      "type": "boolean",
      "default": false,
      "description": "Whether the ION device serves DHCP for this network."
    },
    "site_id": {
      "type": "string",
      "readOnly": true
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    }
  },
  "required": [
    "name",
    "network"
  ]
}
