Skip to main content

Subdomain Classification

Domain-Driven Design splits a domain into Core, Supporting and Generic subdomains by how much competitive advantage each gives, not by size or difficulty. The verdicts below are the model's; the evidence for why promise and assignment matter so much is on Public fulfillment-network research.

The CloudEvents tier column is the <tier> segment of every event type the context publishes (com.retailnetwork.<tier>.<context>.<entity>.<Event>, see Event Standard). Like the fleet's wms/wes segment, the tier groups contexts by area of the business; it is not the Core/Supporting/Generic verdict.

Problem space: the subdomains​

SubdomainWhat the business must be good atVerdict
Delivery PromisingSaying an arrival date before purchase that the network will keepCore
Order Sourcing & AssignmentChoosing the node and path that keep the promise at the lowest cost to serveCore
Network TopologyKnowing the nodes, lanes, regions and service areas, and what each node declaredSupporting
Selection & AvailabilityKnowing what can be sold from which node right nowSupporting
Partner (Vendor) IntegrationLetting third-party nodes take demand without bespoke integrationSupporting
Transportation (Middle Mile)Moving packages between nodes on schedules with capacitySupporting
Last-Mile DeliveryGetting packages from a delivery station to the doorSupporting
Performance ManagementMeasuring nodes against commitmentsSupporting
Order CaptureTaking the order and the addressGeneric
Shipping Labels & TrackingLabels, tracking numbers, the package timelineGeneric
Seller InboundLetting sellers plan, label and ship stock to vendor nodes and reconciling what arrivesSupporting
Customer ReturnsAuthorizing a shopper's return, deciding what happens to the goods and taking back what is sellableSupporting
Customer NotificationTelling the customer about changesGeneric (future)
Payments & InvoicingCharging customers, settling with vendorsGeneric (future)

Solution space: the bounded contexts​

Bounded contextClassificationTierBusiness modelEvolutionWhy
delivery-promiseCorecommerceRevenue (conversion) and cost (no promise the network cannot keep)Custom-builtThe promise is the customer-facing commitment; the published published account says it is computed from network state and a feasible path (see public fulfillment-network research). Doing it with a witness path, held capacity and a measured handicap is where speed and honesty are won or lost. Buying it would mean conforming to someone else's idea of your own network.
order-sourcingCorecommerceCost-to-serve reduction, speed protectionCustom-builtLate assignment with re-optimization until a lock is the second half of the same published split. It is where cost to serve is decided order by order.
node-topologySupportinglogisticsEnablerCustom-builtEvery decision depends on it, but nobody chooses a network for how it stores its node registry. The parcel-node rule and the versioned operational profile are specific to this network, so it is not Generic.
offer-availabilitySupportingcommerceRevenue enablerProductListings per node with a declared basis is necessary and specific (the basis matters to the promise) but well understood; marketplaces publish the same shape per ship node.
vendor-connectivitySupportingpartnerRevenue-channel enablerProductA Direct-Fulfillment-like protocol is industry practice. It is the network's Open Host Service, so its contract stability matters more than its cleverness.
linehaul-transportationSupportinglogisticsCost reducer, speed enablerCustom-builtTransportation optimization can be Core at very large scale; here the promise and sourcing consume its schedules and capacities, and route optimization is not modelled, so it stays Supporting.
last-mile-deliverySupportinglogisticsCost reducer, experience creatorCustom-builtWaves with stop capacity are what the promise's last leg stands on; routing itself is replaceable.
node-performanceSupportingpartnerRisk reducerCustom-builtMeasured capability is what keeps declared capability honest, but it only measures and grades; it decides nothing.
seller-inboundSupportingpartnerSupply enablerCustom-builtIdentifying every carton, checking it against a plan and counting what arrives is common practice; nothing here decides a promise or a route. It enables supply and does not differentiate.
customer-returnsSupportingcommerceExperience protector, stock recovererCustom-builtAuthorizing a return and routing it to a returns centre is common practice; the disposition rule (returnless below a threshold, else the nearest returns centre, else the origin node) is this network's own but small, and it decides no promise and no path. It holds no money and no address.
customer-orderingGenericcommerceEngagementCommodityCart-to-order is commodity commerce. It is kept thin and holds the PII so nothing else has to.
shipping-and-trackingGenericlogisticsCompliance and experienceCommodityLabels and tracking timelines are bought, not built, in most networks.

Count: two Core, eight Supporting, two Generic.

Why only two Core contexts​

A network has many hard problems. The test for Core is not "is it hard" but "would buying it, and conforming to the vendor's model, cost us the reason customers choose us". Only the promise and the late assignment pass. Both are explicitly separated in the published account of the reference platform's software changes, and both depend on the network's own model of itself in a way no packaged product can share. Transportation and last mile are hard, but their output (schedules, capacities, waves) is a fact the Core consumes, not a decision customers see.

How this compares with the warehouse-systems fleet​

The fleet's own classification (in warehouse-docs) files order-management, which owns the fleet's promise as a CPT window, as Generic/Supporting, with promising as its custom part. That is consistent with this model: inside one vendor, the promise is a ship promise (which departure the order makes). In the network, the promise is a delivery promise (ship promise plus network transit plus a delivery wave). The network owns the part the fleet cannot know.