Skip to main content
Configuration for createMaxHoursWeekRule.
  • hours (required): maximum hours allowed per scheduling week
  • priority (required): how strictly the solver enforces this rule
  • weekStartsOn (optional): which day starts the week; defaults to ModelBuilder.weekStartsOn
Also accepts all fields from ScopeConfig for entity and time scoping.