Skip to content

dutyObject

A duty is a rosterable unit within a contract definition, controlling duty classification, pay rules and voluntary-work parameters.

key string
Unique identifier for duty type reference.
clone dutyKey
Inherit values from another duty.
as REST | STBY | WORK
Duty classification: REST (not working), STBY (on-call), WORK (active).
pay payKey
Associated compensation rules.
stopOnPay payKey
Post-duty compensation if the following duty isn’t work.
stopOnMandatory timeInterval default 0
Threshold after which extended work becomes voluntary.
voluntaryDeployStarts timeInterval default 0
Period after duty end when new deployments are voluntary.
voluntary bool
Marks all planned work as voluntary.