Crew Template Schema
Champs
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
Aucun champ ne correspond au filtre.
Endpoints standard
Cette ressource suit le contrat CRUD générique de la plateforme. Lisez les conventions pour la pagination, l'idempotence, le verrouillage optimiste et l'audit. Les endpoints principaux :
GET /api/v1/crew_templates— Liste, paginée et filtrableGET /api/v1/crew_templates/<id>— Une entitéPOST /api/v1/crew_templates— CréerPATCH /api/v1/crew_templates/<id>— Mise à jour partielleDELETE /api/v1/crew_templates/<id>— Suppression logiqueGET /api/v1/crew_templates/<id>/timeline— Audit et activités