Crew Template Schema
Fields
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
No fields match the filter.
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/crew_templates— List, paginated + filterableGET /api/v1/crew_templates/<id>— Single entityPOST /api/v1/crew_templates— CreatePATCH /api/v1/crew_templates/<id>— Partial updateDELETE /api/v1/crew_templates/<id>— Soft deleteGET /api/v1/crew_templates/<id>/timeline— Audit + activities