Crew Template Schema
Felder
Crew Template Schema
Reusable crew composition (Besatzungsvorlage) — predefined position slots that can be applied to shift templates (e.g. "RTW = 1× Notfallsanitäter + 1× Rettungssanitäter").
name
Crew name (e.g. "RTW-Besatzung", "KTW", "NEF", "Frühschicht-Standard")
shortName
Short display label (e.g. "RTW", "KTW")
description
category
Free-text grouping (e.g. "Rettungsdienst", "First-Level-Support", "Lager"). Used for filtering/grouping in pickers.
color
Optional UI hint color
isActive
Whether this crew template is currently selectable
positionSlots
Required position slots with qualification requirements
slotId
Unique slot identifier within this template
name
minHeadcount
maxHeadcount
isMandatory
If true, shift is infeasible without this slot filled
requiredSkills
note
notes
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/crew_templates— Liste, paginiert + filterbarGET /api/v1/crew_templates/<id>— Einzelne EntityPOST /api/v1/crew_templates— AnlegenPATCH /api/v1/crew_templates/<id>— Teil-UpdateDELETE /api/v1/crew_templates/<id>— Soft-DeleteGET /api/v1/crew_templates/<id>/timeline— Audit + Aktivitäten