Microsoft Graph · Schema

microsoft.graph.shift

Microsoft GraphAzure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Task

Properties

Name Type Description
draftShift object Draft changes in the shift. Draft changes are only visible to managers. The changes are visible to employees when they're shared, which copies the changes from the draftShift to the sharedShift proper
isStagedForDeletion boolean The shift is marked for deletion, a process that is finalized when the schedule is shared.
schedulingGroupId string ID of the scheduling group the shift is part of. Required.
sharedShift object The shared version of this shift that is viewable by both employees and managers. Updates to the sharedShift property send notifications to users in the Teams client.
userId string ID of the user assigned to the shift. Required.
@odata.type string
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphshift-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.shift",
  "title": "microsoft.graph.shift",
  "allOf": [
    {
      "$ref": "#/components/schemas/microsoft.graph.changeTrackedEntity"
    },
    {
      "title": "shift",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "draftShift": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.shiftItem"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "Draft changes in the shift. Draft changes are only visible to managers. The changes are visible to employees when they're shared, which copies the changes from the draftShift to the sharedShift property."
        },
        "isStagedForDeletion": {
          "type": "boolean",
          "description": "The shift is marked for deletion, a process that is finalized when the schedule is shared.",
          "nullable": true
        },
        "schedulingGroupId": {
          "type": "string",
          "description": "ID of the scheduling group the shift is part of. Required.",
          "nullable": true
        },
        "sharedShift": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.shiftItem"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "The shared version of this shift that is viewable by both employees and managers. Updates to the sharedShift property send notifications to users in the Teams client."
        },
        "userId": {
          "type": "string",
          "description": "ID of the user assigned to the shift. Required.",
          "nullable": true
        },
        "@odata.type": {
          "type": "string",
          "default": "#microsoft.graph.shift"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.shift"
}

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-microsoftgraphshift"
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.