Skip to main content

Shift code

Mandatory properties

PropertyTypeDescription
shiftsarrayAn array with shifts.

Shift

A JSON object that represent the shift properties.

PropertyTypeDescription
offsetintegerNumber of minutes from 00:00.
codestringThe text to use when the current time is right.

Example

{
"shifts": [
{
"code": "A",
"offset": 0
},
{
"code": "B",
"offset": 480
},
{
"code": "C",
"offset": 960
}
]
}