Skip to main content

Ubiquitous Language

Generated from the model

This page is generated from model/model.yaml by scripts/gen_pages.py. Edit the model, then regenerate; CI fails when the page and the model disagree.

Each term belongs to the context that owns its meaning. Where the same word means something else in the retail network, the network counterpart is named. Code identifiers are the Go package and type names the services use on develop (checked in the 2026-10-27 as-built refresh).

TermContextDefinitionNot to be confused withCode identifier
AllocationcheckoutThe share of an authorization that belongs to one shipment group.-checkoutsession.Group.AmountMinor
Capturecustomer-paymentsTaking an allocation's money when its shipment group ships.authorize (the hold at checkout)paymentauthorization.PaymentAuthorization.Capture
Cartshopping-cartOne shopper's held intent: lines, destination, delivery quote and selections.-cart.Cart
Categoryproduct-contentOne node of the browsable category tree.-category.Category
Category Suggestionproduct-discoveryA category whose name matches the query terms, returned beside the hits; there is no product-type detection.-categoryview.View.Suggestions
Category Treeproduct-contentThe single, versioned tree of categories, at most four levels deep.-category.Tree
Category Viewproduct-discoveryThe browsable tree with purchasable counts per category.-categoryview.View
Checkout Readinessshopping-cartEvery group selected and no offer expired.-cart.CheckoutReadiness
Checkout SessioncheckoutThe purchase transaction from review to placed order.the network's "Checkout" (customer-ordering PlaceOrder), which is the session's place-order stepcheckoutsession.CheckoutSession
Delivery ChargepricingThe price of one service tier's speed, with an optional free-over threshold.-schedule.TierCharge
Delivery Quote (cart)shopping-cartThe offers delivery-promise returned for the cart's lines and destination, held by the cart; a quote holds no capacity.the network's DeliveryOffer (one offer)cart.DeliveryQuote
Delivery Selectionshopping-cartThe offer the shopper picked per shipment group.-cart.Selection
Effective PricepricingThe lowest active sale price, else the list price.-itemprice.ItemPrice.EffectivePrice
Estimateshopping-cartThe labelled, non-binding total in the cart: effective prices plus selected tier charges plus tax band.the binding PriceQuote of a checkout sessionestimate.Estimate
In Stockproduct-discoveryAt least one LIVE listing with availableQty > 0 for the item.-productview.InStock
In-Doubt PlacementcheckoutThe place-order outcome is unknown (timeout or 503); PLACING holds the semantic lock until the resolver settles it.-checkoutsession.CheckoutSession.RecordPlacementInDoubt
List PricepricingThe item's standing price; a sale price is always below it.-itemprice.ItemPrice.ListPrice
Payment Authorizationcustomer-paymentsA hold on the shopper's payment method for the quote total, split into allocations per shipment group.-paymentauthorization.PaymentAuthorization
Payment Method Tokencustomer-paymentsThe PSP token standing in for the shopper's card; the storefront never sees a card number.-(provider port)
Place-Order StepcheckoutThe pivot of the saga: customer-ordering POST /checkout through the ACL.-ports.OrderPlacer
Price QuotepricingA binding, immutable, expiring price snapshot for one checkout.the cart estimate (non-binding)quote.PriceQuote
Primary Mediumproduct-contentThe one image a product page leads with; exactly one per published content.-content.Media.RolePrimary
Product Contentproduct-contentDescription, bullets, attributes and media of one catalogue item.-content.ProductContent
Product Viewproduct-discoveryThe projection one product page or search hit renders from.-productview.View
Purchasableproduct-discoveryItem ACTIVE in the item master, content PUBLISHED, price ACTIVE, and at least one LIVE listing with quantity > 0.the network's sellable listing (one node only)productview.Purchasable
Reauthorizationcustomer-paymentsA fresh authorization replacing one about to expire, for allocations not yet captured.-paymentauthorization.PaymentAuthorization.Reauthorize
Refundcustomer-paymentsReturning captured money for a lost or returned package, or manually.-refund.Refund
Releasecustomer-paymentsLetting an uncaptured allocation go when its group is cancelled.-paymentauthorization.PaymentAuthorization.Release
RequotecheckoutA definitive 409 from the network: the authorization is voided and the session carries the re-quoted offers for the cart.-checkoutsession.RequotedOffer
Revisionproduct-contentOne published shape of an item's content; publishing bumps it.-content.ProductContent.Revision
Sale WindowpricingA time-bounded sale price for one item; windows never overlap.-itemprice.SaleWindow
Storefront Edgestorefront (domain-wide)The only routes a browser reaches: /api/storefront/* on the BFF.in-org network routes(experience layer)
Tax BandpricingA basis-point rate for a destination postal-prefix range (synthetic, D10).-tax.TaxBand
Voidcustomer-paymentsCancelling the whole authorization before any capture.-paymentauthorization.PaymentAuthorization.Void

Network terms the storefront relies on​

These terms belong to the retail network (see its ubiquitous language); the storefront conforms to them: Catalog Item (catalogItemId, the only cross-domain join key), Listing, Delivery Offer, Service Tier (SAME_DAY, NEXT_DAY, TWO_DAY, STANDARD), Promise, Shipment Group, Tracking Number, Customer Order, Shopper, Ship-To. PII terms (Ship-To, names, e-mail) live only in customer-ordering; the storefront stores shopperId and shipToAddressId references, never the data.