Microsoft Graph · Schema

microsoft.graph.calendarPermission

Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphcalendarpermission-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.calendarPermission",
  "title": "microsoft.graph.calendarPermission",
  "allOf": [
    {
      "$ref": "#/components/schemas/microsoft.graph.entity"
    },
    {
      "title": "calendarPermission",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "allowedRoles": {
          "type": "array",
          "items": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/microsoft.graph.calendarRoleType"
              },
              {
                "type": "object",
                "nullable": true
              }
            ]
          },
          "description": "List of allowed sharing or delegating permission levels for the calendar. The possible values are: none, freeBusyRead, limitedRead, read, write, delegateWithoutPrivateEventAccess, delegateWithPrivateEventAccess, custom."
        },
        "emailAddress": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.emailAddress"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "Represents a share recipient or delegate who has access to the calendar. For the 'My Organization' share recipient, the address property is null. Read-only."
        },
        "isInsideOrganization": {
          "type": "boolean",
          "description": "True if the user in context (recipient or delegate) is inside the same organization as the calendar owner.",
          "nullable": true
        },
        "isRemovable": {
          "type": "boolean",
          "description": "True if the user can be removed from the list of recipients or delegates for the specified calendar, false otherwise. The 'My organization' user determines the permissions other people within your organization have to the given calendar. You can't remove 'My organization' as a share recipient to a calendar.",
          "nullable": true
        },
        "role": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.calendarRoleType"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "Current permission level of the calendar share recipient or delegate."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.calendarPermission"
}