stageconstconst stage: CodeList<string, string>The stages a message passes, each in its own terms of success.
The flow model (commons data 0060-flow-ledger): what it takes to say, for any message or batch that was accepted, how far it got and why it stopped. It is the stage-contract ledger of the book "Accepted Is Not Correct" (chapter 1) with its load IDs, the idempotent intake of chapter 6 (a delivery is first, a duplicate or a conflict) and the reconciliation of chapter 11 (a manifest, the counts at each stage and the reason-coded losses, so that nothing is unexplained). It names no domain: a message, a batch and an entity are what a pipeline moves. It requires nothing, so a project takes it alone or with others.
stageconstconst stage: CodeList<string, string>The stages a message passes, each in its own terms of success.
outcomeconstno test imports itconst outcome: CodeList<string, string>What a stage says of one thing.
grainconstno test imports itconst grain: CodeList<string, string>How much a ledger row stands for.
loadTypeconstno test imports itconst loadType: CodeList<string, string>Why a load was made.
dispositionconstno test imports itconst disposition: CodeList<string, string>What an intake found.
conflictStatusconstno test imports itconst conflictStatus: CodeList<string, string>Where a conflict is.
producerconstno test imports itconst producer: CodeList<string, string>Who produces a reason code.
reasonconstno test imports itconst reason: AnyConceptA reason a stage stopped something: a code, whose meaning is data.
loadconstconst load: AnyConceptA load: what is given an id at the first stage and carried on every later row and effect.
stageContractconstno test imports itconst stageContract: AnyConceptThe contract of a stage: what it guarantees in and out, and how its failure is found.
ledgerEntryconstno test imports itconst ledgerEntry: AnyConceptA row of the ledger: what one stage confirmed of one thing. Only ever added.
deliveryconstno test imports itconst delivery: AnyConceptThe idempotent intake of a delivery: the first time a message was seen, and how many times since.
deliveryConflictconstno test imports itconst deliveryConflict: AnyConceptA delivery with the same id and other content: never overwritten, kept to be decided.
manifestconstno test imports itconst manifest: AnyConceptWhat a sender says it sent.
batchStageconstno test imports itconst batchStage: AnyConceptHow many entities of a batch were at a stage.
lossconstno test imports itconst loss: AnyConceptEntities lost between two stages, with the reason.
flowModuleconstno test imports itconst flowModule: ModuleThe flow model: loads, the stage ledger, intake and its conflicts, and the manifest with its funnel.