Skip to main content

Ubiquitous language

The terms this context speaks, each with the identifier it has in the code on develop. The first table is the context's own vocabulary; the second holds the neighbour terms it uses by value (it imports nothing from a neighbour). The network-wide glossary is the aggregator's Ubiquitous Language.

This context's terms​

TermDefinitionCode identifierNot to be confused with
Catalog ItemThe network's own entry for a product, independent of who ships it: title, dimensions in mm, weight in grams, hazmat and fragile flags, optional GTIN and packaging hierarchy.catalog.ItemA Listing (the item offered from one node); a vendor's own SKU, which never appears here
ListingA catalogue item offered from one node, optionally for one seller's stock. One per (catalogItemId, nodeId, ownerRef).listing.ListingA Catalog Item; a Delivery Offer (delivery-promise), which is a quote with a delivery window
Available QuantityWhat a node claims it can ship now for one listing, in eaches. Never negative, at most 2147483647.listing.Availability.Qty (availableQty on the wire)Capacity held by delivery-promise; the vendor's physical stock, which this context only sees as a declared number
Availability BasisWhy the node gave that number: PHYSICAL, THROUGHPUT_CONSTRAINED or UNKNOWN. Kept as declared, never re-derived.listing.BasisPromise Basis (delivery-promise)
AvailabilityThe value object on a listing: quantity, basis, asOf, feedId. A listing that never had a feed has quantity 0 and basis UNKNOWN.listing.AvailabilityThe AvailabilityView read models of delivery-promise and order-sourcing, which are their copies
asOfThe instant the vendor's number is true for. Strictly increasing per listing: an update whose asOf is not after the current one is stale and skipped.listing.Availability.AsOfThe time the feed was applied (appliedAt)
Inventory FeedOne vendor submission of availability for one node, full or partial, applied atomically. Only counters are kept, never the lines.feed.InventoryFeedA Submission / Transaction (vendor-connectivity), the asynchronous Vendor API write that carries it
Full FeedA feed that is the complete truth for its node; omitted listings become zero.feed.Submission.Full, feed.Snapshot.FullUpdateA partial feed (fullUpdate false), which changes only the listings it names
Feed stateRECEIVED, then APPLIED, FAILED or SUPERSEDED.feed.StateSubmission states in vendor-connectivity
SupersededA feed whose asOf is before the last applied feed of its node: stored, changes nothing.feed.Superseded, feed.StateSupersededA stale line inside an applied feed (staleCount)
Listing stateLIVE (sellable) or SUPPRESSED (not sellable; reason NODE_NOT_SELLABLE, DISCONTINUED or OWNER_SUSPENDED).listing.State, listing.ReasonA zero available quantity: a LIVE listing can have zero
Catalog item stateACTIVE or DISCONTINUED (final).catalog.StateNode status ACTIVE (node-topology)
Suppression / RestorationTaking a listing out of sale, and putting it back; each raises an event. A DISCONTINUED suppression is never restored.listing.Listing.Suppress, listing.Listing.RestoreDiscontinuing a catalogue item
Suppress on node unavailablePolicy: on NodeSuspended or NodeRetired suppress every LIVE listing of the node; on NodeActivated restore the ones suppressed for NODE_NOT_SELLABLE.usecases.ApplyNodeEventnode-topology suspending a node (the cause, not this policy)
Full feed zeroingPolicy: a full feed sets quantity 0 on every other listing of the node, keeping its basis.listing.Listing.ZeroOut (called from feed.Apply)Suppression: a zeroed listing stays LIVE
Node status viewLocal, event-fed copy of each node's status.nodestatus.ViewThe Node aggregate itself, owned by node-topology
Packaging HierarchyThe pack levels of one item (each, inner pack, case, pallet), each with its own GTIN and a fixed content quantity in eaches. Retired levels stay resolvable.catalog.Item.Packaging, catalog.PackLevelDefA listing's available quantity
Pack LevelOne of EACH, INNER, CASE, PALLET. A level above EACH knows its child level's GTIN and how many of it it holds.catalog.PackLevelA node subtype
GTINA GS1 identifier (8, 12, 13 or 14 digits, mod-10 check digit), stored as 14. One GTIN identifies one item or pack level forever.gs1.GTIN, catalog.ParseGTINA vendor SKU
Owner ReferenceThe opaque ownerRef on a listing: the seller of record of the stock. Empty means operator-owned.listing.OwnerRefThe vendor operating the node

Neighbour terms this context uses​

TermDefinitionOwnerNot to be confused with
NodeOne physical building of the network. This context sees only its nodeId and, through NodeStatusView, its status (PROPOSED, ACTIVE, SUSPENDED, RETIRED).node-topologyA Listing's nodeId, which is a reference by value
VendorAn organisation operating fulfillment nodes for the network. Unknown to this context.vendor-connectivityA Seller, an owner of stock named by ownerRef
Submission / TransactionAn asynchronous vendor write and its outcome.vendor-connectivityAn Inventory Feed (what this context applies)
Vendor APIThe Open Host Service of vendor-connectivity.vendor-connectivityThis context's in-organization REST API, which vendors never call
Delivery OfferA quoted delivery window for an item, quantity and destination.delivery-promiseA Listing
ScorecardA node's measured performance; one metric is feed freshness, measured from InventoryFeedApplied.node-performanceThe declared Availability Basis

Fleet translation​

Not applicable: this context never talks to the warehouse-systems fleet. For vendor V-WS the basis originates in the fleet's network-fulfillment and reaches this context only as a feed applied through vendor-connectivity. The canonical translation table is on WMS/WES integration.

Source: internal/domain/{catalog,listing,feed,nodestatus}, internal/domain/shared/gs1, internal/application/usecases.