Microsoft Word · JSON Structure

Graph Api Permission Structure

Represents a sharing permission on a drive item.

Type: object Properties: 3
DocumentsMicrosoft 365OfficeProductivityWord Processing

Permission is a JSON Structure definition published by Microsoft Word, describing 3 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id roles link

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/microsoft-word/refs/heads/main/json-structure/graph-api-permission-structure.json",
  "name": "Permission",
  "description": "Represents a sharing permission on a drive item.",
  "type": "object",
  "properties": {
    "id": { "type": "string", "description": "The unique identifier of the permission." },
    "roles": { "type": "array", "items": { "type": "string" }, "description": "The type of permission." },
    "link": {
      "type": "object",
      "properties": {
        "type": { "type": "string", "description": "The type of sharing link." },
        "webUrl": { "type": "uri", "description": "The URL of the sharing link." },
        "scope": { "type": "string", "description": "The scope of the link." }
      }
    }
  }
}