Zones
Behavioral classifications scoped to a Site (ambient, chilled, frozen, hazmat, forward-pick, reserve), bundling a LocationCode's Area and Zone segments. Zones are not cosmetic: their TemperatureClass and Hazmat flag are exactly what PlacementRules match on.
Register a behavioral zone inside a site's area
Adds a Zone scoped to the given Site. The zone's identity is `SITE-AREA-ZONE` (e.g. `WH1-STOR-AMB`), which is exactly the first three segments of every LocationCode inside it. A Zone cannot be registered against an unknown or non-Active Site. The TemperatureClass and Hazmat flag set here are what PlacementRules match on later, so they are behavioral, not descriptive. Publishes ZoneRegistered.
List a site's zones
Returns every Zone in the given Site, ordered by zone id. Answers 404 if the site itself is unknown, rather than an empty list, so a caller can tell 'no zones yet' apart from 'no such site'. Keyset-paginated: `limit` and `cursor`; follow `nextCursor` until it is absent.
Get one zone
Returns a single Zone by its id (`SITE-AREA-ZONE`). This is the URL the Location header of a successful registerZone points at.
Declare who may work in a zone
Declares the zone's traffic mode (ADR-0049): `PEDESTRIAN` (people work in it), `ROBOT_ONLY` (robots work in it; a person enters only under an area restriction) or `SHARED` (both, under limits). The zone must already exist and must not be Decommissioned. When the mode differs from the current one, ZoneTrafficModeDeclared (new and previous mode) is published through the transactional outbox. Repeating the current mode is an idempotent no-op: 200, no write, no event, so no Idempotency-Key is needed, like the geometry PUTs. An unknown or missing mode is 422 `unknown-traffic-mode`.