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

Checklist Schema

Schema-ID
checklist
Collection
checklists
Permissions
  • Lezenchecklist_view
  • Aanmakenchecklist_create
  • Wijzigenchecklist_edit
  • Verwijderenchecklist_delete

Velden

Checklist Schema

checklists4 permissions

Schema for validating checklist entities

titlestringvereist

Checklist title

1–200 tekens
descriptionstringoptioneel

Checklist description

max. 2000 tekensnullable
statusstringvereist

Checklist status

OPENIN_PROGRESSCOMPLETEDCANCELLED
templateIduuidoptioneel

Template UUID this checklist was created from

nullable
blocksCompletionbooleanoptioneel

Whether this checklist blocks the linked entity's completion until COMPLETED

Default: falsenullable
blocksExitFromStatusstringoptioneel

Status key whose exit this checklist blocks (e.g. IN_REVIEW_TECH). Absent = legacy completion gate.

nullable
linkedEntityTypestringvereist

Type of entity this checklist is linked to

1–64 tekens
linkedEntityIduuidvereist

UUID of the linked entity

progressnumberoptioneel

Progress percentage (0-100), computed from items

0 – 100Default: 0
itemsobject[]vereist
Default: []
itemIduuidvereist

Unique item identifier (UUID)

titlestringvereist

Item title

1–200 tekens
descriptionstringoptioneel

Item description

max. 1000 tekensnullable
knowledgeRefsobject[]optioneel

Per-step knowledge/KB links (guide/reference/training)

Default: []nullable
typestringvereist
kb_articlefileurlvideo
refIdstringvereist
max. 1000 tekens
labelstringvereist
max. 200 tekens
rolestringoptioneel
guidereferencetraining
Default: "reference"
statusstringvereist

Item status

PENDINGIN_PROGRESSPENDING_APPROVALDONESKIPPED
assigneeIduuidoptioneel

Assigned user UUID

nullable
dueDatedateoptioneel

Due date in YYYY-MM-DD format

nullable
dueOffsetobjectoptioneel

ADR 0831: relative due-date rule copied from the template item; `dueDate` is its resolved value.

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
completedAtdatetimeoptioneel

Completion timestamp

nullable
timeBookedAtdatetimeoptioneel

Timestamp the item was reported in a task time booking (ADR 0307)

nullable
sortOrderintegervereist

Sort order within the checklist

≥ 0
requiredbooleanoptioneel

Whether this item must be completed before the linked task can be closed

Default: falsenullable
completedByuuidoptioneel

User UUID who completed this item

nullable
taskIduuidoptioneel

Optional linked Task. Completing/skipping the item flips the linked task to DONE/CANCELLED and vice versa.

nullable
parentItemIduuidoptioneel

UUID of the parent item. Null/missing for top-level items. Sub-items inherit visibility/cascade from their parent.

nullable
autoCompleteWhenSubsDonebooleanoptioneel

When true, the parent item is auto-set to DONE once all its sub-items reach DONE/SKIPPED. Only meaningful for items that have sub-items.

Default: truenullable
requireAllSubsDonebooleanoptioneel

When true, manually checking the parent fails (422) until every sub-item is DONE/SKIPPED. Enforced server-side as a synthetic guard.

Default: falsenullable
visibleIfobjectoptioneel

ADR 0511: condition under which this step is part of the run. Copied from the template at spawn.

Default: nullnullable
terminatesIfobjectoptioneel

ADR 0511: when this holds, the checklist completes early. Copied from the template at spawn.

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
documentRunsobject[]optioneel

Serverseitig: erzeugte Dokumente dieses Schritts

nullable
keystringvereist
max. 100 tekens
documentIdstringoptioneel
max. 64 tekensnullable
envelopeIdstringoptioneel
max. 64 tekensnullable
startedAtstringoptioneel
nullable
answerValueanyoptioneel

ADR 0511: raw value entered on a typed input step.

Default: null
hiddenbooleanoptioneel

ADR 0511: the step is not part of the run under the current answers. Excluded from progress, gates and watchers — never deleted.

Default: falsenullable
hiddenReasonstringoptioneel

Machine-readable cause, e.g. `answer:backup_status` or `parent:<itemId>`. Rendered as the "nicht mehr relevant" explanation.

max. 128 tekensnullable
injectedFromOptionIduuidoptioneel

Set on steps inserted by a choice option carrying `inject`.

nullable
injectedFromItemIduuidoptioneel

The choice item whose option inserted this step (for removal on change).

nullable
linkedTaskobjectoptioneel
nullable
enabledbooleanvereist
assigneeRuleobjectoptioneel
nullable
titleTemplatestringoptioneel
max. 300 tekensnullable
dueDaysintegeroptioneel
0 – 3650nullable
dueOffsetobjectoptioneel

ADR 0831: relative due-date rule of the linked task, copied from the template.

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
guardsobject[]optioneel

Guards that must pass before this item can be checked

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

Actions that fire when this item is checked

Default: []nullable
typestringvereist
1–64 tekens
paramsobjectoptioneel
nullable
labelstringoptioneel
nullable
phasestringoptioneel
onEnteronExit
nullable
approvalobjectoptioneel
nullable
requiredbooleanvereist
approverTypestringoptioneel
roleuserorg_unit_manager
nullable
approverValuestringoptioneel
max. 200 tekensnullable
approvalRequestIduuidoptioneel

Open approval_request UUID while status=PENDING_APPROVAL

nullable
watchersobject[]optioneel

Reactive watchers that auto-complete this item when a data-provider condition matches

Default: []nullable
typestringvereist
1–64 tekens
paramsobjectoptioneel
nullable
labelstringoptioneel
nullable
onTruestringoptioneel
completeskip
nullable
onFalsestringoptioneel
noopuncheck
nullable
debounceSecondsnumberoptioneel
≥ 0nullable
notifyOnFirebooleanoptioneel
nullable
lastWatcherEvalobjectoptioneel
nullable
atdatetimeoptioneel
watcherTypestringoptioneel
resultstringoptioneel
matchedunmatchederror
inventoryHashstringoptioneel
nullable
errorMessagestringoptioneel
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
selectedOptionIdsuuid[]optioneel

Selected choice-option ids recorded on check-off

Default: []nullable
answersobjectoptioneel

ADR 0511: answers given so far, keyed by the steps' `answerKey`.

Default: {}nullable
answerHistoryobject[]optioneel

Audit trail of answer changes — the record of WHY steps appeared or disappeared.

Default: []nullable
keystringvereist
max. 80 tekens
fromanyoptioneel
toanyoptioneel
atdatetimevereist
byuuidoptioneel
nullable
terminationReasonstringoptioneel

Set when a step's `terminatesIf` completed the checklist early.

max. 500 tekensnullable
terminatedByItemIduuidoptioneel

The step whose `terminatesIf` fired.

nullable
tagsstring[]optioneel

Checklist tags

Default: []nullable
completedAtdatetimeoptioneel

Timestamp when the checklist transitioned to COMPLETED

nullable
cancelledAtdatetimeoptioneel

Timestamp when the checklist transitioned to CANCELLED

nullable
cancelReasonstringoptioneel

Required reason text set when the checklist is cancelled

max. 500 tekensnullable
reopenReasonstringoptioneel

Required reason text set when a COMPLETED checklist is re-opened

max. 500 tekensnullable
deadlinedatetimeoptioneel

Deadline by which the checklist should reach COMPLETED

nullable
responsibleUserIduuidoptioneel

User responsible for the whole checklist

nullable
responsiblePositionIduuidoptioneel

Position the responsible user was resolved from (informational)

nullable
deadlineEscalationobjectoptioneel

Who to notify when this checklist misses its deadline

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

Timestamp the deadline escalation notification was sent

nullable
stalledAtdatetimeoptioneel

Timestamp the checklist was flagged as STALLED

nullable
autoTransitionobjectoptioneel

Automatic workflow transition fired on the linked entity (ADR 0912)

read-onlynullable
entityTypestringoptioneel
entityIdstringoptioneel
fromstringoptioneel
tostringoptioneel
atdatetimeoptioneel
byUserIdstringoptioneel
nullable
undoRequestedAtdatetimeoptioneel
nullable
undoneAtdatetimeoptioneel
nullable

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

Zoeken