API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console
Entity · shift_constraint_sets

Shift Constraint Set Schema

Schema ID
shift_constraint_set
Collection
shift_constraint_sets
Permissions
  • Readshift_constraint_set_view
  • Createshift_constraint_set_create
  • Editshift_constraint_set_edit
  • Deleteshift_constraint_set_delete

Fields

Shift Constraint Set Schema

shift_constraint_sets4 permissions

Configurable labor law constraint sets (Tarifverträge)

namestringrequired

E.g. "TVöD 2024", "TV-Ärzte 2024", "Haustarif Muster GmbH"

1–200 characters
descriptionstringoptional
max 5000 charactersnullable
orgUnitIduuidoptional

Null = applies to all org units in this tenant

nullable
maxDailyHoursnumberoptional

Max working hours per day (ArbZG § 3 default: 10)

1 – 24Default: 10
maxWeeklyHoursnumberoptional

Max working hours per week (ArbZG default: 48)

1 – 168Default: 48
minRestHoursnumberoptional

Min rest between shifts in hours (ArbZG § 5 default: 11)

1 – 24Default: 11
maxConsecutiveDaysnumberoptional

Max consecutive working days

1 – 14nullable
nightShiftCompensationRuleobjectoptional

Night shift compensation configuration

nullable
holidayCompensationRuleobjectoptional

Holiday shift compensation configuration

nullable
onCallRationumberoptional

On-call attendance time ratio (Bereitschaftsdienst Anrechnungsquote, e.g. 0.25)

0 – 1nullable
isActivebooleanoptional
Default: true
extraRulesstring[]optional

Additional free-text rules, LLM-interpretable for conflict detection

Default: []

Standard endpoints

This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:

  • GET /api/v1/shift_constraint_sets — List, paginated + filterable
  • GET /api/v1/shift_constraint_sets/<id> — Single entity
  • POST /api/v1/shift_constraint_sets — Create
  • PATCH /api/v1/shift_constraint_sets/<id> — Partial update
  • DELETE /api/v1/shift_constraint_sets/<id> — Soft delete
  • GET /api/v1/shift_constraint_sets/<id>/timeline — Audit + activities

Search