{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "ServiceRequest",
  "description": "ServiceRequest schema from Palo Alto Networks Strata Cloud Manager API",
  "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/json-schema/strata-cloud-manager-api-service-request-schema.json",
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "protocol": {
      "type": "object",
      "properties": {
        "tcp": {
          "type": "object",
          "properties": {
            "port": {
              "type": "string"
            },
            "source_port": {
              "type": "string"
            }
          }
        },
        "udp": {
          "type": "object",
          "properties": {
            "port": {
              "type": "string"
            },
            "source_port": {
              "type": "string"
            }
          }
        }
      }
    },
    "description": {
      "type": "string"
    },
    "tag": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "name",
    "protocol"
  ]
}
