{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-work-plan-occurrence-schema.json",
  "title": "microsoft.graph.workPlanOccurrence",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/azure-ad-users-usersettings-api-openapi.yml#/components/schemas/microsoft.graph.workPlanOccurrence",
  "allOf": [
    {
      "$ref": "#/$defs/microsoft.graph.entity"
    },
    {
      "title": "workPlanOccurrence",
      "type": "object",
      "properties": {
        "end": {
          "$ref": "#/$defs/microsoft.graph.dateTimeTimeZone"
        },
        "placeId": {
          "type": [
            "string",
            "null"
          ],
          "description": "Identifier of a place from the Microsoft Graph Places Directory API. Only applicable when workLocationType is set to office."
        },
        "recurrenceId": {
          "type": [
            "string",
            "null"
          ],
          "description": "The identifier of the parent recurrence pattern that generated this occurrence. The value is null for time-off occurrences because they don't have a parent recurrence."
        },
        "start": {
          "$ref": "#/$defs/microsoft.graph.dateTimeTimeZone"
        },
        "timeOffDetails": {
          "$ref": "#/$defs/microsoft.graph.timeOffDetails"
        },
        "workLocationType": {
          "$ref": "#/$defs/microsoft.graph.workLocationType"
        }
      },
      "additionalProperties": {
        "type": "object"
      }
    }
  ],
  "$defs": {
    "microsoft.graph.dateTimeTimeZone": {
      "title": "dateTimeTimeZone",
      "type": "object",
      "properties": {
        "dateTime": {
          "type": "string",
          "description": "A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000)."
        },
        "timeZone": {
          "type": [
            "string",
            "null"
          ],
          "description": "Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values."
        }
      },
      "additionalProperties": {
        "type": "object"
      }
    },
    "microsoft.graph.entity": {
      "title": "entity",
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The unique identifier for an entity. Read-only."
        }
      },
      "additionalProperties": {
        "type": "object"
      }
    },
    "microsoft.graph.timeOffDetails": {
      "title": "timeOffDetails",
      "type": "object",
      "properties": {
        "isAllDay": {
          "type": "boolean",
          "description": "Indicates whether the time-off entry spans the entire day."
        },
        "subject": {
          "type": [
            "string",
            "null"
          ],
          "description": "The subject or reason for the time-off entry."
        }
      },
      "additionalProperties": {
        "type": "object"
      }
    },
    "microsoft.graph.workLocationType": {
      "title": "workLocationType",
      "enum": [
        "unspecified",
        "office",
        "remote",
        "timeOff",
        "unknownFutureValue"
      ],
      "type": "string"
    }
  }
}