{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/dynatrace/main/json-schema/dynatrace-group-list-dto-schema.json",
  "title": "GroupListDto",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dynatrace-group-management-api-openapi.yml#/components/schemas/GroupListDto",
  "type": "object",
  "properties": {
    "count": {
      "type": "number",
      "description": "The number of entries in the list."
    },
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/GetGroupDto"
      }
    }
  },
  "required": [
    "count",
    "items"
  ],
  "$defs": {
    "GetGroupDto": {
      "type": "object",
      "properties": {
        "uuid": {
          "type": "string",
          "description": "The UUID of the user group."
        },
        "name": {
          "type": "string",
          "description": "The name of the user group."
        },
        "description": {
          "type": "string",
          "description": "A short description of the user group."
        },
        "federatedAttributeValues": {
          "description": "A list of values associating this group with the corresponding claim from an identity provider.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "owner": {
          "type": "string",
          "enum": [
            "LOCAL",
            "SCIM",
            "SAML",
            "DCS",
            "ALL_USERS"
          ],
          "description": "The type of the group. `LOCAL`, `SCIM`, `SAML` and `DCS` corresponds to the identity provider from which the group originates. `ALL_USERS` is a special case of `LOCAL` group. It means that group is always assigned to all users in the account."
        },
        "createdAt": {
          "type": "string",
          "description": "The date and time of the group creation in `2021-05-01T15:11:00Z` format."
        },
        "updatedAt": {
          "type": "string",
          "description": "The date and time of the most recent group modification in `2021-05-01T15:11:00Z` format."
        }
      },
      "required": [
        "name",
        "owner",
        "createdAt",
        "updatedAt"
      ]
    }
  }
}