{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.auditActivityInitiator",
  "title": "auditActivityInitiator",
  "required": [
    "@odata.type"
  ],
  "type": "object",
  "properties": {
    "app": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/microsoft.graph.appIdentity"
        },
        {
          "type": "object",
          "nullable": true
        }
      ],
      "description": "If the resource initiating the activity is an app, this property indicates all the app related information like appId and name."
    },
    "user": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/microsoft.graph.userIdentity"
        },
        {
          "type": "object",
          "nullable": true
        }
      ],
      "description": "If the resource initiating the activity is a user, this property Indicates all the user related information like user ID and userPrincipalName."
    },
    "@odata.type": {
      "type": "string"
    }
  }
}