Microsoft Graph · Schema

shared

Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks

Properties

Name Type Description
owner object The identity of the owner of the shared item. Read-only.
scope string Indicates the scope of how the item is shared. The possible values are: anonymous, organization, or users. Read-only.
sharedBy object The identity of the user who shared the item. Read-only.
sharedDateTime string The UTC date and time when the item was shared. Read-only.
@odata.type string
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphshared-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.shared",
  "title": "shared",
  "required": [
    "@odata.type"
  ],
  "type": "object",
  "properties": {
    "owner": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/microsoft.graph.identitySet"
        },
        {
          "type": "object",
          "nullable": true
        }
      ],
      "description": "The identity of the owner of the shared item. Read-only."
    },
    "scope": {
      "type": "string",
      "description": "Indicates the scope of how the item is shared. The possible values are: anonymous, organization, or users. Read-only.",
      "nullable": true
    },
    "sharedBy": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/microsoft.graph.identitySet"
        },
        {
          "type": "object",
          "nullable": true
        }
      ],
      "description": "The identity of the user who shared the item. Read-only."
    },
    "sharedDateTime": {
      "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": "The UTC date and time when the item was shared. Read-only.",
      "format": "date-time",
      "nullable": true
    },
    "@odata.type": {
      "type": "string"
    }
  }
}