Microsoft Graph · Schema

microsoft.graph.offerShiftRequest

Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphoffershiftrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.offerShiftRequest",
  "title": "microsoft.graph.offerShiftRequest",
  "allOf": [
    {
      "$ref": "#/components/schemas/microsoft.graph.scheduleChangeRequest"
    },
    {
      "title": "offerShiftRequest",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "recipientActionDateTime": {
          "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 date and time when the recipient approved or declined the request.",
          "format": "date-time",
          "nullable": true,
          "readOnly": true
        },
        "recipientActionMessage": {
          "type": "string",
          "description": "The message sent by the recipient regarding the request.",
          "nullable": true
        },
        "recipientUserId": {
          "type": "string",
          "description": "The recipient's user ID.",
          "nullable": true
        },
        "senderShiftId": {
          "type": "string",
          "description": "The sender's shift ID.",
          "nullable": true
        },
        "@odata.type": {
          "type": "string",
          "default": "#microsoft.graph.offerShiftRequest"
        }
      },
      "discriminator": {
        "propertyName": "@odata.type",
        "mapping": {
          "#microsoft.graph.swapShiftsChangeRequest": "#/components/schemas/microsoft.graph.swapShiftsChangeRequest"
        }
      }
    }
  ]
}