{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/ubicloud/main/json-schema/ubicloud-firewall-rule-update-schema.json", "title": "FirewallRuleUpdate", "x-generated": "2026-10-09", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/ubicloud-openapi.yml#/components/schemas/FirewallRuleUpdate", "anyOf": [ { "type": "object", "properties": { "cidr": { "description": "CIDR of the firewall rule", "type": "string" }, "port_range": { "description": "Port range of the firewall rule", "type": "string" }, "protocol": { "description": "Protocol of the firewall rule (tcp or udp)", "type": "string" }, "description": { "description": "Description of the firewall rule", "type": "string" } }, "additionalProperties": false, "required": [ "cidr" ] }, { "type": "object", "properties": { "port_range": { "description": "Port range of the firewall rule", "type": "string" }, "protocol": { "description": "Protocol of the firewall rule (tcp or udp)", "type": "string" }, "description": { "description": "Description of the firewall rule", "type": "string" } }, "additionalProperties": false, "required": [ "port_range" ] }, { "type": "object", "properties": { "protocol": { "description": "Protocol of the firewall rule (tcp or udp)", "type": "string" }, "description": { "description": "Description of the firewall rule", "type": "string" } }, "additionalProperties": false, "required": [ "protocol" ] }, { "type": "object", "properties": { "description": { "description": "Description of the firewall rule", "type": "string" } }, "additionalProperties": false, "required": [ "description" ] } ] }