{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/microsoft.graph.userActivity", "title": "microsoft.graph.userActivity", "allOf": [ { "$ref": "#/components/schemas/microsoft.graph.entity" }, { "title": "userActivity", "required": [ "@odata.type" ], "type": "object", "properties": { "activationUrl": { "type": "string", "description": "Required. URL used to launch the activity in the best native experience represented by the appId. Might launch a web-based app if no native app exists." }, "activitySourceHost": { "type": "string", "description": "Required. URL for the domain representing the cross-platform identity mapping for the app. Mapping is stored either as a JSON file hosted on the domain or configurable via Windows Dev Center. The JSON file is named cross-platform-app-identifiers and is hosted at root of your HTTPS domain, either at the top level domain or include a sub domain. For example: https://contoso.com or https://myapp.contoso.com but NOT https://myapp.contoso.com/somepath. You must have a unique file and domain (or sub domain) per cross-platform app identity. For example, a separate file and domain is needed for Word vs. PowerPoint." }, "appActivityId": { "type": "string", "description": "Required. The unique activity ID in the context of the app - supplied by caller and immutable thereafter." }, "appDisplayName": { "type": "string", "description": "Optional. Short text description of the app used to generate the activity for use in cases when the app is not installed on the user\u2019s local device.", "nullable": true }, "contentInfo": { "description": "Optional. A custom piece of data - JSON-LD extensible description of content according to schema.org syntax." }, "contentUrl": { "type": "string", "description": "Optional. Used in the event the content can be rendered outside of a native or web-based app experience (for example, a pointer to an item in an RSS feed).", "nullable": true }, "createdDateTime": { "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$", "type": "string", "description": "Set by the server. DateTime in UTC when the object was created on the server.", "format": "date-time", "nullable": true }, "expirationDateTime": { "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$", "type": "string", "description": "Set by the server. DateTime in UTC when the object expired on the server.", "format": "date-time", "nullable": true }, "fallbackUrl": { "type": "string", "description": "Optional. URL used to launch the activity in a web-based app, if available.", "nullable": true }, "lastModifiedDateTime": { "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$", "type": "string", "description": "Set by the server. DateTime in UTC when the object was modified on the server.", "format": "date-time", "nullable": true }, "status": { "anyOf": [ { "$ref": "#/components/schemas/microsoft.graph.status" }, { "type": "object", "nullable": true } ], "description": "Set by the server. A status code used to identify valid objects. Values: active, updated, deleted, ignored." }, "userTimezone": { "type": "string", "description": "Optional. The timezone in which the user's device used to generate the activity was located at activity creation time; values supplied as Olson IDs in order to support cross-platform representation.", "nullable": true }, "visualElements": { "$ref": "#/components/schemas/microsoft.graph.visualInfo" }, "historyItems": { "type": "array", "items": { "$ref": "#/components/schemas/microsoft.graph.activityHistoryItem" }, "description": "Optional. NavigationProperty/Containment; navigation property to the activity's historyItems.", "x-ms-navigationProperty": true }, "@odata.type": { "type": "string" } } } ], "x-ms-discriminator-value": "#microsoft.graph.userActivity" }