{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/power-bi/json-schema/power-bi-group-user-schema.json",
  "title": "GroupUser",
  "description": "A user in a Power BI workspace",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/power-bi-groups-api-openapi.yml#/components/schemas/GroupUser",
  "type": "object",
  "required": [
    "emailAddress",
    "groupUserAccessRight"
  ],
  "properties": {
    "emailAddress": {
      "type": "string",
      "format": "email",
      "description": "The email address of the user"
    },
    "displayName": {
      "type": "string",
      "description": "The display name of the user"
    },
    "identifier": {
      "type": "string",
      "description": "The object ID of the user"
    },
    "graphId": {
      "type": "string",
      "description": "The Microsoft Graph ID of the user"
    },
    "groupUserAccessRight": {
      "type": "string",
      "description": "The access right of the user in the workspace",
      "enum": [
        "Admin",
        "Member",
        "Contributor",
        "Viewer"
      ]
    },
    "principalType": {
      "type": "string",
      "description": "The principal type",
      "enum": [
        "User",
        "Group",
        "App"
      ]
    }
  }
}