{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/magic_lan-acl-configuration",
  "title": "magic_lan-acl-configuration",
  "properties": {
    "lan_id": {
      "description": "The identifier for the LAN you want to create an ACL policy with.",
      "type": "string"
    },
    "lan_name": {
      "description": "The name of the LAN based on the provided lan_id.",
      "type": "string"
    },
    "ports": {
      "description": "Array of ports on the provided LAN that will be included in the ACL. If no ports are provided, communication on any port on this LAN is allowed.",
      "items": {
        "$ref": "#/components/schemas/magic_port"
      },
      "type": "array"
    },
    "subnets": {
      "description": "Array of subnet IPs within the LAN that will be included in the ACL. If no subnets are provided, communication on any subnets on this LAN are allowed.",
      "items": {
        "$ref": "#/components/schemas/magic_acl-subnet"
      },
      "type": "array"
    }
  },
  "required": [
    "lan_id"
  ],
  "type": "object"
}