Microsoft Graph · Schema
shiftActivity
Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks
Properties
| Name | Type | Description |
|---|---|---|
| code | string | Customer defined code for the shiftActivity. Required. |
| displayName | string | The name of the shiftActivity. Required. |
| endDateTime | string | The end date and time for the shiftActivity. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-0 |
| isPaid | boolean | Indicates whether the microsoft.graph.user should be paid for the activity during their shift. Required. |
| startDateTime | string | The start date and time for the shiftActivity. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014 |
| theme | object | |
| @odata.type | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/microsoft.graph.shiftActivity",
"title": "shiftActivity",
"required": [
"@odata.type"
],
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "Customer defined code for the shiftActivity. Required.",
"nullable": true
},
"displayName": {
"type": "string",
"description": "The name of the shiftActivity. Required.",
"nullable": true
},
"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 end date and time for the shiftActivity. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Required.",
"format": "date-time",
"nullable": true
},
"isPaid": {
"type": "boolean",
"description": "Indicates whether the microsoft.graph.user should be paid for the activity during their shift. Required.",
"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 start date and time for the shiftActivity. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Required.",
"format": "date-time",
"nullable": true
},
"theme": {
"$ref": "#/components/schemas/microsoft.graph.scheduleEntityTheme"
},
"@odata.type": {
"type": "string"
}
}
}