{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "AddressGroupList",
  "description": "AddressGroupList 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-address-group-list-schema.json",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "description": "A group of address objects. Can be static with an explicit member list or dynamic with a tag-based filter expression.",
        "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"
            }
          }
        }
      }
    },
    "offset": {
      "type": "integer"
    },
    "total": {
      "type": "integer"
    },
    "limit": {
      "type": "integer"
    }
  }
}
