API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen
Entity · shift_constraint_sets

Shift Constraint Set Schema

Schema-ID
shift_constraint_set
Collection
shift_constraint_sets
Permissions
  • Lezenshift_constraint_set_view
  • Aanmakenshift_constraint_set_create
  • Wijzigenshift_constraint_set_edit
  • Verwijderenshift_constraint_set_delete

Velden

Shift Constraint Set Schema

shift_constraint_sets4 permissions

Configurable labor law constraint sets (Tarifverträge)

namestringvereist

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

1–200 tekens
descriptionstringoptioneel
max. 5000 tekensnullable
orgUnitIduuidoptioneel

Null = applies to all org units in this tenant

nullable
maxDailyHoursnumberoptioneel

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

1 – 24Default: 10
maxWeeklyHoursnumberoptioneel

Max working hours per week (ArbZG default: 48)

1 – 168Default: 48
minRestHoursnumberoptioneel

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

1 – 24Default: 11
maxConsecutiveDaysnumberoptioneel

Max consecutive working days

1 – 14nullable
nightShiftCompensationRuleobjectoptioneel

Night shift compensation configuration

nullable
holidayCompensationRuleobjectoptioneel

Holiday shift compensation configuration

nullable
onCallRationumberoptioneel

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

0 – 1nullable
isActivebooleanoptioneel
Default: true
extraRulesstring[]optioneel

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

Default: []

Standaard-endpoints

Deze resource volgt het generieke CRUD-contract van het platform. Lees de conventies voor paginering, idempotentie, optimistic locking en audit. De belangrijkste endpoints:

  • GET /api/v1/shift_constraint_sets — Lijst, gepagineerd + filterbaar
  • GET /api/v1/shift_constraint_sets/<id> — Enkele entity
  • POST /api/v1/shift_constraint_sets — Aanmaken
  • PATCH /api/v1/shift_constraint_sets/<id> — Gedeeltelijke update
  • DELETE /api/v1/shift_constraint_sets/<id> — Soft-delete
  • GET /api/v1/shift_constraint_sets/<id>/timeline — Audit + activiteiten

Zoeken