{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/microsoft.graph.timeOffRequest", "title": "microsoft.graph.timeOffRequest", "allOf": [ { "$ref": "#/components/schemas/microsoft.graph.scheduleChangeRequest" }, { "title": "timeOffRequest", "required": [ "@odata.type" ], "type": "object", "properties": { "endDateTime": { "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 the time off ends in ISO 8601 format and in UTC time.", "format": "date-time", "nullable": true }, "startDateTime": { "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 the time off starts in ISO 8601 format and in UTC time.", "format": "date-time", "nullable": true }, "timeOffReasonId": { "type": "string", "description": "The reason for the time off.", "nullable": true }, "@odata.type": { "type": "string", "default": "#microsoft.graph.timeOffRequest" } } } ], "x-ms-discriminator-value": "#microsoft.graph.timeOffRequest" }