Microsoft Graph · Schema

microsoft.graph.drive

Microsoft GraphAzure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Task

Properties

Name Type Description
driveType string Describes the type of drive represented by this resource. OneDrive personal drives return personal. OneDrive for Business returns business. SharePoint document libraries return documentLibrary. Read-o
owner object Optional. The user account that owns the drive. Read-only.
quota object Optional. Information about the drive's storage space quota. Read-only.
sharePointIds object
system object If present, indicates that it's a system-managed drive. Read-only.
bundles array Collection of bundles (albums and multi-select-shared sets of items). Only in personal OneDrive.
following array The list of items the user is following. Only in OneDrive for Business.
items array All items contained in the drive. Read-only. Nullable.
list object For drives in SharePoint, the underlying document library list. Read-only. Nullable.
root object The root folder of the drive. Read-only.
special array Collection of common folders available in OneDrive. Read-only. Nullable.
@odata.type string
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphdrive-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.drive",
  "title": "microsoft.graph.drive",
  "allOf": [
    {
      "$ref": "#/components/schemas/microsoft.graph.baseItem"
    },
    {
      "title": "drive",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "driveType": {
          "type": "string",
          "description": "Describes the type of drive represented by this resource. OneDrive personal drives return personal. OneDrive for Business returns business. SharePoint document libraries return documentLibrary. Read-only.",
          "nullable": true
        },
        "owner": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.identitySet"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "Optional. The user account that owns the drive. Read-only."
        },
        "quota": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.quota"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "Optional. Information about the drive's storage space quota. Read-only."
        },
        "sharePointIds": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.sharepointIds"
            },
            {
              "type": "object",
              "nullable": true
            }
          ]
        },
        "system": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.systemFacet"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "If present, indicates that it's a system-managed drive. Read-only."
        },
        "bundles": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.driveItem"
          },
          "description": "Collection of bundles (albums and multi-select-shared sets of items). Only in personal OneDrive.",
          "x-ms-navigationProperty": true
        },
        "following": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.driveItem"
          },
          "description": "The list of items the user is following. Only in OneDrive for Business.",
          "x-ms-navigationProperty": true
        },
        "items": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.driveItem"
          },
          "description": "All items contained in the drive. Read-only. Nullable.",
          "x-ms-navigationProperty": true
        },
        "list": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.list"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "For drives in SharePoint, the underlying document library list. Read-only. Nullable.",
          "x-ms-navigationProperty": true
        },
        "root": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.driveItem"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "The root folder of the drive. Read-only.",
          "x-ms-navigationProperty": true
        },
        "special": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.driveItem"
          },
          "description": "Collection of common folders available in OneDrive. Read-only. Nullable.",
          "x-ms-navigationProperty": true
        },
        "@odata.type": {
          "type": "string",
          "default": "#microsoft.graph.drive"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.drive"
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/microsoft-graph-microsoftgraphdrive"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.