{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/dynatrace/main/json-schema/dynatrace-group-user-list-dto-schema.json",
  "title": "GroupUserListDto",
  "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/GroupUserListDto",
  "type": "object",
  "properties": {
    "count": {
      "type": "number",
      "description": "The number of entries in the list."
    },
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/UserDto"
      }
    }
  },
  "required": [
    "count",
    "items"
  ],
  "$defs": {
    "UserDto": {
      "type": "object",
      "properties": {
        "uid": {
          "type": "string",
          "description": "The UUID of the user."
        },
        "email": {
          "type": "string",
          "description": "The email address of the user."
        },
        "name": {
          "type": "string",
          "description": "The first name of the user."
        },
        "surname": {
          "type": "string",
          "description": "The last name of the user."
        },
        "userStatus": {
          "type": "string",
          "enum": [
            "ACTIVE",
            "INACTIVE",
            "PENDING",
            "DELETED",
            "ECUSTOMS_MANUALLY_BLOCKED"
          ],
          "description": "The status of this user in Dynatrace: \n\n* `ACTIVE`: The user is active.\n* `INACTIVE`: The user is deactivated and cannot sign in to Dynatrace. \n* `PENDING`: The user received an invitation, but hasn't completed sign-up yet. \n* `DELETED`: The user was deleted and cannot sign in to Dynatrace anymore. \n* `ECUSTOMS_MANUALLY_BLOCKED`: The user is blocked due to to a trade and export compliance violation. \n"
        },
        "emergencyContact": {
          "type": "boolean",
          "description": "The user is (`true`) or is not (`false`) an emergency contact for the account."
        }
      },
      "required": [
        "uid",
        "email"
      ]
    }
  }
}