{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "AddressGroup",
  "description": "A group of address objects. Can be static with an explicit member list or dynamic with a tag-based filter expression.",
  "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/json-schema/strata-cloud-manager-api-address-group-schema.json",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "readOnly": true
    },
    "name": {
      "type": "string"
    },
    "folder": {
      "type": "string",
      "readOnly": true
    },
    "static": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "List of address object names for static groups."
    },
    "dynamic": {
      "type": "object",
      "properties": {
        "filter": {
          "type": "string",
          "description": "Tag-based filter expression (e.g., \"'web-servers' and 'production'\")."
        }
      }
    },
    "description": {
      "type": "string"
    },
    "tag": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  }
}
