API · v1 · stabil
CODEMETA OSDeveloper Center
Konsole öffnen
Entity · shift_constraint_sets

Shift Constraint Set Schema

Schema-ID
shift_constraint_set
Collection
shift_constraint_sets
Permissions
  • Lesenshift_constraint_set_view
  • Anlegenshift_constraint_set_create
  • Ändernshift_constraint_set_edit
  • Löschenshift_constraint_set_delete

Felder

Shift Constraint Set Schema

shift_constraint_sets4 Permissions

Configurable labor law constraint sets (Tarifverträge)

namestringerforderlich

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

1–200 Zeichen
descriptionstringoptional
max 5000 Zeichennullable
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

Diese Resource folgt dem generischen CRUD-Vertrag der Plattform. Lesen Sie die Konventionen für Pagination, Idempotenz, Optimistic Locking und Audit. Die wichtigsten Endpoints:

  • GET /api/v1/shift_constraint_sets — Liste, paginiert + filterbar
  • GET /api/v1/shift_constraint_sets/<id> — Einzelne Entity
  • POST /api/v1/shift_constraint_sets — Anlegen
  • PATCH /api/v1/shift_constraint_sets/<id> — Teil-Update
  • DELETE /api/v1/shift_constraint_sets/<id> — Soft-Delete
  • GET /api/v1/shift_constraint_sets/<id>/timeline — Audit + Aktivitäten

Suche