Model non-structural Zones and their relationships to spaces and things in Mapped

domain: docs.mapped.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Query zones { id name exactType isServedBy { id name exactType } } to find which devices (e.g. occupancy sensors) serve a given zone
  2. Query things(filter: {id: {eq: "<thingId>"}}) { serves { ... on Zone { id name exactType } } } to go the other direction, from a device to the zone(s) it covers
  3. Query zones(filter: {id: {eq: "<zoneId>"}}) { hasPart { id name exactType } } to list the spaces contained within a zone
  4. Query spaces(filter: {id: {eq: "<spaceId>"}}) { isPartOf { id name exactType } } to check whether a space belongs to a zone
  5. For a zone that only covers part of a single space (e.g. one lighting zone in a large hallway), use the zone's own isPartOf relationship instead of hasPart

Known gotchas

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans