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 network-wide glossary is on Ubiquitous Language. Code identifiers are the proposed Go names; (context) marks a term that names the context itself rather than a type.

This context's terms​

From contexts[linehaul-transportation].ul, plus the value objects and states of its aggregates.

TermDefinitionCode identifierNot to be confused with
Middle MileTransport between nodes: vendor node to sortation centre, sortation centre to delivery station, air.(context)Last Mile (last-mile-delivery: delivery station to the customer's door)
DepartureOne scheduled trip on a lane with a cutoff and a capacity.departure.DepartureLane (node-topology: the static connection a departure runs on)
Pickup DepartureThe departure that collects packages at a vendor node at one of its declared cutoffs.departure.KindPickupCutoff (the vendor's declared local time; the pickup departure is the network's trip generated from it)
Departure KindPICKUP, LINEHAUL or AIR.DepartureKind(PICKUP|LINEHAUL|AIR)Lane Mode (GROUND|AIR, a property of the lane, not of one trip)
Departure TimescutoffAt, departsAt, arrivesAt; cutoffAt <= departsAt < arrivesAt.Times{cutoffAt, departsAt, arrivesAt}Nominal Transit (the lane's planning figure in minutes)
CapacityPackages a departure can carry, and how many are booked. Remaining = capacity − booked.Capacity{packages, booked}Throughput Cap (a node's declared orders per time unit) and Promise Book capacity (delivery-promise's order ledger per pickup cutoff)
BookingCounting one package against a departure's capacity. Done on FulfillmentLocked (policy BookOnLock), except for a follower of a consolidation merge, whose lock books nothing.BookCapacity, ReleaseCapacityCapacity Hold (delivery-promise's provisional reservation at promise time)
Departure CutoffThe instant after which no booking is accepted on a departure (ErrDepartureClosed).Times.cutoffAtDelivery Wave induct cutoff (last-mile-delivery)
LoadThe packages consolidated onto one departure.load.LoadDeparture (the trip and its capacity; a load is what is physically put on it)
Lane ScheduleThe weekly template that generates a lane's departures.schedule.LaneScheduleDeparture (one concrete trip generated from a template slot)
HorizonThe 14 days of departures kept ahead by the nightly roll (policy HorizonRoll).GenerateDeparturesOperating day of a node (from its declared operating hours)
Expected volumeWhich assignments and labelled packages are heading for which pickup departure.read model ExpectedVolumeViewBooked (only locked assignments are booked)

Neighbour terms used here​

TermDefinition (owner)Code identifierNot to be confused with
NodeOne physical building of the network, of exactly one node type (node-topology).node.NodeNode Operator (who runs it: NETWORK or a VENDOR)
Node TypeFULFILLMENT_CENTER, INBOUND_CROSS_DOCK, RETURNS_CENTER, SORTATION_CENTER, DELIVERY_STATION or AIR_HUB (node-topology).node.TypeDeparture Kind
Operational ProfileThe node's declared operating hours, cutoffs, handling time, throughput cap and time zone, versioned by profileRevision (node-topology).node.OperationalProfileScorecard (node-performance: measured, not declared)
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.CutoffSlotDeparture Cutoff (cutoffAt of any departure)
LaneA directed, mode-specific connection between two nodes (node-topology).lane.LaneLane Schedule
Fulfillment AssignmentThe decision of which node and path fulfil one shipment group (order-sourcing).assignment.FulfillmentAssignmentLoad
Path LockThe point after which an assignment never changes node: the vendor's acceptance (order-sourcing).assignment.LockBooking (which follows the lock)
Ship-ByThe pickup cutoff at the witness node the package must be ready for (delivery-promise).promise.PromiseTerms.ShipByRequired Ship-By (the same instant on the purchase order, vendor-connectivity)
Witness PathThe concrete node, pickup, departures and delivery wave that prove a promise is feasible (delivery-promise).promise.WitnessPathCandidate (order-sourcing's possibly different path)
Re-promiseRevising a confirmed promise to a later window when its path is no longer feasible (delivery-promise).promise.Promise.ReviseDeparture cancellation (the fact that triggers it)
Tracking NumberThe network-wide unique id of one package (shipping-and-tracking).journey.TrackingNumberloadId
Shipping LabelWhat is printed on the package; the only artefact outside customer-ordering that carries the address (shipping-and-tracking). This context sees only LabelIssued without any address.label.ShippingLabelLoad
Delivery WaveA station's dispatch slot: induct cutoff, delivery window and stop capacity (last-mile-delivery).wave.DeliveryWaveDeparture
InductionPlacing an arrived package into a wave (last-mile-delivery).wave.InductPackageReceiveLoad (the arrival this context records)

No fleet translation table: this context does not touch the warehouse-systems fleet. The fleet calls the cutoff a vendor must meet the CPT; that translation lives with vendor-connectivity and WMS/WES integration.