Skip to main content

Event Standard (CloudEvents)

Generated from the model

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

Every Kafka message in the network is a CloudEvents 1.0 structured JSON envelope, the same rule the warehouse-systems fleet applies to itself. The namespace is different on purpose (see ADR 0007): the two organizations share no topic, so no consumer can mistake one organization's event for the other's.

AttributeRule
specversion1.0
typecom.retailnetwork.<tier>.<context>.<entity>.<EventName> (<entity> is the lower-case name of the aggregate or read-side model that raises the event, exactly the entity field of the published event below. Consumers dispatch on the full type string.)
source/retailnetwork/<context>
subjectaggregate root id (also the Kafka partition key)
dataschemaurn:retailnetwork:<context>:events:<EventName>:v1
datacontenttypeapplication/json
idUUID; consumers are idempotent on it (inbox table processed_events)
timethe instant the fact became true, not the publish time
Topicretailnetwork.<context>.events (integration), retailnetwork.<context>.analytics (analytics)

Tiers (the <tier> segment):

TierContexts
commerceoffer-availability, delivery-promise, customer-ordering, order-sourcing, customer-returns
logisticsnode-topology, linehaul-transportation, last-mile-delivery, shipping-and-tracking
partnervendor-connectivity, node-performance, seller-inbound

Integration rules carried by every context:

  • Every context owns its database; no shared tables.
  • Every published event leaves through a transactional outbox.
  • Every consumer is idempotent on the CloudEvents id (inbox table).
  • Consumers dispatch on the full type string, never on a suffix.
  • Sibling data used in a decision is a local, event-fed read model; the promise hot path makes no synchronous call.
  • Synchronous in-organization calls exist only where a caller needs an answer inside a user or vendor request (listed under sync_calls).

Example envelope​

{
"specversion": "1.0",
"id": "7b1d3f0e-2c4a-4f7e-9a51-3c2b8e6d1f20",
"source": "/retailnetwork/order-sourcing",
"type": "com.retailnetwork.commerce.order-sourcing.assignment.FulfillmentReleasedToNode",
"subject": "asg-01J9Z6Q8K2",
"time": "2026-10-22T14:05:11Z",
"datacontenttype": "application/json",
"dataschema": "urn:retailnetwork:order-sourcing:events:FulfillmentReleasedToNode:v1",
"data": {
"assignmentId": "asg-01J9Z6Q8K2",
"releaseNo": 1,
"orderId": "co-88231",
"groupNo": 1,
"nodeId": "N-VWS-AUS3",
"pickupDepartureId": "dep-AUS3-20261022-1800",
"requiredShipBy": "2026-10-22T23:00:00Z",
"promisedDeliverByLatest": "2026-10-23T21:00:00Z",
"tier": "NEXT_DAY",
"lines": [{"catalogItemId": "ci-1001", "listingId": "lst-1001-AUS3", "quantity": 2}]
}
}

Event catalogue​

node-topology​

Topic retailnetwork.node-topology.events.

EventCloudEvents typeConsumers
NodeRegisteredcom.retailnetwork.logistics.node-topology.node.NodeRegisteredoffer-availability, delivery-promise, order-sourcing, linehaul-transportation, last-mile-delivery, node-performance, vendor-connectivity, seller-inbound, shipping-and-tracking, customer-returns
NodeOperationalProfileDeclaredcom.retailnetwork.logistics.node-topology.node.NodeOperationalProfileDeclareddelivery-promise, order-sourcing, linehaul-transportation, node-performance, vendor-connectivity, seller-inbound
NodeActivatedcom.retailnetwork.logistics.node-topology.node.NodeActivatedoffer-availability, delivery-promise, order-sourcing, linehaul-transportation, vendor-connectivity, seller-inbound, shipping-and-tracking, customer-returns
NodeSuspendedcom.retailnetwork.logistics.node-topology.node.NodeSuspendedoffer-availability, delivery-promise, order-sourcing, linehaul-transportation, vendor-connectivity, seller-inbound, shipping-and-tracking, customer-returns
NodeRetiredcom.retailnetwork.logistics.node-topology.node.NodeRetiredoffer-availability, delivery-promise, order-sourcing, linehaul-transportation, vendor-connectivity, seller-inbound, shipping-and-tracking, customer-returns
LaneOpenedcom.retailnetwork.logistics.node-topology.lane.LaneOpenedlinehaul-transportation, delivery-promise, order-sourcing
LaneCostDeclaredcom.retailnetwork.logistics.node-topology.lane.LaneCostDeclaredorder-sourcing
LaneEmissionDeclaredcom.retailnetwork.logistics.node-topology.lane.LaneEmissionDeclaredorder-sourcing
LaneClosedcom.retailnetwork.logistics.node-topology.lane.LaneClosedlinehaul-transportation, delivery-promise, order-sourcing
ServiceAreaAssignedcom.retailnetwork.logistics.node-topology.servicearea.ServiceAreaAssigneddelivery-promise, order-sourcing, last-mile-delivery, shipping-and-tracking, customer-returns
RegionDefinedcom.retailnetwork.logistics.node-topology.region.RegionDefineddelivery-promise, order-sourcing

offer-availability​

Topic retailnetwork.offer-availability.events.

EventCloudEvents typeConsumers
CatalogItemCreatedcom.retailnetwork.commerce.offer-availability.catalogitem.CatalogItemCreateddelivery-promise, shipping-and-tracking
CatalogItemDiscontinuedcom.retailnetwork.commerce.offer-availability.catalogitem.CatalogItemDiscontinueddelivery-promise, order-sourcing
CatalogItemPackagingDeclaredcom.retailnetwork.commerce.offer-availability.catalogitem.CatalogItemPackagingDeclaredseller-inbound, vendor-connectivity
CatalogItemPackLevelRetiredcom.retailnetwork.commerce.offer-availability.catalogitem.CatalogItemPackLevelRetiredseller-inbound, vendor-connectivity
ListingCreatedcom.retailnetwork.commerce.offer-availability.listing.ListingCreateddelivery-promise, order-sourcing, vendor-connectivity
ListingAvailabilityChangedcom.retailnetwork.commerce.offer-availability.listing.ListingAvailabilityChangeddelivery-promise, order-sourcing, seller-inbound
ListingSuppressedcom.retailnetwork.commerce.offer-availability.listing.ListingSuppresseddelivery-promise, order-sourcing
ListingRestoredcom.retailnetwork.commerce.offer-availability.listing.ListingRestoreddelivery-promise, order-sourcing
InventoryFeedAppliedcom.retailnetwork.commerce.offer-availability.inventoryfeed.InventoryFeedAppliednode-performance

delivery-promise​

Topic retailnetwork.delivery-promise.events.

EventCloudEvents typeConsumers
PromiseMadecom.retailnetwork.commerce.delivery-promise.promise.PromiseMadeanalytics only
PromiseConfirmedcom.retailnetwork.commerce.delivery-promise.promise.PromiseConfirmedanalytics only
PromiseAtRiskcom.retailnetwork.commerce.delivery-promise.promise.PromiseAtRiskcustomer-ordering
PromiseRevisedcom.retailnetwork.commerce.delivery-promise.promise.PromiseRevisedcustomer-ordering, order-sourcing
PromiseKeptcom.retailnetwork.commerce.delivery-promise.promise.PromiseKeptnode-performance, customer-ordering
PromiseBrokencom.retailnetwork.commerce.delivery-promise.promise.PromiseBrokennode-performance, customer-ordering
PromiseReleasedcom.retailnetwork.commerce.delivery-promise.promise.PromiseReleasedanalytics only
PromiseCancelledcom.retailnetwork.commerce.delivery-promise.promise.PromiseCancelledanalytics only
PromiseBookExhaustedcom.retailnetwork.commerce.delivery-promise.promisebook.PromiseBookExhaustedorder-sourcing
PromiseUnkeepablecom.retailnetwork.commerce.delivery-promise.promise.PromiseUnkeepablecustomer-ordering
DeliveryOfferQuotedcom.retailnetwork.commerce.delivery-promise.deliveryoffer.DeliveryOfferQuotedanalytics only
PromisePolicyPublishedcom.retailnetwork.commerce.delivery-promise.promisepolicy.PromisePolicyPublishedanalytics only

customer-ordering​

Topic retailnetwork.customer-ordering.events.

EventCloudEvents typeConsumers
CustomerOrderPlacedcom.retailnetwork.commerce.customer-ordering.customerorder.CustomerOrderPlacedorder-sourcing, delivery-promise, customer-returns
CustomerOrderCancelledcom.retailnetwork.commerce.customer-ordering.customerorder.CustomerOrderCancelledorder-sourcing, delivery-promise
ShopperNoticeDecidedcom.retailnetwork.commerce.customer-ordering.order.ShopperNoticeDecidedcustomer-returns

order-sourcing​

Topic retailnetwork.order-sourcing.events.

EventCloudEvents typeConsumers
FulfillmentQueuedcom.retailnetwork.commerce.order-sourcing.assignment.FulfillmentQueuedanalytics only
FulfillmentReleasedToNodecom.retailnetwork.commerce.order-sourcing.assignment.FulfillmentReleasedToNodevendor-connectivity, linehaul-transportation, seller-inbound, customer-returns
FulfillmentReleaseWithdrawncom.retailnetwork.commerce.order-sourcing.assignment.FulfillmentReleaseWithdrawnvendor-connectivity
FulfillmentReassignedcom.retailnetwork.commerce.order-sourcing.assignment.FulfillmentReassignedlinehaul-transportation
FulfillmentLockedcom.retailnetwork.commerce.order-sourcing.assignment.FulfillmentLockeddelivery-promise, customer-ordering, linehaul-transportation, customer-returns
FulfillmentShippedcom.retailnetwork.commerce.order-sourcing.assignment.FulfillmentShippedcustomer-ordering, delivery-promise
FulfillmentDeliveredcom.retailnetwork.commerce.order-sourcing.assignment.FulfillmentDeliveredanalytics only
FulfillmentUnsourceablecom.retailnetwork.commerce.order-sourcing.assignment.FulfillmentUnsourceabledelivery-promise, customer-ordering
FulfillmentCancelledcom.retailnetwork.commerce.order-sourcing.assignment.FulfillmentCancelledvendor-connectivity, linehaul-transportation, customer-ordering, seller-inbound
FulfillmentCancelRefusedcom.retailnetwork.commerce.order-sourcing.assignment.FulfillmentCancelRefusedcustomer-ordering
FulfillmentConstraintRevisedcom.retailnetwork.commerce.order-sourcing.assignment.FulfillmentConstraintRevisedanalytics only
FulfillmentSourcingDecidedcom.retailnetwork.commerce.order-sourcing.assignment.FulfillmentSourcingDecidedanalytics only
SourcingPolicyPublishedcom.retailnetwork.commerce.order-sourcing.policy.SourcingPolicyPublishedanalytics only
AssignmentsConsolidatedcom.retailnetwork.commerce.order-sourcing.assignment.AssignmentsConsolidatedanalytics only
AssignmentsDeconsolidatedcom.retailnetwork.commerce.order-sourcing.assignment.AssignmentsDeconsolidatedanalytics only

vendor-connectivity​

Topic retailnetwork.vendor-connectivity.events.

EventCloudEvents typeConsumers
VendorOnboardedcom.retailnetwork.partner.vendor-connectivity.vendoraccount.VendorOnboardednode-performance
PurchaseOrderIssuedcom.retailnetwork.partner.vendor-connectivity.purchaseorder.PurchaseOrderIssuednode-performance
PurchaseOrderAcceptedcom.retailnetwork.partner.vendor-connectivity.purchaseorder.PurchaseOrderAcceptedorder-sourcing, node-performance
PurchaseOrderRejectedcom.retailnetwork.partner.vendor-connectivity.purchaseorder.PurchaseOrderRejectedorder-sourcing, node-performance
PurchaseOrderExpiredcom.retailnetwork.partner.vendor-connectivity.purchaseorder.PurchaseOrderExpiredorder-sourcing, node-performance
PurchaseOrderCancelledcom.retailnetwork.partner.vendor-connectivity.purchaseorder.PurchaseOrderCancelledanalytics only
VendorShipmentConfirmedcom.retailnetwork.partner.vendor-connectivity.purchaseorder.VendorShipmentConfirmedorder-sourcing, shipping-and-tracking, node-performance
SubmissionProcessedcom.retailnetwork.partner.vendor-connectivity.submission.SubmissionProcessednode-performance
InboundReceiptSubmittedcom.retailnetwork.partner.vendor-connectivity.inboundreceipt.InboundReceiptSubmittedseller-inbound, node-performance
VendorReturnOutcomeSubmittedcom.retailnetwork.partner.vendor-connectivity.returnoutcome.VendorReturnOutcomeSubmittedcustomer-returns
VendorSuspendedcom.retailnetwork.partner.vendor-connectivity.vendoraccount.VendorSuspended-
VendorReinstatedcom.retailnetwork.partner.vendor-connectivity.vendoraccount.VendorReinstated-

linehaul-transportation​

Topic retailnetwork.linehaul-transportation.events.

EventCloudEvents typeConsumers
DepartureScheduledcom.retailnetwork.logistics.linehaul-transportation.departure.DepartureScheduleddelivery-promise, order-sourcing
DepartureCapacityChangedcom.retailnetwork.logistics.linehaul-transportation.departure.DepartureCapacityChangeddelivery-promise, order-sourcing
DepartureCancelledcom.retailnetwork.logistics.linehaul-transportation.departure.DepartureCancelleddelivery-promise, order-sourcing
DepartureDepartedcom.retailnetwork.logistics.linehaul-transportation.departure.DepartureDepartedanalytics only
DepartureArrivedcom.retailnetwork.logistics.linehaul-transportation.departure.DepartureArrivedanalytics only
LoadClosedcom.retailnetwork.logistics.linehaul-transportation.load.LoadClosedanalytics only
LoadDepartedcom.retailnetwork.logistics.linehaul-transportation.load.LoadDepartedshipping-and-tracking, delivery-promise
LoadArrivedcom.retailnetwork.logistics.linehaul-transportation.load.LoadArrivedshipping-and-tracking, last-mile-delivery, delivery-promise
BookingMovedcom.retailnetwork.logistics.linehaul-transportation.departure.BookingMoveddelivery-promise, order-sourcing
BookingFailedcom.retailnetwork.logistics.linehaul-transportation.departure.BookingFaileddelivery-promise, order-sourcing

last-mile-delivery​

Topic retailnetwork.last-mile-delivery.events.

EventCloudEvents typeConsumers
DeliveryWaveScheduledcom.retailnetwork.logistics.last-mile-delivery.wave.DeliveryWaveScheduleddelivery-promise, order-sourcing
WaveCostDeclaredcom.retailnetwork.logistics.last-mile-delivery.wave.WaveCostDeclaredorder-sourcing
WaveEmissionDeclaredcom.retailnetwork.logistics.last-mile-delivery.wave.WaveEmissionDeclaredorder-sourcing
DeliveryWaveCapacityChangedcom.retailnetwork.logistics.last-mile-delivery.wave.DeliveryWaveCapacityChangeddelivery-promise, order-sourcing
DeliveryWaveCancelledcom.retailnetwork.logistics.last-mile-delivery.wave.DeliveryWaveCancelleddelivery-promise, order-sourcing
RoutePlannedcom.retailnetwork.logistics.last-mile-delivery.route.RoutePlannedanalytics only
PackageOutForDeliverycom.retailnetwork.logistics.last-mile-delivery.route.PackageOutForDeliveryshipping-and-tracking
PackagePickupOutcom.retailnetwork.logistics.last-mile-delivery.route.PackagePickupOutnone (dormant: no writer inducts a PICKUP yet)
StopEtaWindowAssignedcom.retailnetwork.logistics.last-mile-delivery.route.StopEtaWindowAssignedshipping-and-tracking
DeliveryAttemptedcom.retailnetwork.logistics.last-mile-delivery.route.DeliveryAttemptedshipping-and-tracking
PackageInductionDeferredcom.retailnetwork.logistics.last-mile-delivery.packageattempthistory.PackageInductionDeferreddelivery-promise
PackageReturnInitiatedcom.retailnetwork.logistics.last-mile-delivery.packageattempthistory.PackageReturnInitiatedshipping-and-tracking
DeliveryPointFlaggedcom.retailnetwork.logistics.last-mile-delivery.deliverypointprofile.DeliveryPointFlaggedshipping-and-tracking

shipping-and-tracking​

Topic retailnetwork.shipping-and-tracking.events.

EventCloudEvents typeConsumers
LabelIssuedcom.retailnetwork.logistics.shipping-and-tracking.label.LabelIssuedlinehaul-transportation, customer-ordering, last-mile-delivery
LabelVoidedcom.retailnetwork.logistics.shipping-and-tracking.label.LabelVoidedcustomer-ordering, linehaul-transportation
PackageScannedcom.retailnetwork.logistics.shipping-and-tracking.journey.PackageScannedcustomer-ordering
PackageHandedOvercom.retailnetwork.logistics.shipping-and-tracking.journey.PackageHandedOvernode-performance
PackageDeliveredcom.retailnetwork.logistics.shipping-and-tracking.journey.PackageDelivereddelivery-promise, order-sourcing, customer-ordering
PackageExceptionRaisedcom.retailnetwork.logistics.shipping-and-tracking.journey.PackageExceptionRaiseddelivery-promise, customer-ordering
PackageReturnedcom.retailnetwork.logistics.shipping-and-tracking.journey.PackageReturneddelivery-promise, customer-ordering
PackageLostcom.retailnetwork.logistics.shipping-and-tracking.journey.PackageLostdelivery-promise, customer-ordering
PackageEtaWindowAssignedcom.retailnetwork.logistics.shipping-and-tracking.journey.PackageEtaWindowAssignedcustomer-ordering
PackageDeliveryPointFlaggedcom.retailnetwork.logistics.shipping-and-tracking.journey.PackageDeliveryPointFlaggedcustomer-ordering
PackageHandedToCarriercom.retailnetwork.logistics.shipping-and-tracking.journey.PackageHandedToCarrierdelivery-promise
PackageReadyForCollectioncom.retailnetwork.logistics.shipping-and-tracking.journey.PackageReadyForCollectiondelivery-promise
PackageCollectedcom.retailnetwork.logistics.shipping-and-tracking.journey.PackageCollected-

node-performance​

Topic retailnetwork.node-performance.events.

EventCloudEvents typeConsumers
NodeScorecardUpdatedcom.retailnetwork.partner.node-performance.scorecard.NodeScorecardUpdateddelivery-promise, order-sourcing
NodeThresholdBreachedcom.retailnetwork.partner.node-performance.scorecard.NodeThresholdBreachedanalytics only
NodeTierEligibilityChangedcom.retailnetwork.partner.node-performance.scorecard.NodeTierEligibilityChangeddelivery-promise

seller-inbound​

Topic retailnetwork.seller-inbound.events.

EventCloudEvents typeConsumers
SellerOnboardedcom.retailnetwork.partner.seller-inbound.seller.SellerOnboardedanalytics only
PlacementPlanSuggestedcom.retailnetwork.partner.seller-inbound.placementplan.PlacementPlanSuggestedanalytics only in v1 (ADR 0012)
SellerSuspendedcom.retailnetwork.partner.seller-inbound.seller.SellerSuspendedoffer-availability
SellerReinstatedcom.retailnetwork.partner.seller-inbound.seller.SellerReinstatedoffer-availability
InboundPlanConfirmedcom.retailnetwork.partner.seller-inbound.inboundplan.InboundPlanConfirmedanalytics only
InboundShipmentLabelledcom.retailnetwork.partner.seller-inbound.inboundshipment.InboundShipmentLabelledvendor-connectivity
InboundShipmentShippedcom.retailnetwork.partner.seller-inbound.inboundshipment.InboundShipmentShippedvendor-connectivity, node-performance
InboundShipmentReceivedcom.retailnetwork.partner.seller-inbound.inboundshipment.InboundShipmentReceivedvendor-connectivity, offer-availability
InboundDiscrepancyRecordedcom.retailnetwork.partner.seller-inbound.inboundshipment.InboundDiscrepancyRecordedanalytics only
SellerComplianceViolationRecordedcom.retailnetwork.partner.seller-inbound.seller.SellerComplianceViolationRecordedanalytics only

customer-returns​

Topic retailnetwork.customer-returns.events.

EventCloudEvents typeConsumers
ReturnAuthorizedcom.retailnetwork.commerce.customer-returns.returnauthorization.ReturnAuthorizedvendor-connectivity
ReturnLabelIssuedcom.retailnetwork.commerce.customer-returns.returnauthorization.ReturnLabelIssuedvendor-connectivity
ReturnCompletedcom.retailnetwork.commerce.customer-returns.returnauthorization.ReturnCompletedoffer-availability
ReturnCancelledcom.retailnetwork.commerce.customer-returns.returnauthorization.ReturnCancelledvendor-connectivity

Reason vocabularies​

Closed vocabularies of reason-like fields (reason, cause, kind, outcome), one block per owning context, from contexts[*].reasons in the model. A value is listed only when the spec or the domain code of the built service has it. Fields that carry free text are not listed. A consumer line names a consumer that branches on a value; consumers that only store the text are not listed.

Reasons of offer-availability​

ListingSuppressionReason: Why a listing is SUPPRESSED.

Appears in: ListingSuppressed.reason, REST SuppressionReason, REST Listing.suppressionReason.

ValueMeaning
NODE_NOT_SELLABLEThe listing's node is not ACTIVE; the listing is restored when the node activates.
DISCONTINUEDThe catalogue item is discontinued; final, the listing is never restored.
OWNER_SUSPENDEDThe listing's owner (ownerRef) is a suspended seller; the listing is reconciled when the seller is reinstated. Lowest precedence: DISCONTINUED, then NODE_NOT_SELLABLE, then OWNER_SUSPENDED.

Reasons of delivery-promise​

PromiseBrokenCause: Why a judged promise is BROKEN (ADR 0002 A18).

Appears in: PromiseBroken.cause, REST Judgement.cause.

ValueMeaning
LATEThe group was delivered after deliverByLatest; PromiseBroken carries deliveredAt and lateByMinutes.
LOSTA package of the group was declared lost (PackageLost) before delivery; there is no deliveredAt.
RETURNEDA package of the group was returned (PackageReturned) before delivery; there is no deliveredAt.

Branched on by node-performance (LATE): Only LATE counts against the node (node-performance ADR 0002 A8); LOST and RETURNED are network and shopper causes and record no observation.

PromiseAtRiskReason: Why a promise went AT_RISK. The revision that follows (PromiseRevised) and PromiseUnkeepable carry the same value.

Appears in: PromiseAtRisk.reason, PromiseRevised.reason, PromiseUnkeepable.reason, REST Promise.atRiskReason, REST Revision.reason.

ValueMeaning
NODE_UNSOURCEABLEorder-sourcing published FulfillmentUnsourceable for the promise's group.
PACKAGE_EXCEPTIONshipping-and-tracking published PackageExceptionRaised for a package of the group.
INDUCTION_DEFERREDlast-mile-delivery published PackageInductionDeferred for a package of the group.
DEPARTURE_CANCELLEDA departure on the promise's witness path was cancelled (DepartureCancelled).
WAVE_CANCELLEDThe delivery wave on the promise's witness path was cancelled (DeliveryWaveCancelled).
BOOKING_FAILEDlinehaul-transportation could not book the group's package on any departure (BookingFailed).
BOOKING_MOVEDThe group's package was rebooked on another departure (BookingMoved).
PREDICTED_LATEThe FlagPredictedLate sweep found a departure of the witness path past its expected arrival with no arrival seen (delivery-promise ADR 0021). The promise stays AT_RISK until it is judged, even if the load arrives later; it is re-promised only when its window is no longer reachable.

PromiseReleaseReason: Why a PROVISIONAL promise was RELEASED.

Appears in: PromiseReleased.reason, REST Promise.releaseReason.

ValueMeaning
HOLD_EXPIREDThe capacity hold expired before the order was placed (ReleaseExpiredHolds).

OfferConstraint: Why a requested tier has no offer.

Appears in: REST OfferConstraint.

ValueMeaning
DESTINATION_NOT_SERVEDNo delivery station serves the destination postal prefix.
ITEM_QUANTITY_NOT_AVAILABLENo set of nodes can cover every requested line and quantity.
PAST_ORDER_DEADLINEThe tier's order deadline in the destination region has passed.
DELIVERY_SLA_UNAVAILABLENo feasible path (cutoff, departures, delivery wave) reaches the destination inside the tier. For CONSOLIDATED also: the group has no STANDARD candidate to anchor the fastest window, or the chosen day is more than 14 local days from now or has no wave (ADR 0024).
NODE_CAPACITY_EXHAUSTEDA feasible path exists, but its pickup cutoff has no remaining capacity.

Reasons of customer-ordering​

ShopperNoticeFamily: The family of fact a shopper notice was decided for (customer-ordering ADR 0017). One event per family occurrence, whatever the notifier.

Appears in: ShopperNoticeDecided.family, REST NotificationPolicyRow.family.

ValueMeaning
DELAY_EXPECTEDA promise revision moved the window later; the fact carries the revised deliverByLatest.
ETA_WINDOW_ASSIGNEDA day-of ETA window was assigned to a package of the group; the fact carries etaStart and etaEnd.
DELIVERY_POINT_ADVISORYThe delivery point of a package was flagged; the fact carries the flag reason.
GROUP_SHIPPEDThe group became SHIPPED; the fact carries the group status.
GROUP_DELIVEREDThe group became DELIVERED; the fact carries the group status.
GROUP_LOSTThe group became LOST; the fact carries the group status.
GROUP_RETURNEDThe group became RETURNED; the fact carries the group status.

Branched on by customer-returns (GROUP_SHIPPED, GROUP_DELIVERED, GROUP_LOST, GROUP_RETURNED): the four terminal families set the status of the OrderGroupView row (the status of the fact wins over the family); GROUP_SHIPPED and GROUP_DELIVERED make the group authorizable. The other families are ignored.

ShopperNoticeNotifier: Who the notification policy names to deliver the notice. The network itself sends nothing.

Appears in: ShopperNoticeDecided.notifier, REST NotificationPolicyRow.notifier.

ValueMeaning
MARKETPLACEThe storefront delivers the notice.
SELLERThe seller should deliver it; delivery is deferred, no seller consumer exists.
NOBODYDrop the notice; the fact still flows. The default of every family (policy version 0).

Reasons of order-sourcing​

FulfillmentReassignedReason: Why the candidate node of an assignment changed (ADR 0004; the model had left the vocabulary open).

Appears in: FulfillmentReassigned.reason.

ValueMeaning
REOPTIMISEDRe-optimisation of a QUEUED assignment found a different best candidate.
RELEASE_RECHECKThe re-check against fresh read models at release time chose a different node.
PURCHASE_ORDER_REJECTEDThe node rejected the purchase order; the next candidate takes over.
PURCHASE_ORDER_EXPIREDThe node did not acknowledge the purchase order in time; the next candidate takes over.
PROMISE_REVISEDA revised promise (PromiseRevised) changed the constraint and a QUEUED assignment moved to a new candidate.
CONSOLIDATION_WITHDRAWNA consolidation merge was dissolved by a promise revision and the member, back in the queue, was re-searched and now has a different node (order-sourcing ADR 0015).

FulfillmentLockReason: Why an assignment locked its path.

Appears in: FulfillmentLocked.lockReason, REST Assignment.lockReason.

ValueMeaning
PURCHASE_ORDER_ACCEPTEDThe node accepted the purchase order; vendor acceptance is the path lock (docs ADR 0005).

FulfillmentUnsourceableReason: Why an assignment became UNSOURCEABLE.

Appears in: FulfillmentUnsourceable.reason.

ValueMeaning
NO_CANDIDATEThe candidate set is empty under the promise constraint and the node exclusions.
NODE_REFUSEDThe last candidate refused (rejected or expired) and no other candidate is left.

ExcludedNodeReason: Why a node is excluded from an assignment. A rejection is written REJECTED followed by a colon and the vendor's reason code when there is one.

Appears in: FulfillmentUnsourceable.excludedNodes, REST ExcludedNode.reason.

ValueMeaning
REJECTEDThe node rejected the purchase order; the text continues with the vendor's reasonCode (see the vendor-connectivity RejectReason vocabulary).
EXPIREDThe node did not acknowledge the purchase order before its deadline.

FulfillmentCancelRefusedReason: Why a cancel request was refused.

Appears in: FulfillmentCancelRefused.reason.

ValueMeaning
CANCEL_AFTER_LOCKThe cancel request arrived after the assignment locked; the vendor ships and the shopper's path is a return.
CANCEL_WHILE_MERGEDThe assignment is a member of a live consolidation merge that has not locked yet; the merge stays intact and the cancel can be retried after the carrier's lock or after the merge is dissolved (order-sourcing ADR 0015).

FulfillmentReleaseWithdrawnReason: Why order-sourcing took a published release back. A member cancel never withdraws (it is refused), so there is one value.

Appears in: FulfillmentReleaseWithdrawn.reason.

ValueMeaning
PROMISE_REVISEDA promise revision moved the delivery window of a member so that the merged eta no longer fits; the merge is dissolved and the issued purchase order is cancelled by vendor-connectivity, which carries the value as opaque text and does not branch on it.

AssignmentsDeconsolidatedReason: Why a consolidation merge was dissolved.

Appears in: AssignmentsDeconsolidated.reason.

ValueMeaning
PROMISE_REVISEDA promise revision of a RELEASED member excluded the merged eta; the release is withdrawn first (FulfillmentReleaseWithdrawn).
PURCHASE_ORDER_REJECTEDThe vendor rejected the carrier's purchase order; every member is re-searched on its own with the node excluded, and no withdraw is raised because the vendor holds the terminal state.
PURCHASE_ORDER_EXPIREDThe vendor did not acknowledge the carrier's purchase order in time; every member is re-searched on its own with the node excluded, and no withdraw is raised.

ReleaseOutcome: What the node answered to a release, or WITHDRAWN when order-sourcing took the release back.

Appears in: REST ReleaseOutcome, REST Release.outcome.

ValueMeaning
PENDINGReleased and not yet answered.
ACCEPTEDThe node accepted; the assignment locks.
REJECTEDThe node rejected; Release.reasonCode holds the vendor's code.
EXPIREDThe node did not answer before its deadline.
WITHDRAWNOrder-sourcing took the release back because the consolidation merge it belonged to was dissolved (order-sourcing ADR 0015); it is not an answer from the node.

Reasons of vendor-connectivity​

RejectReason: Why a vendor node rejected a purchase order. Required when the decision is REJECT.

Appears in: PurchaseOrderRejected.reasonCode, REST RejectReason, REST Acknowledgement.reasonCode.

ValueMeaning
OUT_OF_STOCKThe node cannot cover the ordered quantity.
UNKNOWN_LISTINGThe node does not know the ordered listing.
CANNOT_MEET_SHIP_BYThe node cannot hand the package over by the required ship-by instant.
DISCONTINUEDThe item is discontinued at the node.

Reasons of linehaul-transportation​

BookingFailedReason: Why a package could not be booked on a departure (ADR 0002 A14); the value is the reason of the first failure.

Appears in: BookingFailed.reason.

ValueMeaning
DEPARTURE_UNKNOWNThe departure named by the lock is not known to the service.
DEPARTURE_CANCELLEDThe departure is CANCELLED.
DEPARTURE_CLOSEDThe departure is no longer SCHEDULED, or its cutoff has passed.
DEPARTURE_FULLThe departure has no remaining capacity.

Reasons of last-mile-delivery​

DeliveryAttemptOutcome: The result of one delivery attempt of one package. A FAILED attempt carries a failureReason of free text, which is not listed here; the optional category is the DeliveryAttemptOutcomeDetail vocabulary below.

Appears in: DeliveryAttempted.outcome, REST Outcome, REST Attempt.outcome.

ValueMeaning
DELIVEREDThe package was handed over.
COLLECTEDA return-pickup package was collected at the stop. Valid only for a package inducted as a PICKUP; it carries no failureReason and no outcomeDetail and is a terminal success. Dormant until a PICKUP is inducted (last-mile-delivery ADR 0017).
FAILEDThe package was not handed over; failureReason is required.

Branched on by shipping-and-tracking (DELIVERED, FAILED): DELIVERED becomes a DELIVERED scan; any other outcome becomes a DELIVERY_FAILED scan.

DeliveryAttemptOutcomeDetail: The optional category of an attempt, reported by the driver client and dormant until one does (last-mile-delivery ADR 0014). Empty means not reported (a legacy client), which is not the same as OTHER; a detail never replaces failureReason. FAILED carries NOT_HOME, ACCESS_PROBLEM or OTHER; DELIVERED carries SAFE_PLACE_USED; any other pairing is 422 validation-failed. Only NOT_HOME and ACCESS_PROBLEM count as failures on the DeliveryPointProfile.

Appears in: DeliveryAttempted.outcomeDetail, REST OutcomeDetail, REST RecordAttemptRequest.outcomeDetail, REST Attempt.outcomeDetail.

ValueMeaning
NOT_HOMEFailed: nobody was at the point to receive the package. A counted failure.
ACCESS_PROBLEMFailed: the point could not be reached or entered. A counted failure.
SAFE_PLACE_USEDDelivered: the package was left in an agreed safe place.
OTHERFailed: a category outside the closed list. Tallied, never counted as a strike.

Reasons of shipping-and-tracking​

PackageExceptionReason: Why a package exception was raised (ADR 0002 A30: the only reason; a failed delivery attempt is not an exception).

Appears in: PackageExceptionRaised.reason.

ValueMeaning
NO_SCANNo applied scan inside the silence window of the journey's leg (ExceptionOnSilence); raised once per silence.

Reasons of node-performance​

FastTierGoverned: The tiers whose eligibility node-performance judges; raised only when the node's flag flips, one event per tier with the same changedAt, in the same transaction as the scorecard save (outbox). No event for the initial ELIGIBLE state: a consumer that never saw one treats the node as eligible.

Appears in: NodeTierEligibilityChanged.tier.

ValueMeaning
SAME_DAYGoverned by the same eligibility flag as NEXT_DAY.
NEXT_DAYGoverned by the same eligibility flag as SAME_DAY.

Branched on by delivery-promise (SAME_DAY, NEXT_DAY): Filters the node out of the tier's candidates while ineligible; any other tier value is ignored and counted (delivery-promise ADR 0022).

ObservationKind: The measured outcomes a scorecard counts, stored per node and keyed by the CloudEvents id of the source event (ADR 0002 A2).

Appears in: stored by NodeScorecard.

ValueMeaning
ACK_ACCEPTEDThe node accepted a purchase order (PurchaseOrderAccepted).
ACK_REJECTEDThe node rejected a purchase order (PurchaseOrderRejected).
ACK_EXPIREDThe node did not acknowledge a purchase order in time (PurchaseOrderExpired).
HANDOVERA package entered the network (PackageHandedOver); on time when not after requiredShipBy.
PROMISE_KEPTA promise on the node was kept (PromiseKept).
PROMISE_BROKENA promise on the node was broken for a node-attributable cause (PromiseBroken, see PromiseBrokenCause).
FEED_APPLIEDAn inventory feed of the node was applied (InventoryFeedApplied); the gaps between feeds give the freshness metric.

Reasons of seller-inbound​

InboundShipmentStatus: How a shipment closed after the vendor's carton-level receipt.

Appears in: InboundShipmentReceived.status.

ValueMeaning
CLOSEDEvery carton has a final status and nothing differs from the manifest.
CLOSED_WITH_DISCREPANCYAt least one carton or quantity differs from the manifest; each difference is also published as InboundDiscrepancyRecorded.

CartonReceiptStatus: The vendor's per-carton receipt status, reported on the receipt and carried on the shipment's closing event.

Appears in: InboundShipmentReceived.cartons(sscc, status).

ValueMeaning
RECEIVEDThe carton was received.
MISSINGA manifest carton was not received.
UNEXPECTEDA carton was received that the manifest does not list.
DAMAGEDA carton was received damaged.

PlacementOption: Who splits an inbound plan (seller-inbound ADR 0015).

Appears in: InboundPlanConfirmed.placementOption, REST PlacementOption.

ValueMeaning
SELLER_SPLITThe default: everything goes to the destination the seller picked.
NETWORK_SPLITThe destination is an ACTIVE inbound cross-dock and the plan records a redistribution of its eaches across the region's fulfilment centres; nothing downstream executes it.

ComplianceTier: The tier of a seller's compliance scorecard: the worst of three signals over the window (seller-inbound ADR 0005 A3). The monthly capacity gate reads it as the seller's allocation factor (seller-inbound ADR 0015); nothing else acts on it.

Appears in: REST SellerScorecard.complianceTier.

ValueMeaning
GOODNo signal reaches WATCH, or nothing was observed in the window.
WATCHReceipt accuracy below 0.98, or at least 0.5 discrepancies per shipment, or at least one compliance violation.
AT_RISKReceipt accuracy below 0.90, or at least 2.0 discrepancies per shipment, or at least five compliance violations.

Reasons of customer-returns​

ReturnReason: Why the shopper returns the group. An enum, never free text.

Appears in: ReturnAuthorized.reason, REST AuthorizeReturnRequest.reason, REST ReturnAuthorization.reason.

ValueMeaning
DEFECTIVEThe item does not work or arrived broken.
NOT_AS_DESCRIBEDThe item differs from what the listing described.
WRONG_ITEMA different item than the one ordered arrived.
NOT_NEEDEDThe shopper no longer wants the item.
OTHERNone of the other codes; no text accompanies it.

ReturnDisposition: What happens to the goods, decided by this context at authorization and never chosen by the caller.

Appears in: ReturnAuthorized.disposition, REST ReturnAuthorization.disposition.

ValueMeaning
KEEPReturnless: the shopper keeps the goods; no destination, no label, the authorization closes at once.
NEAREST_RETURNS_CENTERThe goods go to the ACTIVE returns centre of the region of the group's destination prefix.
ORIGIN_NODEThe goods go back to the node that fulfilled the group, named by a sourcing fact.

ReturnMethod: How the shopper hands the package back.

Appears in: ReturnAuthorized.method, REST AuthorizeReturnRequest.method, REST ReturnAuthorization.method.

ValueMeaning
DROP_OFFThe shopper hands the labelled package to the carrier; the default.
PICKUPA doorstep pickup inside the declared window; never KEEP. Recorded only: the pickup leg is not run yet.

ReturnAuthorizationState: The state of a return authorization on the REST view.

Appears in: REST ReturnAuthorization.state.

ValueMeaning
AUTHORIZEDThe return is authorized and open: labels may be linked, an outcome may arrive, the shopper may cancel.
IN_TRANSITThe package is on its way back. No use case sets it yet.
RECEIVEDA returns centre graded the return; terminal.
CLOSED_KEEPA returnless KEEP, closed at authorization; terminal.
CANCELLEDCancelled by the shopper or by the lazy expiry; terminal.
PICKUP_FAILEDThe doorstep pickup was given up; reserved, no use case sets it yet.

ReturnOutcome: The outcome a completed return was closed with. One value; offer-availability does not read it.

Appears in: ReturnCompleted.outcome.

ValueMeaning
RECEIVEDThe returns centre received and graded the authorized lines.

ReturnCancelReason: Why an authorization was cancelled.

Appears in: ReturnCancelled.reason.

ValueMeaning
SHOPPER_REQUESTEDThe shopper cancelled while the authorization was AUTHORIZED.
EXPIREDThe authorization passed its expiry and was cancelled on the next touch.

Contexts that own no closed reason vocabulary (their reason fields, if any, are free text): node-topology.