API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen
Entity · checklist_templates

Checklist Template Schema

Schema-ID
checklist_template
Collection
checklist_templates
Permissions
  • Lezenchecklist_template_view
  • Aanmakenchecklist_template_create
  • Wijzigenchecklist_template_edit
  • Verwijderenchecklist_template_delete

Velden

Checklist Template Schema

checklist_templates4 permissions

Schema for validating checklist template entities

titlestringvereist

Template title

1–200 tekens
descriptionstringoptioneel

Template description

max. 2000 tekensnullable
categorystringvereist

Template category (validated server-side against CHECKLIST_CATEGORIES)

1–64 tekens
targetEntityTypestringvereist

Target entity type (validated server-side against the tenant allowlist)

1–64 tekens
autoCreatebooleanoptioneel

Whether to automatically create checklists from this template

Default: false
blocksCompletionbooleanoptioneel

Whether checklists spawned from this template block the linked entity's completion until COMPLETED

Default: falsenullable
blocksExitFromStatusstringoptioneel

Status key whose exit spawned checklists block (e.g. IN_REVIEW_TECH). Absent = legacy completion gate.

nullable
itemsobject[]vereist
Default: []
itemIduuidoptioneel

Stable identifier within the template. Used to anchor parentItemId refs.

nullable
titlestringvereist

Item title

1–200 tekens
descriptionstringoptioneel

Item description

max. 1000 tekensnullable
sortOrderintegervereist

Sort order within the template

≥ 0
defaultAssigneeRolestringoptioneel

Default assignee role slug

max. 100 tekensnullable
parentItemIduuidoptioneel

References another template item by itemId to mark this as a sub-item.

nullable
autoCompleteWhenSubsDonebooleanoptioneel

Inherited by spawned checklist items; auto-complete parent when subs done.

Default: truenullable
requireAllSubsDonebooleanoptioneel

Inherited by spawned checklist items; require subs done before parent DONE.

Default: falsenullable
visibleIfobjectoptioneel

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.

Default: nullnullable
terminatesIfobjectoptioneel

ADR 0511: when this holds on a visible step, the checklist completes early with `terminationReason` and remaining open steps are SKIPPED.

Default: nullnullable
answerKeystringoptioneel

Stable key under which this step's answer is recorded in `answers`. Conditions reference this, never the item index.

max. 40 tekensPatternDefault: nullnullable
inputobjectoptioneel

Typed answer step (ADR 0511). Renders an input instead of a checkbox; the value lands in `answers[answerKey]`.

Default: nullnullable
typestringvereist
textnumberdatebooleanselectentity_ref
entityTypestringoptioneel
max. 64 tekensnullable
optionsstring[]optioneel
Default: []nullable
requiredbooleanoptioneel
Default: false
unitstringoptioneel
max. 20 tekensnullable
minnumberoptioneel
nullable
maxnumberoptioneel
nullable
documentobjectoptioneel

Dokumente, die dieser Schritt erzeugt oder anfordert

nullable
documentsobject[]vereist
1–20 items
keystringvereist
1–100 tekens
templateIdstringvereist
max. 64 tekens
titlestringoptioneel
max. 255 tekensnullable
roleBindingsobjectoptioneel
nullable
startstringoptioneel
MANUALON_STEP_OPEN
Default: "MANUAL"
reviewBeforeSendbooleanoptioneel
Default: false
completeOnstringvereist
GENERATEDFILLEDSIGNED
bundlebooleanoptioneel
Default: true
dueOffsetobjectoptioneel

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.

Default: nullnullable
valueintegervereist
0 – 10000
unitstringvereist
mhdwmo
directionstringvereist
beforeafter
anchorstringvereist
startendcreatednow
anchorFieldstringoptioneel

Explicit dot path on the target entity that replaces the semantic anchor probing.

max. 100 tekensPatternDefault: nullnullable
linkedTaskobjectoptioneel
nullable
enabledbooleanvereist
assigneeRuleobjectoptioneel
nullable
titleTemplatestringoptioneel
max. 300 tekensnullable
dueDaysintegeroptioneel
0 – 3650nullable
dueOffsetobjectoptioneel

ADR 0831: due date of the linked task relative to a date of the linked entity. Takes precedence over `dueDays`.

Default: nullnullable
valueintegervereist
0 – 10000
unitstringvereist
mhdwmo
directionstringvereist
beforeafter
anchorstringvereist
startendcreatednow
anchorFieldstringoptioneel

Explicit dot path on the target entity that replaces the semantic anchor probing.

max. 100 tekensPatternDefault: nullnullable
prioritystringoptioneel
LOWNORMALHIGHCRITICAL
nullable
approvalobjectoptioneel
nullable
requiredbooleanvereist
approverTypestringoptioneel
roleuserorg_unit_manager
nullable
approverValuestringoptioneel
max. 200 tekensnullable
guardsobject[]optioneel

Guards inherited by checklist items created from this template

Default: []nullable
typestringvereist
1–64 tekens
paramsobjectoptioneel
nullable
labelstringoptioneel
nullable
actionsobject[]optioneel

Actions inherited by checklist items created from this template

Default: []nullable
typestringvereist
1–64 tekens
paramsobjectoptioneel
nullable
labelstringoptioneel
nullable
phasestringoptioneel
onEnteronExit
nullable
watchersobject[]optioneel

Reactive watchers inherited by checklist items created from this template

Default: []nullable
typestringvereist
1–64 tekens
paramsobjectoptioneel
nullable
labelstringoptioneel
nullable
onTruestringoptioneel
completeskip
nullable
onFalsestringoptioneel
noopuncheck
nullable
debounceSecondsnumberoptioneel
≥ 0nullable
notifyOnFirebooleanoptioneel
nullable
choiceobjectoptioneel

Scenario selector; each option carries its own completion actions

nullable
modestringoptioneel

single = exactly one option (radio); multi = several (checkboxes)

singlemulti
Default: "single"
requiredbooleanoptioneel

When true, at least one option must be selected before check-off

Default: falsenullable
optionsobject[]vereist
Default: []
optionIduuidvereist
labelstringvereist
1–200 tekens
sortOrderintegeroptioneel
≥ 0nullable
injectobjectoptioneel

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.

Default: nullnullable
groupedbooleanoptioneel

Render the inserted steps as a collapsible block under a parent step.

Default: true
answerKeyPrefixstringoptioneel

Namespace for the inserted template's answer keys, so inserting the same template twice cannot overwrite answers.

max. 40 tekensPatternnullable
actionsobject[]optioneel
Default: []nullable
typestringvereist
1–64 tekens
paramsobjectoptioneel
nullable
labelstringoptioneel
nullable
phasestringoptioneel
onEnteronExit
nullable
tagsstring[]optioneel

Template tags

Default: []nullable
deadlineOffsetobjectoptioneel

Relative deadline offset. Without direction/anchor: spawn instant + offset. With them: resolved against the linked entity (ADR 0831).

nullable
valuenumbervereist
≥ 0
unitstringvereist
mhdwmo
directionstringoptioneel
beforeafternull
nullable
anchorstringoptioneel
startendcreatednownull
nullable
anchorFieldstringoptioneel
max. 100 tekensPatternnullable
responsibleUserIduuidoptioneel

Responsible person (mutually exclusive with responsiblePositionId)

nullable
responsiblePositionIduuidoptioneel

Responsible position; resolved to its primary holder at spawn time

nullable
responsibleSourcestringoptioneel

Dynamic responsible resolution at spawn time (e.g. the linked entity's team lead)

org_unit_managernull
nullable
autoCreateTriggerobjectoptioneel

Auto-create the checklist when the target entity matches this trigger

nullable
eventsstring[]vereist
min. 1 items
conditionsobject[]optioneel
Default: []
fieldstringvereist
1–128 tekens
operatorstringvereist
eqneinchangedchanged_to
valueanyoptioneel
spawnOnobjectoptioneel
nullable
sourceEntityTypestringvereist
1–64 tekens
sourceFieldstringvereist
1–128 tekens
deadlineEscalationobjectoptioneel

Who to notify when the spawned checklist misses its deadline

nullable
notifyRecipientstringvereist
1–64 tekens
channelsstring[]optioneel
Default: []

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/checklist_templates — Lijst, gepagineerd + filterbaar
  • GET /api/v1/checklist_templates/<id> — Enkele entity
  • POST /api/v1/checklist_templates — Aanmaken
  • PATCH /api/v1/checklist_templates/<id> — Gedeeltelijke update
  • DELETE /api/v1/checklist_templates/<id> — Soft-delete
  • GET /api/v1/checklist_templates/<id>/timeline — Audit + activiteiten

Zoeken