{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/json-structure/pan-os-rest-api-service-structure.json", "name": "Service", "description": "A service object defining a TCP or UDP protocol with destination port or port range.", "type": "object", "properties": { "@name": { "type": "string", "description": "Unique name of the service object." }, "protocol": { "type": "object", "properties": { "tcp": { "type": "object", "properties": { "port": { "type": "string", "description": "TCP destination port or range (e.g., 80, 8080-8090)." }, "source-port": { "type": "string", "description": "TCP source port or range." } } }, "udp": { "type": "object", "properties": { "port": { "type": "string", "description": "UDP destination port or range (e.g., 53, 500-502)." }, "source-port": { "type": "string", "description": "UDP source port or range." } } } } }, "description": { "type": "string" }, "tag": { "type": "object", "properties": { "member": { "type": "array", "items": { "type": "string" } } } } } }