{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.security.userAccount",
  "title": "userAccount",
  "required": [
    "@odata.type"
  ],
  "type": "object",
  "properties": {
    "accountName": {
      "type": "string",
      "description": "The displayed name of the user account.",
      "nullable": true
    },
    "activeDirectoryObjectGuid": {
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      "type": "string",
      "description": "The unique user identifier assigned by the on-premises Active Directory.",
      "format": "uuid",
      "nullable": true
    },
    "azureAdUserId": {
      "type": "string",
      "description": "The user object identifier in Microsoft Entra ID.",
      "nullable": true
    },
    "displayName": {
      "type": "string",
      "description": "The user display name in Microsoft Entra ID.",
      "nullable": true
    },
    "domainName": {
      "type": "string",
      "description": "The name of the Active Directory domain of which the user is a member.",
      "nullable": true
    },
    "resourceAccessEvents": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/microsoft.graph.security.resourceAccessEvent"
      },
      "description": "Information on resource access attempts made by the user account."
    },
    "userPrincipalName": {
      "type": "string",
      "description": "The user principal name of the account in Microsoft Entra ID.",
      "nullable": true
    },
    "userSid": {
      "type": "string",
      "description": "The local security identifier of the user account.",
      "nullable": true
    },
    "@odata.type": {
      "type": "string"
    }
  }
}