Microsoft Graph · Schema

microsoft.graph.presence

Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphpresence-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.presence",
  "title": "microsoft.graph.presence",
  "allOf": [
    {
      "$ref": "#/components/schemas/microsoft.graph.entity"
    },
    {
      "title": "presence",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "activity": {
          "type": "string",
          "description": "The supplemental information to a user's availability. Possible values are available, away, beRightBack, busy, doNotDisturb, offline, outOfOffice, presenceUnknown.",
          "nullable": true
        },
        "availability": {
          "type": "string",
          "description": "The base presence information for a user. Possible values are available, away, beRightBack, busy, doNotDisturb, focusing, inACall, inAMeeting, offline, presenting, presenceUnknown.",
          "nullable": true
        },
        "outOfOfficeSettings": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.outOfOfficeSettings"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "The out of office settings for a user."
        },
        "sequenceNumber": {
          "type": "string",
          "description": "The lexicographically sortable String stamp that represents the version of a presence object.",
          "nullable": true,
          "readOnly": true
        },
        "statusMessage": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.presenceStatusMessage"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "The presence status message of a user."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.presence"
}