{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/json-structure/ztna-connector-api-fqdn-rule-request-structure.json",
  "name": "FQDNRuleRequest",
  "description": "FQDNRuleRequest schema from Palo Alto Networks ZTNA Connector API",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Display name for the FQDN rule."
    },
    "fqdn_pattern": {
      "type": "string",
      "description": "FQDN pattern or wildcard this rule matches."
    },
    "group_id": {
      "type": "string",
      "description": "Connector group to use for matching FQDNs."
    },
    "ports": {
      "type": "array",
      "description": "Ports covered by this rule.",
      "items": {
        "type": "int32"
      }
    },
    "enabled": {
      "type": "boolean",
      "default": true
    }
  },
  "required": [
    "name",
    "fqdn_pattern",
    "group_id"
  ]
}
