Palo Alto Networks · Schema

Service

A service object defining a TCP or UDP protocol with destination port or port range.

Cloud SecurityCybersecurityFirewallNetwork SecuritySASESOARThreat IntelligenceXDR

Properties

Name Type Description
@name string Unique name of the service object.
protocol object
description string
tag object
View JSON Schema on GitHub

JSON Schema

pan-os-rest-api-service-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Service",
  "description": "A service object defining a TCP or UDP protocol with destination port or port range.",
  "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/json-schema/pan-os-rest-api-service-schema.json",
  "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"
          }
        }
      }
    }
  }
}