Checklist Template Schema
Felder
Checklist Template Schema
Schema for validating checklist template entities
title
Template title
description
Template description
category
Template category (validated server-side against CHECKLIST_CATEGORIES)
targetEntityType
Target entity type (validated server-side against the tenant allowlist)
autoCreate
Whether to automatically create checklists from this template
blocksCompletion
Whether checklists spawned from this template block the linked entity's completion until COMPLETED
blocksExitFromStatus
Status key whose exit spawned checklists block (e.g. IN_REVIEW_TECH). Absent = legacy completion gate.
items
itemId
Stable identifier within the template. Used to anchor parentItemId refs.
title
Item title
description
Item description
sortOrder
Sort order within the template
defaultAssigneeRole
Default assignee role slug
parentItemId
References another template item by itemId to mark this as a sub-item.
autoCompleteWhenSubsDone
Inherited by spawned checklist items; auto-complete parent when subs done.
requireAllSubsDone
Inherited by spawned checklist items; require subs done before parent DONE.
visibleIf
ADR 0511: the step is only part of the run when this condition holds. Absent/null = always visible. May only reference answers from EARLIER steps.
terminatesIf
ADR 0511: when this holds on a visible step, the checklist completes early with `terminationReason` and remaining open steps are SKIPPED.
answerKey
Stable key under which this step's answer is recorded in `answers`. Conditions reference this, never the item index.
input
Typed answer step (ADR 0511). Renders an input instead of a checkbox; the value lands in `answers[answerKey]`.
dueOffset
ADR 0831: due date of this step relative to a date of the linked entity (start/end/created) or to the spawn instant (now). Resolved into items[].dueDate when the checklist is spawned.
value
unit
mhdwmodirection
beforeafteranchor
startendcreatednowanchorField
Explicit dot path on the target entity that replaces the semantic anchor probing.
linkedTask
assigneeRule
titleTemplate
dueDays
dueOffset
ADR 0831: due date of the linked task relative to a date of the linked entity. Takes precedence over `dueDays`.
value
unit
mhdwmodirection
beforeafteranchor
startendcreatednowanchorField
Explicit dot path on the target entity that replaces the semantic anchor probing.
priority
LOWNORMALHIGHCRITICALapproval
watchers
Reactive watchers inherited by checklist items created from this template
type
params
label
onTrue
completeskiponFalse
noopuncheckdebounceSeconds
notifyOnFire
choice
Scenario selector; each option carries its own completion actions
mode
single = exactly one option (radio); multi = several (checkboxes)
singlemultirequired
When true, at least one option must be selected before check-off
options
label
sortOrder
inject
ADR 0511: picking this option inserts the referenced template's steps into THIS checklist (one record, one progress, one completion gate) instead of spawning a separate one.
grouped
Render the inserted steps as a collapsible block under a parent step.
answerKeyPrefix
Namespace for the inserted template's answer keys, so inserting the same template twice cannot overwrite answers.
tags
Template tags
deadlineOffset
Relative deadline offset. Without direction/anchor: spawn instant + offset. With them: resolved against the linked entity (ADR 0831).
value
unit
mhdwmodirection
beforeafternullanchor
startendcreatednownullanchorField
responsibleUserId
Responsible person (mutually exclusive with responsiblePositionId)
responsiblePositionId
Responsible position; resolved to its primary holder at spawn time
responsibleSource
Dynamic responsible resolution at spawn time (e.g. the linked entity's team lead)
org_unit_managernullautoCreateTrigger
Auto-create the checklist when the target entity matches this trigger
deadlineEscalation
Who to notify when the spawned checklist misses its deadline
notifyRecipient
channels
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/checklist_templates— Liste, paginiert + filterbarGET /api/v1/checklist_templates/<id>— Einzelne EntityPOST /api/v1/checklist_templates— AnlegenPATCH /api/v1/checklist_templates/<id>— Teil-UpdateDELETE /api/v1/checklist_templates/<id>— Soft-DeleteGET /api/v1/checklist_templates/<id>/timeline— Audit + Aktivitäten