API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la console
Entité · checklists

Checklist Schema

ID du schéma
checklist
Collection
checklists
Autorisations
  • Lirechecklist_view
  • Créerchecklist_create
  • Modifierchecklist_edit
  • Supprimerchecklist_delete

Champs

Checklist Schema

checklists4 autorisations

Schema for validating checklist entities

titlestringobligatoire

Checklist title

1–200 caractères
descriptionstringfacultatif

Checklist description

max. 2000 caractèresnullable
statusstringobligatoire

Checklist status

OPENIN_PROGRESSCOMPLETEDCANCELLED
templateIduuidfacultatif

Template UUID this checklist was created from

nullable
blocksCompletionbooleanfacultatif

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

Par défaut : falsenullable
blocksExitFromStatusstringfacultatif

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

nullable
linkedEntityTypestringobligatoire

Type of entity this checklist is linked to

1–64 caractères
linkedEntityIduuidobligatoire

UUID of the linked entity

progressnumberfacultatif

Progress percentage (0-100), computed from items

0 – 100Par défaut : 0
itemsobject[]obligatoire
Par défaut : []
itemIduuidobligatoire

Unique item identifier (UUID)

titlestringobligatoire

Item title

1–200 caractères
descriptionstringfacultatif

Item description

max. 1000 caractèresnullable
knowledgeRefsobject[]facultatif

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

Par défaut : []nullable
typestringobligatoire
kb_articlefileurlvideo
refIdstringobligatoire
max. 1000 caractères
labelstringobligatoire
max. 200 caractères
rolestringfacultatif
guidereferencetraining
Par défaut : "reference"
statusstringobligatoire

Item status

PENDINGIN_PROGRESSPENDING_APPROVALDONESKIPPED
assigneeIduuidfacultatif

Assigned user UUID

nullable
dueDatedatefacultatif

Due date in YYYY-MM-DD format

nullable
dueOffsetobjectfacultatif

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

Par défaut : nullnullable
valueintegerobligatoire
0 – 10000
unitstringobligatoire
mhdwmo
directionstringobligatoire
beforeafter
anchorstringobligatoire
startendcreatednow
anchorFieldstringfacultatif

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

max. 100 caractèresMotifPar défaut : nullnullable
completedAtdatetimefacultatif

Completion timestamp

nullable
timeBookedAtdatetimefacultatif

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

nullable
sortOrderintegerobligatoire

Sort order within the checklist

≥ 0
requiredbooleanfacultatif

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

Par défaut : falsenullable
completedByuuidfacultatif

User UUID who completed this item

nullable
taskIduuidfacultatif

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

nullable
parentItemIduuidfacultatif

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

nullable
autoCompleteWhenSubsDonebooleanfacultatif

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.

Par défaut : truenullable
requireAllSubsDonebooleanfacultatif

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

Par défaut : falsenullable
visibleIfobjectfacultatif

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

Par défaut : nullnullable
terminatesIfobjectfacultatif

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

Par défaut : nullnullable
answerKeystringfacultatif

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

max. 40 caractèresMotifPar défaut : nullnullable
inputobjectfacultatif

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

Par défaut : nullnullable
typestringobligatoire
textnumberdatebooleanselectentity_ref
entityTypestringfacultatif
max. 64 caractèresnullable
optionsstring[]facultatif
Par défaut : []nullable
requiredbooleanfacultatif
Par défaut : false
unitstringfacultatif
max. 20 caractèresnullable
minnumberfacultatif
nullable
maxnumberfacultatif
nullable
documentobjectfacultatif

Dokumente, die dieser Schritt erzeugt oder anfordert

nullable
documentsobject[]obligatoire
1–20 éléments
keystringobligatoire
1–100 caractères
templateIdstringobligatoire
max. 64 caractères
titlestringfacultatif
max. 255 caractèresnullable
roleBindingsobjectfacultatif
nullable
startstringfacultatif
MANUALON_STEP_OPEN
Par défaut : "MANUAL"
reviewBeforeSendbooleanfacultatif
Par défaut : false
completeOnstringobligatoire
GENERATEDFILLEDSIGNED
bundlebooleanfacultatif
Par défaut : true
documentRunsobject[]facultatif

Serverseitig: erzeugte Dokumente dieses Schritts

nullable
keystringobligatoire
max. 100 caractères
documentIdstringfacultatif
max. 64 caractèresnullable
envelopeIdstringfacultatif
max. 64 caractèresnullable
startedAtstringfacultatif
nullable
answerValueanyfacultatif

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

Par défaut : null
hiddenbooleanfacultatif

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

Par défaut : falsenullable
hiddenReasonstringfacultatif

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

max. 128 caractèresnullable
injectedFromOptionIduuidfacultatif

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

nullable
injectedFromItemIduuidfacultatif

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

nullable
linkedTaskobjectfacultatif
nullable
enabledbooleanobligatoire
assigneeRuleobjectfacultatif
nullable
titleTemplatestringfacultatif
max. 300 caractèresnullable
dueDaysintegerfacultatif
0 – 3650nullable
dueOffsetobjectfacultatif

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

Par défaut : nullnullable
valueintegerobligatoire
0 – 10000
unitstringobligatoire
mhdwmo
directionstringobligatoire
beforeafter
anchorstringobligatoire
startendcreatednow
anchorFieldstringfacultatif

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

max. 100 caractèresMotifPar défaut : nullnullable
prioritystringfacultatif
LOWNORMALHIGHCRITICAL
nullable
guardsobject[]facultatif

Guards that must pass before this item can be checked

Par défaut : []nullable
typestringobligatoire
1–64 caractères
paramsobjectfacultatif
nullable
labelstringfacultatif
nullable
actionsobject[]facultatif

Actions that fire when this item is checked

Par défaut : []nullable
typestringobligatoire
1–64 caractères
paramsobjectfacultatif
nullable
labelstringfacultatif
nullable
phasestringfacultatif
onEnteronExit
nullable
approvalobjectfacultatif
nullable
requiredbooleanobligatoire
approverTypestringfacultatif
roleuserorg_unit_manager
nullable
approverValuestringfacultatif
max. 200 caractèresnullable
approvalRequestIduuidfacultatif

Open approval_request UUID while status=PENDING_APPROVAL

nullable
watchersobject[]facultatif

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

Par défaut : []nullable
typestringobligatoire
1–64 caractères
paramsobjectfacultatif
nullable
labelstringfacultatif
nullable
onTruestringfacultatif
completeskip
nullable
onFalsestringfacultatif
noopuncheck
nullable
debounceSecondsnumberfacultatif
≥ 0nullable
notifyOnFirebooleanfacultatif
nullable
lastWatcherEvalobjectfacultatif
nullable
atdatetimefacultatif
watcherTypestringfacultatif
resultstringfacultatif
matchedunmatchederror
inventoryHashstringfacultatif
nullable
errorMessagestringfacultatif
nullable
choiceobjectfacultatif

Scenario selector; each option carries its own completion actions

nullable
modestringfacultatif

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

singlemulti
Par défaut : "single"
requiredbooleanfacultatif

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

Par défaut : falsenullable
optionsobject[]obligatoire
Par défaut : []
optionIduuidobligatoire
labelstringobligatoire
1–200 caractères
sortOrderintegerfacultatif
≥ 0nullable
injectobjectfacultatif

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.

Par défaut : nullnullable
checklistTemplateIduuidobligatoire
groupedbooleanfacultatif

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

Par défaut : true
answerKeyPrefixstringfacultatif

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

max. 40 caractèresMotifnullable
actionsobject[]facultatif
Par défaut : []nullable
typestringobligatoire
1–64 caractères
paramsobjectfacultatif
nullable
labelstringfacultatif
nullable
phasestringfacultatif
onEnteronExit
nullable
selectedOptionIdsuuid[]facultatif

Selected choice-option ids recorded on check-off

Par défaut : []nullable
answersobjectfacultatif

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

Par défaut : {}nullable
answerHistoryobject[]facultatif

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

Par défaut : []nullable
keystringobligatoire
max. 80 caractères
fromanyfacultatif
toanyfacultatif
atdatetimeobligatoire
byuuidfacultatif
nullable
terminationReasonstringfacultatif

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

max. 500 caractèresnullable
terminatedByItemIduuidfacultatif

The step whose `terminatesIf` fired.

nullable
tagsstring[]facultatif

Checklist tags

Par défaut : []nullable
completedAtdatetimefacultatif

Timestamp when the checklist transitioned to COMPLETED

nullable
cancelledAtdatetimefacultatif

Timestamp when the checklist transitioned to CANCELLED

nullable
cancelReasonstringfacultatif

Required reason text set when the checklist is cancelled

max. 500 caractèresnullable
reopenReasonstringfacultatif

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

max. 500 caractèresnullable
deadlinedatetimefacultatif

Deadline by which the checklist should reach COMPLETED

nullable
responsibleUserIduuidfacultatif

User responsible for the whole checklist

nullable
responsiblePositionIduuidfacultatif

Position the responsible user was resolved from (informational)

nullable
deadlineEscalationobjectfacultatif

Who to notify when this checklist misses its deadline

nullable
notifyRecipientstringobligatoire
1–64 caractères
channelsstring[]facultatif
Par défaut : []
deadlineEscalatedAtdatetimefacultatif

Timestamp the deadline escalation notification was sent

nullable
stalledAtdatetimefacultatif

Timestamp the checklist was flagged as STALLED

nullable
autoTransitionobjectfacultatif

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

lecture seulenullable
entityTypestringfacultatif
entityIdstringfacultatif
fromstringfacultatif
tostringfacultatif
atdatetimefacultatif
byUserIdstringfacultatif
nullable
undoRequestedAtdatetimefacultatif
nullable
undoneAtdatetimefacultatif
nullable

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/checklists — Liste, paginée et filtrable
  • GET /api/v1/checklists/<id> — Une entité
  • POST /api/v1/checklists — Créer
  • PATCH /api/v1/checklists/<id> — Mise à jour partielle
  • DELETE /api/v1/checklists/<id> — Suppression logique
  • GET /api/v1/checklists/<id>/timeline — Audit et activités

Recherche