Skip to main content

Ubiquitous language

The first table is this context's own language, with the identifier each term has in the code. The second lists neighbour terms this context reads through its event-fed read models; they keep the owner's meaning. The domain-wide glossary is on the aggregator (ubiquitous language).

This context's terms​

TermDefinitionCode identifierNot to be confused with
Delivery OfferA quoted delivery window for one shipment group at one tier, valid until it expires. Holds no capacity.offer.Offer (internal/domain/offer)Promise: an offer commits nothing. Listing (offer-availability): what can be sold from a node, not when it arrives
Service TierSAME_DAY, NEXT_DAY, TWO_DAY or STANDARD; bounds the calendar days of the window (0, 1, 2, 7). A fifth tier, CONSOLIDATED, is opt-in (up to 14 days, nominal fallback allowed, ADR 0024).shared.TierA Delivery Wave window: the tier bounds the days, the wave gives the hours
PromiseThe network's commitment of a delivery window for one shipment group of an order.promise.PromiseFulfillment Assignment (order-sourcing): which node actually ships. A promise names a witness, not an assignment
Ship-ByThe pickup cutoff at the witness node the package must be ready for.promise.Terms.ShipByRequired Ship-By on a vendor purchase order
Deliver-By WindowdeliverByEarliest to deliverByLatest shown to the customer, with the destination's timeZone.promise.Terms.Window, shared.WindowThe offer's window: the same shape before it becomes a promise
Witness PathThe concrete node, pickup departure, legs and delivery wave that prove a promise is feasible. order-sourcing may later choose a different path.shared.WitnessCandidate (order-sourcing): a path optimised for cost. The witness is proof, not a plan
Promise BasisSCHEDULED (from real departures and waves), MEASURED (a scheduled path whose arrival a lane's measured transit pushed later, ADR 0014) or NOMINAL (STANDARD only, from nominal lane times).shared.BasisAvailability Basis (offer-availability): about quantity, not time
Promise CalibrationThe buffer a quote adds, before the wave snap, to the arrival of a segment (tier, basis, node grade) from the lateness of its own judged promises, and the confidence the quote then carries: the observed share of the segment on time within that buffer, absent while the segment has too few judgements (ADR 0020).search.Calibrate, readmodel.CalibrationKey, shared.ConfidenceNode grade (node-performance): a scorecard of a node; the segment key only reads it
Promise BookThe capacity ledger of one node pickup cutoff on the promise side, bookId = nodeId:pickupDepartureId.book.BookDeparture capacity (linehaul-transportation): packages on a truck. The book counts orders against the node's share
Capacity HoldA provisional reservation on a book, released if the order is not placed in time.book.Book.Hold, field provisionalThe confirmed count, which only a placed order creates
ShareThe orders a book may hold for the cutoff, derived when the book opens from the node's profile and the policy's capacitySharePercent.book.Book field share, search.OpeningForThe node's Throughput Cap (declared by node-topology)
HandicapThe scorecard-driven delay of a node's ship-by: grade B multiplies handling time by 1.25, C skips one more feasible pickup, D two, A, PROVISIONAL and no scorecard add nothing.search.HandicapGrade (node-performance): the measurement. The handicap is this context's reaction
Fast-tier eligibilityWhether node-performance currently lets a node win SAME_DAY and NEXT_DAY, judged on its 7-day on-time handover and announced as NodeTierEligibilityChanged. An ineligible node is removed from those tiers' candidates of future quotes; a node never mentioned is eligible.readmodel.NodeTierEligibility, search.Input.TierIneligibleHandicap: a delay by the 30-day grade, never an exclusion
Re-promiseRevising a confirmed promise to a later window when its path is no longer feasible.promise.Promise.Revise, usecases.ReviseAtRiskReassignment (order-sourcing): moving the group to another node without changing the window
At riskA confirmed promise whose witness path stopped being feasible; carries a reason such as DEPARTURE_CANCELLED, or PREDICTED_LATE when a departure of its path ran past its expected arrival with no arrival seen (ADR 0021).promise.StateAtRisk, FlagAtRiskBroken: only judgement breaks a promise
UnkeepableRe-promising found no path at any tier; the promise stays AT_RISK.promise.Promise.MarkUnkeepableBroken
Promise Kept / BrokenThe judgement at delivery against deliverByLatest; a broken promise has cause LATE, LOST or RETURNED.promise.Judgement, promise.VerdictA Delivery Attempt outcome (last-mile-delivery)
Shipment GroupThe lines of an order promised and shipped together from one node.offer groupNo, promise groupNo, search.GroupLinesLoad (linehaul-transportation)
PolicyA versioned set of parameters: offer and hold TTL, packages per order, capacity share, per-tier order deadlines. Version 0 is the built-in default.policy.PolicyThe policies of the Event Storming vocabulary
Order DeadlinePer tier and optional region, the local HH:mm after which a tier is no longer quoted (PAST_ORDER_DEADLINE).policy.Deadline, Policy.PastDeadlineA node Cutoff
ConstraintWhy a tier has no offer: DESTINATION_NOT_SERVED, ITEM_QUANTITY_NOT_AVAILABLE, DELIVERY_SLA_UNAVAILABLE, NODE_CAPACITY_EXHAUSTED, PAST_ORDER_DEADLINE.search constraints, API OfferConstraintAn error: "no offer" is a normal 200 answer
RevisionOne re-promise: {no, previousTerms, reason, revisedAt}.promise.Revision
Hold expiryholdExpiresAt: the instant a provisional promise is released if no order confirmed it.promise.Promise.HoldExpiresAtThe offer's expiresAt
Order-by instantorderByAt: the latest instant the order can be placed and still make the quoted window's witness pickup cutoff — expiresAt's cutoff bound uncapped by the offer TTL.offer.Offer.OrderByAtA node Cutoff minus effective handling
Consolidated delivery dayThe local calendar date (consolidatedDeliveryDay, YYYY-MM-DD, the delivery station's zone) a shopper chooses for the opt-in CONSOLIDATED tier; without one, two local days after the fastest feasible window; never earlier than that window. The quote returns the tier only when it is listed or the day is named.QuoteCommand.ConsolidatedDeliveryDay, search.Input.ConsolidatedDayA Deliver-By Window (the day picks the wave, the wave gives the hours)
Consolidation eligibleconsolidationEligible, on a CONSOLIDATED offer and promise only: the chosen day leaves the network at least one local day after the fastest feasible window to merge the order with others. Computed from this service's own candidates; it never says another order exists. Omitted for every other tier, never false by default (ADR 0024).search.Candidate.ConsolidationEligible, offer.Offer.ConsolidationEligible, promise.Terms.ConsolidationEligibleA guarantee of a merge
Capacity bandcapacityBand: AMPLE (< 60%), TIGHT (60% to < 85%) or SCARCE (>= 85%) of the share of the PromiseBook behind an offer's window already held (provisional + confirmed), read at quote time and never stored. Omitted when the book has no finite capacity. A signal only: the network never computes a fee (ADR 0023).shared.CapacityBand, shared.CapacityBandForA price, or a Constraint (NODE_CAPACITY_EXHAUSTED means no room at all)
Read modelA local copy of another context's facts, fed only by events.rm_* tables, internal/application/readmodelAn aggregate: no invariant is enforced on it
Outbox / InboxEvents written with the aggregates and published later; consumed event ids claimed with their effect.outbox_events, processed_events

Neighbour terms this context uses​

TermOwnerMeaning here
Node, Node Type, Operational Profile, Cutoff, Handling Time, Throughput Capnode-topologyA building of the network, its declared hours, cutoffs and handling time. The witness node is the one node a promise names
Lane, Region, Service Areanode-topologyA directed connection between nodes, a partition of the network, and the postal prefixes one delivery station serves. The destination prefix is the key into the service area
Catalog Item, Listing, Available Quantityoffer-availabilityWhat a node can ship now. Book capacity counts orders, not units
Departure, Pickup Departurelinehaul-transportationOne scheduled trip on a lane with a cutoff and capacity; the departure that collects packages at a vendor node. A book is keyed by its id
Delivery Wavelast-mile-deliveryA station's dispatch slot: induct cutoff, delivery window and stop capacity. The wave's window becomes the promise window
Scorecard, Gradenode-performanceA node's measured performance and its A to D grade, PROVISIONAL below the observation minimum
Customer Order, Checkoutcustomer-orderingWhat the shopper bought, with a promise per shipment group. Checkout calls MakePromise once per group
Fulfillment Assignment, Path Lock, Unsourceableorder-sourcingThe decision of which node and path fulfil a group; the point after which the node never changes; no node can meet the promise any more
Package Journey, Tracking Numbershipping-and-trackingThe timeline of one package and its network-wide id. One tracking number may belong to several assignments when order-sourcing merges groups into one package; this context judges each sharing promise on its own window (ADR 0025)

Fleet translation​

None. This context never touches the warehouse-systems fleet: it consumes no warehouse.* topic and calls no fleet service. The fleet's words (CPT, process path) meet the network only in vendor-connectivity and node-topology.