Shift code
Mandatory properties
| Property | Type | Description |
|---|---|---|
| shifts | array | An array with shifts. |
Shift
A JSON object that represent the shift properties.
| Property | Type | Description |
|---|---|---|
| offset | integer | Number of minutes from 00:00. |
| code | string | The text to use when the current time is right. |
Example
{
"shifts": [
{
"code": "A",
"offset": 0
},
{
"code": "B",
"offset": 480
},
{
"code": "C",
"offset": 960
}
]
}