Skip to main content

Subdomain classification

Offer & Availability is a Supporting subdomain of the retail network (area Network, CloudEvents tier commerce), with business model revenue enabler and evolution stage Product. Verdicts for all contexts are the aggregator's (Subdomain Classification); this page gives the reasoning for this one and its neighbours.

Why Supporting​

  • Necessary and specific, but well understood. The network cannot promise or source anything without knowing what it can sell and from which node, and the vendor's basis next to the number matters to the promise. But listings per ship node with a declared quantity are a shape marketplaces publish too. The aggregator's verdict: "necessary and specific (the basis matters to the promise) but well understood".
  • Facts, not decisions. The decisions that win customers (a delivery date that is true, a node that keeps it) are made in delivery-promise and order-sourcing, which are Core and read this context's events into their own views. This context stores declarations and keeps the vendor's basis; it never re-derives or corrects a number.
  • Low model complexity. Three aggregates (CatalogItem, Listing, InventoryFeed) with two to four states each, a local read model (NodeStatusView) and two policies (suppress on node unavailability, zero on a full feed). The hard part is operational, applying a full feed atomically across many listings, not conceptual.
  • Where it could move. Re-deriving or correcting the vendor's number (for example from node-performance's measured freshness) would raise differentiation; today the context rules that out and a change would need an ADR.

See the Core Domain Chart for the placement.

Evolution by part​

PartStageWhy
Catalogue item master (incl. GTIN and packaging hierarchy)Product / CommodityItem master data with dimensions, flags and GS1 identifiers is a well-understood shape
Listing and availabilityProductPer-node offers fed by partner submissions are established; the addition is the kept basis
Feed application (full/partial, ordered by asOf)ProductKnown semantics; the work is doing it atomically at volume
Node-driven suppressionCustom-builtSpecific to this network: it follows node-topology's node lifecycle

The neighbours (copied from the aggregator)​

From network/strategic-design/subdomain-classification.md on origin/main of warehouse-docs (the pricing, product-content, product-discovery and shopping-cart rows from its storefront/ counterpart, tier and verdict as listed there):

Bounded contextClassificationTierBusiness modelEvolutionRelationship to this context
delivery-promiseCorecommerceRevenue (conversion) and costCustom-builtDownstream: builds its AvailabilityView from catalogue and listing events
order-sourcingCorecommerceCost-to-serve reduction, speed protectionCustom-builtDownstream: re-optimises from its own AvailabilityView
node-topologySupportinglogisticsEnablerCustom-builtUpstream: node lifecycle events, Conformist
vendor-connectivitySupportingpartnerRevenue-channel enablerProductCalls POST /inventory-feeds; consumes ListingCreated and pack-level events
node-performanceSupportingpartnerRisk reducerCustom-builtDownstream: measures feed freshness from InventoryFeedApplied
seller-inboundSupportingpartnerSupply enablerCustom-builtDownstream: keeps a packaging view from pack-level events and a demand view from ListingAvailabilityChanged; upstream: its seller and received-stock events drive owner listings here (ADR 0013, ADR 0014)
shipping-and-trackingGenericlogisticsCompliance and experienceCommodityDownstream: keeps catalogue dimensions from CatalogItemCreated
pricingCorestorefrontRevenue (the price of speed per tier)Custom-builtDownstream: consumes CatalogItemCreated and CatalogItemDiscontinued
product-contentGenericstorefrontEngagement enablerCommodityDownstream: consumes CatalogItemCreated and CatalogItemDiscontinued
product-discoverySupportingstorefrontConversion enablerCustom-builtDownstream: consumes the catalogue and listing events
shopping-cartSupportingstorefrontConversionCustom-builtDownstream: consumes CatalogItemCreated and CatalogItemDiscontinued
linehaul-transportation, last-mile-delivery, customer-orderingSupporting, Supporting, Genericlogistics, logistics, commerceNo relationship (Separate Ways)

The aggregator counts two Core, seven Supporting and two Generic contexts across the network. Problem-space subdomain: Selection & Availability, "knowing what can be sold from which node right now", verdict Supporting.