Shift Block Schema
Felder
Shift Block Schema
A reusable time block ("Schicht-Baustein") an employee can occupy — e.g. "24h", "Tag-12h", "Nacht-12h", "8h-Früh". Pure time + ArbZG metadata, no role/headcount/coverage information (those live in coverage-demand). Replaces the former shift-template entity.
name
Block name (e.g. "24h", "Tag-12h", "Nacht-12h", "8h-Früh")
shortName
Short display label (e.g. "24h", "T12", "N12", "F8")
startTime
Start time in HH:mm format (24h clock)
endTime
End time in HH:mm format. If endTime <= startTime the block wraps to the next day (e.g. 18:00 → 06:00 for a Nacht-12h block).
breakMinutes
Break duration in minutes (unpaid)
color
Display color as hex
isActive
Whether this block is currently selectable
notes
shiftType
Type of shift determining ArbZG treatment
REGULARBEREITSCHAFTRUFBEREITSCHAFTNOTDIENSTSPLITSPRINGEROVERLAPattendanceTimeRatio
Bereitschaftsdienst: ratio of attendance time counted as full working time (e.g. 0.25). For 24h-Schichten typically ~0.5–0.7.
reactionTimeMinutes
Rufbereitschaft: required response time in minutes
minimumRestAfterMinutes
Required rest after this block in minutes (overrides ArbZG § 5 default of 11h if higher)
Keine Felder passen zum Filter.
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_blocks— Liste, paginiert + filterbarGET /api/v1/shift_blocks/<id>— Einzelne EntityPOST /api/v1/shift_blocks— AnlegenPATCH /api/v1/shift_blocks/<id>— Teil-UpdateDELETE /api/v1/shift_blocks/<id>— Soft-DeleteGET /api/v1/shift_blocks/<id>/timeline— Audit + Aktivitäten