Skip to main content

Core Domain Chart

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.

Following the ddd-crew Core Domain Charts: business differentiation (y) against model complexity (x).

Derived from: model.yaml → contexts[node-topology].chart (complexity: 0.44, differentiation: 0.42), .classification, .aggregates. The three slice positions are this page's estimate, not values from the model.

Omitted: the other nine contexts (each has its own chart; all ten are on the domain-wide Core Domain Chart).

Classification: Supporting​

All four points sit in quadrant 3 (Supporting), bottom-left, just below both midlines. The model classifies node-topology as Supporting with the business model "Enabler (every promise, assignment and route rests on it)".

Differentiation is moderate (y ≈ 0.42). A shopper never sees a node registry. What a shopper sees is the promise, and the promise is owned by delivery-promise (Core) and kept by order-sourcing (Core). This context differentiates only indirectly: a wrong cutoff, a missing lane or a mis-assigned postal prefix produces promises the network cannot keep. That is why it sits close to the midline rather than near the Generic floor. The highest slice is the operational profile declaration, because a versioned, declared handling time, cutoff set and throughput cap is what lets the network promise from a vendor's building it does not run (ADR 0003).

Model complexity is moderate (x ≈ 0.44). There are four aggregates (Node, Lane, ServiceArea, Region), one lifecycle with four states, one with two, and two with a single state. There are thirteen invariants, each with its own Err... identifier. The rules are crisp (allowed operator per node type, allowed lane type pairs, strictly increasing revisions, cutoffs inside operating hours). What lifts complexity is the cross-aggregate checks: opening a lane reads both end nodes, assigning a service area reads the station, and three uniqueness rules span many aggregates (ErrVendorNodeCodeTaken, ErrDuplicateLane, ErrRegionCodeTaken). The slice node lifecycle and operator rule is the simplest part.

Business model​

Enabler. It earns nothing on its own. It reduces the cost of every other decision: delivery-promise, order-sourcing, linehaul-transportation and last-mile-delivery each read the same node, lane and service-area facts from one source, through events, instead of keeping their own registries.

Evolution​

PartEvolution stageWhy
Node, lane, region and service-area registryCustom-built (model evolution: Custom-built)The node types, the operator rule and the lane type pairs are this network's own design (ADR 0004).
Operational profileCustom-built, shaped after a ProductModelled after the supply-source (multi-location inventory) API's operationalConfiguration (see the vendor platform API surface map), extended with cutoffs (per day), sort dwell (sort centres and air hubs only) and inbound limits (receiving nodes only).
Master-data plumbing (outbox, CloudEvents, REST)CommodityThe same building blocks every context uses (event standard).

Movement to watch. If the network ever optimises its own topology (choosing where to open a station, which lanes to run), that capability would be differentiating and complex, and would land in quadrant 1. The model keeps it out: such a capability is not in any context, and the closest named future context, inventory-placement, is about stock, not buildings. Nothing in the model moves this context out of quadrant 3 today.