Crew Template Schema
Velden
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
Geen velden komen overeen met het filter.
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/crew_templates— Lijst, gepagineerd + filterbaarGET /api/v1/crew_templates/<id>— Enkele entityPOST /api/v1/crew_templates— AanmakenPATCH /api/v1/crew_templates/<id>— Gedeeltelijke updateDELETE /api/v1/crew_templates/<id>— Soft-deleteGET /api/v1/crew_templates/<id>/timeline— Audit + activiteiten