Skip to main content

Nodes

Nodes, their lifecycle and their declared operational profile (aggregate Node).

📄️Introduction

REST contract of the node-topology bounded context of the retail network, derived from retail-network-docs model/model.yaml (contexts[node-topology].rest, .aggregates, .publishes, conventions.errors). Node Topology is the authoritative registry of nodes, their declared operational profiles, lanes, regions and service areas. vendor-connectivity calls POST /nodes and PUT /nodes/{nodeId}/operational-profile in-organization while it processes vendor submissions; the network-ops planner calls the other write routes and may also declare a network node's profile (declaredBy NETWORK_OPS); any context may call the read routes. No authentication, consistent with the fleet. Errors are RFC 9457 problem details. The shared problem types are not-found (404), illegal-transition (409), concurrent-update (409) and validation-failed (422).

📄️Declare a new operational profile revision (DeclareOperationalProfile)

Appends a profile revision; earlier revisions are never edited. Called by vendor-connectivity (declaredBy VENDOR) and by the network-ops planner (declaredBy NETWORK_OPS). Every day of a cutoff must fall inside the operating hours of that day, and a revision of an ACTIVE FULFILLMENT_CENTER keeps at least one cutoff and a handlingTime above zero. sortDwellMinutes is accepted only for SORTATION_CENTER and AIR_HUB nodes. The optional inbound limits (maxCartonWeightG, maxCartonDimsMm, acceptsPallets, requiresSscc) are declared per revision; a revision without inbound declares none, and consumers then treat inbound limits as unchecked. Only node types with the INBOUND capability (FULFILLMENT_CENTER, INBOUND_CROSS_DOCK) declare inbound limits; any other type is 422 inbound-limits-not-allowed. Publishes NodeOperationalProfileDeclared.