API · v1 · estable
CODEMETA OSDeveloper Center
ES
Abrir la consola
Entidad · checklists

Checklist Schema

ID del esquema
checklist
Colección
checklists
Permisos
  • Leerchecklist_view
  • Crearchecklist_create
  • Modificarchecklist_edit
  • Eliminarchecklist_delete

Campos

Checklist Schema

checklists4 permisos

Schema for validating checklist entities

titlestringobligatorio

Checklist title

1–200 caracteres
descriptionstringopcional

Checklist description

máx. 2000 caracteresadmite null
statusstringobligatorio

Checklist status

OPENIN_PROGRESSCOMPLETEDCANCELLED
templateIduuidopcional

Template UUID this checklist was created from

admite null
blocksCompletionbooleanopcional

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

Valor por defecto: falseadmite null
blocksExitFromStatusstringopcional

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

admite null
linkedEntityTypestringobligatorio

Type of entity this checklist is linked to

1–64 caracteres
linkedEntityIduuidobligatorio

UUID of the linked entity

progressnumberopcional

Progress percentage (0-100), computed from items

0 – 100Valor por defecto: 0
itemsobject[]obligatorio
Valor por defecto: []
itemIduuidobligatorio

Unique item identifier (UUID)

titlestringobligatorio

Item title

1–200 caracteres
descriptionstringopcional

Item description

máx. 1000 caracteresadmite null
knowledgeRefsobject[]opcional

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

Valor por defecto: []admite null
typestringobligatorio
kb_articlefileurlvideo
refIdstringobligatorio
máx. 1000 caracteres
labelstringobligatorio
máx. 200 caracteres
rolestringopcional
guidereferencetraining
Valor por defecto: "reference"
statusstringobligatorio

Item status

PENDINGIN_PROGRESSPENDING_APPROVALDONESKIPPED
assigneeIduuidopcional

Assigned user UUID

admite null
dueDatedateopcional

Due date in YYYY-MM-DD format

admite null
dueOffsetobjectopcional

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

Valor por defecto: nulladmite null
valueintegerobligatorio
0 – 10000
unitstringobligatorio
mhdwmo
directionstringobligatorio
beforeafter
anchorstringobligatorio
startendcreatednow
anchorFieldstringopcional

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

máx. 100 caracteresPatrónValor por defecto: nulladmite null
completedAtdatetimeopcional

Completion timestamp

admite null
timeBookedAtdatetimeopcional

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

admite null
sortOrderintegerobligatorio

Sort order within the checklist

≥ 0
requiredbooleanopcional

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

Valor por defecto: falseadmite null
completedByuuidopcional

User UUID who completed this item

admite null
taskIduuidopcional

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

admite null
parentItemIduuidopcional

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

admite null
autoCompleteWhenSubsDonebooleanopcional

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.

Valor por defecto: trueadmite null
requireAllSubsDonebooleanopcional

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

Valor por defecto: falseadmite null
visibleIfobjectopcional

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

Valor por defecto: nulladmite null
terminatesIfobjectopcional

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

Valor por defecto: nulladmite null
answerKeystringopcional

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

máx. 40 caracteresPatrónValor por defecto: nulladmite null
inputobjectopcional

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

Valor por defecto: nulladmite null
typestringobligatorio
textnumberdatebooleanselectentity_ref
entityTypestringopcional
máx. 64 caracteresadmite null
optionsstring[]opcional
Valor por defecto: []admite null
requiredbooleanopcional
Valor por defecto: false
unitstringopcional
máx. 20 caracteresadmite null
minnumberopcional
admite null
maxnumberopcional
admite null
documentobjectopcional

Dokumente, die dieser Schritt erzeugt oder anfordert

admite null
documentsobject[]obligatorio
1–20 elementos
keystringobligatorio
1–100 caracteres
templateIdstringobligatorio
máx. 64 caracteres
titlestringopcional
máx. 255 caracteresadmite null
roleBindingsobjectopcional
admite null
startstringopcional
MANUALON_STEP_OPEN
Valor por defecto: "MANUAL"
reviewBeforeSendbooleanopcional
Valor por defecto: false
completeOnstringobligatorio
GENERATEDFILLEDSIGNED
bundlebooleanopcional
Valor por defecto: true
documentRunsobject[]opcional

Serverseitig: erzeugte Dokumente dieses Schritts

admite null
keystringobligatorio
máx. 100 caracteres
documentIdstringopcional
máx. 64 caracteresadmite null
envelopeIdstringopcional
máx. 64 caracteresadmite null
startedAtstringopcional
admite null
answerValueanyopcional

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

Valor por defecto: null
hiddenbooleanopcional

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

Valor por defecto: falseadmite null
hiddenReasonstringopcional

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

máx. 128 caracteresadmite null
injectedFromOptionIduuidopcional

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

admite null
injectedFromItemIduuidopcional

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

admite null
linkedTaskobjectopcional
admite null
enabledbooleanobligatorio
assigneeRuleobjectopcional
admite null
titleTemplatestringopcional
máx. 300 caracteresadmite null
dueDaysintegeropcional
0 – 3650admite null
dueOffsetobjectopcional

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

Valor por defecto: nulladmite null
valueintegerobligatorio
0 – 10000
unitstringobligatorio
mhdwmo
directionstringobligatorio
beforeafter
anchorstringobligatorio
startendcreatednow
anchorFieldstringopcional

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

máx. 100 caracteresPatrónValor por defecto: nulladmite null
prioritystringopcional
LOWNORMALHIGHCRITICAL
admite null
guardsobject[]opcional

Guards that must pass before this item can be checked

Valor por defecto: []admite null
typestringobligatorio
1–64 caracteres
paramsobjectopcional
admite null
labelstringopcional
admite null
actionsobject[]opcional

Actions that fire when this item is checked

Valor por defecto: []admite null
typestringobligatorio
1–64 caracteres
paramsobjectopcional
admite null
labelstringopcional
admite null
phasestringopcional
onEnteronExit
admite null
approvalobjectopcional
admite null
requiredbooleanobligatorio
approverTypestringopcional
roleuserorg_unit_manager
admite null
approverValuestringopcional
máx. 200 caracteresadmite null
approvalRequestIduuidopcional

Open approval_request UUID while status=PENDING_APPROVAL

admite null
watchersobject[]opcional

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

Valor por defecto: []admite null
typestringobligatorio
1–64 caracteres
paramsobjectopcional
admite null
labelstringopcional
admite null
onTruestringopcional
completeskip
admite null
onFalsestringopcional
noopuncheck
admite null
debounceSecondsnumberopcional
≥ 0admite null
notifyOnFirebooleanopcional
admite null
lastWatcherEvalobjectopcional
admite null
atdatetimeopcional
watcherTypestringopcional
resultstringopcional
matchedunmatchederror
inventoryHashstringopcional
admite null
errorMessagestringopcional
admite null
choiceobjectopcional

Scenario selector; each option carries its own completion actions

admite null
modestringopcional

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

singlemulti
Valor por defecto: "single"
requiredbooleanopcional

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

Valor por defecto: falseadmite null
optionsobject[]obligatorio
Valor por defecto: []
optionIduuidobligatorio
labelstringobligatorio
1–200 caracteres
sortOrderintegeropcional
≥ 0admite null
injectobjectopcional

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.

Valor por defecto: nulladmite null
checklistTemplateIduuidobligatorio
groupedbooleanopcional

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

Valor por defecto: true
answerKeyPrefixstringopcional

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

máx. 40 caracteresPatrónadmite null
actionsobject[]opcional
Valor por defecto: []admite null
typestringobligatorio
1–64 caracteres
paramsobjectopcional
admite null
labelstringopcional
admite null
phasestringopcional
onEnteronExit
admite null
selectedOptionIdsuuid[]opcional

Selected choice-option ids recorded on check-off

Valor por defecto: []admite null
answersobjectopcional

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

Valor por defecto: {}admite null
answerHistoryobject[]opcional

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

Valor por defecto: []admite null
keystringobligatorio
máx. 80 caracteres
fromanyopcional
toanyopcional
atdatetimeobligatorio
byuuidopcional
admite null
terminationReasonstringopcional

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

máx. 500 caracteresadmite null
terminatedByItemIduuidopcional

The step whose `terminatesIf` fired.

admite null
tagsstring[]opcional

Checklist tags

Valor por defecto: []admite null
completedAtdatetimeopcional

Timestamp when the checklist transitioned to COMPLETED

admite null
cancelledAtdatetimeopcional

Timestamp when the checklist transitioned to CANCELLED

admite null
cancelReasonstringopcional

Required reason text set when the checklist is cancelled

máx. 500 caracteresadmite null
reopenReasonstringopcional

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

máx. 500 caracteresadmite null
deadlinedatetimeopcional

Deadline by which the checklist should reach COMPLETED

admite null
responsibleUserIduuidopcional

User responsible for the whole checklist

admite null
responsiblePositionIduuidopcional

Position the responsible user was resolved from (informational)

admite null
deadlineEscalationobjectopcional

Who to notify when this checklist misses its deadline

admite null
notifyRecipientstringobligatorio
1–64 caracteres
channelsstring[]opcional
Valor por defecto: []
deadlineEscalatedAtdatetimeopcional

Timestamp the deadline escalation notification was sent

admite null
stalledAtdatetimeopcional

Timestamp the checklist was flagged as STALLED

admite null
autoTransitionobjectopcional

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

solo lecturaadmite null
entityTypestringopcional
entityIdstringopcional
fromstringopcional
tostringopcional
atdatetimeopcional
byUserIdstringopcional
admite null
undoRequestedAtdatetimeopcional
admite null
undoneAtdatetimeopcional
admite null

Endpoints estándar

Este recurso sigue el contrato CRUD genérico de la plataforma. Lea las convenciones sobre paginación, idempotencia, bloqueo optimista y auditoría. Los endpoints principales:

  • GET /api/v1/checklists — Lista, paginada y filtrable
  • GET /api/v1/checklists/<id> — Una entidad
  • POST /api/v1/checklists — Crear
  • PATCH /api/v1/checklists/<id> — Actualización parcial
  • DELETE /api/v1/checklists/<id> — Eliminación lógica
  • GET /api/v1/checklists/<id>/timeline — Auditoría y actividades

Búsqueda