{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/appneta/json-schema/appneta-put-access-control-acl-request-schema.json",
  "title": "PutAccessControlAclRequest",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/appneta-openapi-generated.yml#/components/schemas/PutAccessControlAclRequest",
  "type": "object",
  "properties": {
    "network_acl": {
      "type": "array",
      "description": "Array of ACL rules to add, edit, or delete"
    },
    "action": {
      "type": "string",
      "description": "Action to perform: 'permit' to add or edit, 'deny' to delete content or entire rule"
    },
    "protocol": {
      "type": "string",
      "description": "Protocol type: 'tcp' or 'udp'"
    },
    "from_port": {
      "type": "integer",
      "description": "Beginning of the port range"
    },
    "to_port": {
      "type": "integer",
      "description": "End of the port range"
    },
    "source_addresses": {
      "type": "array",
      "description": "Optional list of source IPv4/IPv6 addresses or networks to restrict inbound traffic"
    },
    "interfaces": {
      "type": "array",
      "description": "Optional list of interfaces to restrict inbound traffic to"
    },
    "interface_and_source_addresses": {
      "type": "array",
      "description": "Optional list of interfaces and associated source addresses to restrict inbound traffic"
    }
  },
  "required": [
    "network_acl",
    "action",
    "protocol",
    "from_port",
    "to_port"
  ]
}