{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/dynatrace/refs/heads/main/json-structure/account-management-api-group-collection-structure.json",
  "description": "A paginated collection of groups.",
  "type": "object",
  "properties": {
    "nextPageKey": {
      "type": "string",
      "description": "Cursor for the next page of results.",
      "nullable": true,
      "example": "example-value"
    },
    "totalCount": {
      "type": "int64",
      "description": "The total number of groups in the account.",
      "example": 500
    },
    "items": {
      "type": "array",
      "description": "The list of groups on this page.",
      "items": {
        "$ref": "#/components/schemas/Group"
      },
      "example": [
        {
          "groupId": "abc123",
          "name": "Production Service",
          "description": "Example description.",
          "owner": "example-value",
          "createdAt": "2025-03-15T14:30:00Z",
          "updatedAt": "2025-03-15T14:30:00Z"
        }
      ]
    }
  },
  "name": "GroupCollection"
}