{"uid":"cap_WHlpLdOQJWASbUjsFpfiy","slug":"declared-spatial-adjacency-check-77c119e0","name":"Declared Spatial Adjacency Check","description":"Compare bounded room requirements with supplied topology; report unknown and contradictory declarations, not architectural approval. New modular adapter: retained result recovery for 24 hours, minimal receipt metadata for 90 days. Existing live route unchanged.","url":"https://www.mahastrategies.com/api/v1/verify/architecture/adjacency?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rooms":{"type":"array","maxItems":32,"minItems":1},"topology":{"type":"array","maxItems":64,"minItems":0},"dataClass":{"enum":["public","synthetic"],"type":"string"},"requirements":{"type":"array","maxItems":64,"minItems":1}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.035008","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.035008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_4g498jUgCvcu85TXuh6zu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.035008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates room adjacency requirements against a supplied topology graph, reporting unknown and contradictory declarations without issuing architectural approval.","exampleAgentPrompt":"Check my room adjacency requirements against the building topology I've provided — flag any unknown rooms and any contradictions between what I declared and what the topology shows. The data is synthetic.","exampleUseCases":[{"title":"Hospital ward adjacency compliance check","prompt":"I have a list of hospital rooms and a topology describing how they connect. My requirements say the ICU must be adjacent to the operating room and the pharmacy must be adjacent to the nursing station — can you check if those adjacency declarations are consistent with the topology, and flag any contradictions or unknown rooms? The data is synthetic."},{"title":"Office floor plan requirement validation","prompt":"I'm designing an office layout and I've declared that the server room must be adjacent to the IT office, and the break room must not be adjacent to the conference rooms. Here's my room list and my topology — please check for any contradictions or unknown room references in my adjacency requirements. Data class is public."},{"title":"Data center cage adjacency conflict detection","prompt":"We have 12 cage rooms in our data center and a topology graph showing their physical connections. Our requirements declare specific adjacency rules between power rooms, cooling units, and network hubs — can you compare those declarations against the topology and tell me which ones are contradictory or refer to unknown rooms? Use synthetic data class."}],"resultDescription":"A structured report listing any unknown rooms referenced in the requirements but absent from the topology, and any contradictory adjacency declarations where the requirements conflict with the supplied topology. The endpoint does not approve the architecture — it only surfaces inconsistencies.","failureModes":["Missing required 'rooms' or 'requirements' arrays returns a validation error","Room count exceeding 32 or requirement count exceeding 64 returns a schema error","Topology references rooms not present in the rooms array may trigger unknown-room flags","Invalid or unrecognized dataClass enum value returns a bad request error","Empty requirements array (below minItems:1) is rejected","Malformed topology edges may cause incomplete contradiction detection"],"whenToPreferThis":"Choose this endpoint when you need to programmatically validate declared spatial adjacency constraints against an explicit topology graph — particularly when catching unknown room references and logical contradictions before committing to an architectural design. It is purpose-built for topology-driven consistency checking rather than geometric or visual floor-plan analysis.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:44:43.288Z","isFirstParty":false,"canonicalSlug":"declared-spatial-adjacency-check-77c119e0"}