API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console
Entity · checklist_templates

Checklist Template Schema

Schema ID
checklist_template
Collection
checklist_templates
Permissions
  • Readchecklist_template_view
  • Createchecklist_template_create
  • Editchecklist_template_edit
  • Deletechecklist_template_delete

Fields

Checklist Template Schema

checklist_templates4 permissions

Schema for validating checklist template entities

titlestringrequired

Template title

1–200 characters
descriptionstringoptional

Template description

max 2000 charactersnullable
categorystringrequired

Template category (validated server-side against CHECKLIST_CATEGORIES)

1–64 characters
targetEntityTypestringrequired

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

1–64 characters
autoCreatebooleanoptional

Whether to automatically create checklists from this template

Default: false
blocksCompletionbooleanoptional

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

Default: falsenullable
blocksExitFromStatusstringoptional

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

nullable
itemsobject[]required
Default: []
itemIduuidoptional

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

nullable
titlestringrequired

Item title

1–200 characters
descriptionstringoptional

Item description

max 1000 charactersnullable
sortOrderintegerrequired

Sort order within the template

≥ 0
defaultAssigneeRolestringoptional

Default assignee role slug

max 100 charactersnullable
parentItemIduuidoptional

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

nullable
autoCompleteWhenSubsDonebooleanoptional

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

Default: truenullable
requireAllSubsDonebooleanoptional

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

Default: falsenullable
visibleIfobjectoptional

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
terminatesIfobjectoptional

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

Default: nullnullable
answerKeystringoptional

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

max 40 charactersPatternDefault: nullnullable
inputobjectoptional

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

Default: nullnullable
typestringrequired
textnumberdatebooleanselectentity_ref
entityTypestringoptional
max 64 charactersnullable
optionsstring[]optional
Default: []nullable
requiredbooleanoptional
Default: false
unitstringoptional
max 20 charactersnullable
minnumberoptional
nullable
maxnumberoptional
nullable
documentobjectoptional

Dokumente, die dieser Schritt erzeugt oder anfordert

nullable
documentsobject[]required
1–20 items
keystringrequired
1–100 characters
templateIdstringrequired
max 64 characters
titlestringoptional
max 255 charactersnullable
roleBindingsobjectoptional
nullable
startstringoptional
MANUALON_STEP_OPEN
Default: "MANUAL"
reviewBeforeSendbooleanoptional
Default: false
completeOnstringrequired
GENERATEDFILLEDSIGNED
bundlebooleanoptional
Default: true
dueOffsetobjectoptional

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
valueintegerrequired
0 – 10000
unitstringrequired
mhdwmo
directionstringrequired
beforeafter
anchorstringrequired
startendcreatednow
anchorFieldstringoptional

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

max 100 charactersPatternDefault: nullnullable
linkedTaskobjectoptional
nullable
enabledbooleanrequired
assigneeRuleobjectoptional
nullable
titleTemplatestringoptional
max 300 charactersnullable
dueDaysintegeroptional
0 – 3650nullable
dueOffsetobjectoptional

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

Default: nullnullable
valueintegerrequired
0 – 10000
unitstringrequired
mhdwmo
directionstringrequired
beforeafter
anchorstringrequired
startendcreatednow
anchorFieldstringoptional

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

max 100 charactersPatternDefault: nullnullable
prioritystringoptional
LOWNORMALHIGHCRITICAL
nullable
approvalobjectoptional
nullable
requiredbooleanrequired
approverTypestringoptional
roleuserorg_unit_manager
nullable
approverValuestringoptional
max 200 charactersnullable
guardsobject[]optional

Guards inherited by checklist items created from this template

Default: []nullable
typestringrequired
1–64 characters
paramsobjectoptional
nullable
labelstringoptional
nullable
actionsobject[]optional

Actions inherited by checklist items created from this template

Default: []nullable
typestringrequired
1–64 characters
paramsobjectoptional
nullable
labelstringoptional
nullable
phasestringoptional
onEnteronExit
nullable
watchersobject[]optional

Reactive watchers inherited by checklist items created from this template

Default: []nullable
typestringrequired
1–64 characters
paramsobjectoptional
nullable
labelstringoptional
nullable
onTruestringoptional
completeskip
nullable
onFalsestringoptional
noopuncheck
nullable
debounceSecondsnumberoptional
≥ 0nullable
notifyOnFirebooleanoptional
nullable
choiceobjectoptional

Scenario selector; each option carries its own completion actions

nullable
modestringoptional

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

singlemulti
Default: "single"
requiredbooleanoptional

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

Default: falsenullable
optionsobject[]required
Default: []
optionIduuidrequired
labelstringrequired
1–200 characters
sortOrderintegeroptional
≥ 0nullable
injectobjectoptional

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
groupedbooleanoptional

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

Default: true
answerKeyPrefixstringoptional

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

max 40 charactersPatternnullable
actionsobject[]optional
Default: []nullable
typestringrequired
1–64 characters
paramsobjectoptional
nullable
labelstringoptional
nullable
phasestringoptional
onEnteronExit
nullable
tagsstring[]optional

Template tags

Default: []nullable
deadlineOffsetobjectoptional

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

nullable
valuenumberrequired
≥ 0
unitstringrequired
mhdwmo
directionstringoptional
beforeafternull
nullable
anchorstringoptional
startendcreatednownull
nullable
anchorFieldstringoptional
max 100 charactersPatternnullable
responsibleUserIduuidoptional

Responsible person (mutually exclusive with responsiblePositionId)

nullable
responsiblePositionIduuidoptional

Responsible position; resolved to its primary holder at spawn time

nullable
responsibleSourcestringoptional

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

org_unit_managernull
nullable
autoCreateTriggerobjectoptional

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

nullable
eventsstring[]required
min 1 items
conditionsobject[]optional
Default: []
fieldstringrequired
1–128 characters
operatorstringrequired
eqneinchangedchanged_to
valueanyoptional
spawnOnobjectoptional
nullable
sourceEntityTypestringrequired
1–64 characters
sourceFieldstringrequired
1–128 characters
deadlineEscalationobjectoptional

Who to notify when the spawned checklist misses its deadline

nullable
notifyRecipientstringrequired
1–64 characters
channelsstring[]optional
Default: []

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/checklist_templates — List, paginated + filterable
  • GET /api/v1/checklist_templates/<id> — Single entity
  • POST /api/v1/checklist_templates — Create
  • PATCH /api/v1/checklist_templates/<id> — Partial update
  • DELETE /api/v1/checklist_templates/<id> — Soft delete
  • GET /api/v1/checklist_templates/<id>/timeline — Audit + activities

Search