Allow multiple minutes off limits in a single rolling window rule
M
Matej Cimbora (Solutions)
As a user of the API, I'd like to be able to define multiple minutes-off limits within a single rolling window rule.
Currently, the API only allows defining a single limit, such as:
consecutiveMinutesOffLimit: 11 * 60
Certain work regulations require more complex rules, such as: 11 hours of continuous rest per 24-hour period, with 1 period per 7×24 hours allowed to be shortened to 8 hours.
This can be reformulated as:
6 × 11 hours of rest
1 × 8 hours of rest
…per 7×24-hour period.
This is an extension of the existing rolling window API.
Log In