Aisles
Physical corridors scoped to a Zone. An Aisle carries a SequenceHint — its walk-order position, the concrete travel-distance input WES-tier planning needs — and a Direction (one-way or two-way).
Register a physical corridor inside a zone
Adds an Aisle scoped to the given Zone. Its identity is the zone id plus the aisle code (e.g. `WH1-STOR-AMB-A07`), the first four segments of every LocationCode inside it. The SequenceHint is the aisle's walk-order position — lower comes earlier on the route — and is the concrete travel-distance input downstream WES planning consumes. An Aisle cannot be registered against an unknown or non-Active Zone. Publishes AisleRegistered.
List a zone's aisles in walk order
Returns every Aisle in the given Zone, ordered by SequenceHint then aisle code — that is, in the order an associate would walk them. Answers 404 if the zone itself is unknown. Keyset-paginated: `limit` and `cursor`; follow `nextCursor` until it is absent.
Get one aisle
Returns a single Aisle by its zone id and aisle code. This is the URL the Location header of a successful registerAisle points at.
Set an aisle's travel centreline
Records an aisle's straight-line travel centreline (ADR-0017), used by the travel graph as this aisle's walkable path. The aisle must already exist and must not be Decommissioned. Publishes AisleGeometryUpdated.
Register a connection between two aisles
Adds a CrossAisle (ADR-0017): a zone-scoped connection between two of its aisles at a bay ordinal — physically, a walkway a picker can cross between them without walking to either aisle's end. Both aisle codes must already exist as Aisles in the named zone. A connection between the same two aisles at the same bay is rejected as a duplicate regardless of which side is named 'from'. Publishes CrossAisleRegistered.
List a zone's cross-aisles
Returns every declared CrossAisle (ADR-0017) in the zone — its zone-scoped connections between two of its aisles at a bay ordinal — ordered by from-aisle, to-aisle, bay. A read model: it reflects what was registered, including inactive (decommissioned) connections, so a consumer can discover the declared connections without deriving them from the travel graph's edges. Keyset-paginated: `limit` and `cursor`; follow `nextCursor` until it is absent.