Skip to main content

Ubiquitous Language

As built

Derived from network/model/model.yaml. This context's service is built; the model carries its as-built contracts, and identifiers (Err... names, routes, CloudEvents types) are the names the service uses.

The code identifiers are the proposed Go names (package.Type) from the model's ul entries. Where the model gives no ul code, the identifier is the model's value-object, policy or field name and is marked (model field). The network-wide glossary is on Ubiquitous Language.

This context's terms​

The first six rows are the ul entries of contexts[order-sourcing], word for word. The rest name the value objects, policies and fields the model gives this context.

TermDefinitionCode identifierNot to be confused with
Fulfillment AssignmentThe decision of which node and path fulfil one shipment group.assignment.FulfillmentAssignmentThe Promise, which only proves one feasible path exists.
Virtual QueueWhere assignments wait, re-optimisable, until their release point.assignment.VirtualQueueA queue at the vendor node. Nothing has reached any node while an assignment is queued.
Release (to node)Sending a group to one node; for a vendor node this issues a purchase order.assignment.ReleasePromise release (PromiseReleased, a provisional hold that expired in delivery-promise).
Path LockThe point after which an assignment never changes node: the vendor's acceptance.assignment.LockThe vendor's pick, which the network cannot see. The acceptance stands in for it.
ReassignmentMoving a group to another node after a refusal, or while still queued.assignment.ReassignA Re-promise, which changes the customer's window. A reassignment never does.
UnsourceableNo node can still meet the promise; the group goes back to delivery-promise.assignment.StateUnsourceableA broken promise. Unsourceable is raised before the deadline, so the promise can still be revised.
Promise ConstraintWhat the assignment must honour: promiseId, tier, optional deliverByEarliest, deliverByLatest, witnessNodeId.PromiseConstraint (model value object)The full PromiseTerms of delivery-promise. Only these fields cross.
CandidateOne feasible way to fulfil the group: node, pickup departure, legs, delivery wave, eta, cost.Candidate (model value object)The Witness Path. The witness is one candidate; the best candidate may be another.
Release recordOne attempt to send the group to a node: releaseNo, nodeId, releasedAt, requiredShipBy, outcome (ACCEPTED, REJECTED, EXPIRED, PENDING, WITHDRAWN), reasonCode.Release (model value object)The purchase order. A release names a PO by assignmentId + releaseNo; the PO is owned by vendor-connectivity.
Release pointThe instant an assignment leaves the queue: best candidate's pickup cutoff minus node handling time minus vendor ack budget; immediately for SAME_DAY.releaseAt (model field, VirtualQueue policy)ackBy, the vendor's acknowledgement deadline, which vendor-connectivity computes after the release.
Vendor ack budgetThe time reserved, before handling must start, for the vendor to acknowledge.(model term in VirtualQueue)The vendor's ack window (1h to 24h, per vendor account).
Excluded NodeA node that refused this group, with the reason. Never released to again for the same promise revision.ExcludedNode (model value object); ErrNodeExcludedA suspended node (NodeSuspended), which is unavailable to every group.
Assignment CostEffective cost in cents first, then legs + crossRegionPenalty + scorecardPenalty + bookPressurePenalty; ties go to the witness node.AssignmentCost (model policy)The scorecard Handicap of delivery-promise, which delays a promise's shipBy. The scorecard penalty only ranks candidates.
Sourcing PolicyThe operator's versioned lever: a cross-region surcharge in cents, a deviation percent and a cap on merged groups; version 0 is the default and changes nothing.policy.Policy (model aggregate SourcingPolicy)delivery-promise's PromisePolicy, which it is modelled on and which governs quotes.
Effective CostThe estimated cost of a candidate plus the policy's cross-region surcharge; the leading key of the comparator.EffectiveCostCents (model term)The estimate itself (estimatedCostCents).
Carbon EstimateThe estimated carbon footprint of a candidate path in planner-declared grams of CO2e: the per-unit lane emissions of every departure traversed plus the final wave's per-stop emission. Recorded beside the money estimate and never used to rank; absent on the wire when a component was not declared.Candidate.EstimatedCo2eGrams (model policy CarbonEstimate)Effective Cost, which is money and does lead the comparator.
CarrierThe QUEUED assignment whose release is due and which carries a consolidation merge; one purchase order, one label and one tracking number carry its id.Assignment.Members (model value object ConsolidationLink)The vendor's carrier of a package.
FollowerA QUEUED assignment absorbed into a carrier's release; it keeps its own events and locks, ships and delivers with the carrier.Assignment.ConsolidatedIntoA re-queued member of a dissolved merge, which is just a queued group again.
Consolidation KeyAn opaque keyed hash of one shopper and one address, derived by customer-ordering and carried on the placed order; absent means the group never merges.consolidationKey (model value object)The ship-to address, which this context never sees.
Book pressureKnowing that a node's promise book for a cutoff is exhausted, used as a cost penalty.PromiseBookPressureView (model read model)Departure capacity, which linehaul-transportation owns.
Assignment versionA counter that strictly increases with every change of the assignment.assignmentVersion (model field); ErrStaleAssignmentVersionnode-topology's service-area assignmentVersion, an unrelated counter with the same name.
Fill-or-killA group goes to one node in full; a partial answer is not a thing.(business decision)Shipment grouping, decided earlier by delivery-promise.

Neighbour terms this context uses​

TermDefinition (from the owner's ul)Owner and code identifierNot to be confused with
Shipment GroupThe lines of an order promised and shipped together from one node.delivery-promise, promise.ShipmentGroup; here groupNoA package. A group may ship as several packages (trackingNumbers).
PromiseThe network's commitment of a delivery window for one shipment group.delivery-promise, promise.PromiseThe assignment, which decides how the promise is kept.
Witness PathThe concrete node, pickup, departures and delivery wave that prove a promise is feasible; order-sourcing may choose a different path later.delivery-promise, promise.WitnessPath; here witnessNodeIdThe assigned path.
Service TierSAME_DAY, NEXT_DAY, TWO_DAY, STANDARD or the opt-in CONSOLIDATED.delivery-promise, promise.Tier—
Deliver-By WindowdeliverByEarliest..deliverByLatest shown to the customer.delivery-promise, promise.PromiseTermsOnly deliverByLatest binds this context.
Ship-ByThe pickup cutoff at the witness node the package must be ready for.delivery-promise, promise.PromiseTerms.ShipByRequired Ship-By, which is the cutoff of the assigned node.
Re-promiseRevising a confirmed promise to a later window when its path is no longer feasible.delivery-promise, promise.Promise.Revise; event PromiseRevisedA reassignment.
Promise BookCapacity ledger of one node pickup cutoff on the promise side.delivery-promise, book.PromiseBook; event PromiseBookExhaustedDeparture capacity.
Purchase Order (PO)The instruction to one vendor node to ship one shipment group in full by requiredShipBy.vendor-connectivity, po.PurchaseOrder; poNumberThe release. One release produces at most one PO.
AcknowledgementThe vendor's single, whole-order accept or reject.vendor-connectivity, po.AckDecisionThe lock. Only an ACCEPT that succeeds locks.
Ack Window / ackByThe deadline for the acknowledgement.vendor-connectivity, po.PurchaseOrder.AckByThe release point.
Required Ship-ByThe pickup cutoff the PO must be ready for; the fleet calls it the CPT.vendor-connectivity, po.PurchaseOrder.RequiredShipBy; here Release.requiredShipByThe promise's Ship-By at the witness node.
VendorAn organisation operating fulfillment nodes for the network (the warehouse-systems fleet is vendor V-WS).vendor-connectivity, vendor.VendorAccountA node. One vendor may operate many nodes.
NodeOne physical building of the network, of exactly one node type.node-topology, node.Node—
Node OperatorWho runs the building: NETWORK or a VENDOR.node-topology, node.OperatorEvery FULFILLMENT_CENTER, hence every release target, is VENDOR-operated.
Operational ProfileThe node's declared operating hours, cutoffs, handling time, throughput cap and time zone, versioned by profileRevision.node-topology, node.OperationalProfileThe measured Scorecard.
CutoffA local time by which a node declares packages are ready to be handed over; the network schedules one pickup departure per cutoff.node-topology, node.CutoffSlot—
Handling TimeDeclared time from order release to a package ready for handover.node-topology, node.OperationalProfile.HandlingTime—
RegionA largely self-sufficient partition of the network.node-topology, region.Region; drives crossRegionPenalty—
Service AreaThe postal prefixes one delivery station serves.node-topology, servicearea.ServiceArea—
LaneA directed, mode-specific connection between two nodes.node-topology, lane.LaneA departure on that lane.
ListingA catalogue item offered from one node.offer-availability, listing.Listing; listingIdThe catalogue item. A release carries both catalogItemId and listingId.
Available QuantityWhat a node claims it can ship now for one listing.offer-availability, listing.Availability.AvailableQtyStock reserved for this group. This context reserves nothing at a node.
Pickup DepartureThe departure that collects packages at a vendor node at one of its declared cutoffs.linehaul-transportation, departure.KindPickup; pickupDepartureId—
DepartureOne scheduled trip on a lane with a cutoff and a capacity.linehaul-transportation, departure.Departure; legs[]—
Delivery WaveA station's dispatch slot: induct cutoff, delivery window and stop capacity.last-mile-delivery, wave.DeliveryWave; deliveryWaveId—
ScorecardA node's measured performance over a rolling window, with a grade.node-performance, scorecard.NodeScorecardThe declared profile.
GradeA, B, C or D; PROVISIONAL below the observation minimum.node-performance, scorecard.Grade—
Tracking NumberThe network-wide unique id of one package.shipping-and-tracking, journey.TrackingNumberThe group.
Customer OrderWhat the shopper bought, with a promise per shipment group.customer-ordering, order.CustomerOrder; orderIdThe assignment, one per group of the order.

No fleet translation table is needed here: this context never touches the warehouse-systems fleet. Only vendor-connectivity and node-topology do; the canonical mapping is on WMS/WES integration.