{"requestId":"1782361445123-zvxog80sw","version":"1.0","schema":{"openapi":"3.0.0","info":{"title":"Off-Road AI Feed API","version":"1.0","description":"Machine-readable zoning data API for OffRamp Custom GPT"},"servers":[{"url":"https://ai-feed.off-road.app","description":"Production AI Feed API"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key"}},"schemas":{"ZoningAttributes":{"type":"object","properties":{"ZONE_CODE":{"type":"string","nullable":true},"ZONE_DESC":{"type":"string","nullable":true},"HEIGHT_MAX":{"type":"number","nullable":true},"SETBACK_FRONT":{"type":"number","nullable":true},"SETBACK_SIDE":{"type":"number","nullable":true},"COVERAGE_MAX":{"type":"number","nullable":true},"FAR":{"type":"number","nullable":true},"PRIMARY_USE":{"type":"string","nullable":true},"OVERLAYS":{"type":"array","items":{"type":"string"},"nullable":true}}},"ZoningFeature":{"type":"object","properties":{"attributes":{"$ref":"#/components/schemas/ZoningAttributes"},"source":{"type":"object","properties":{"tenantId":{"type":"string"},"layer":{"type":"string"}}},"centroid":{"type":"object","properties":{"lat":{"type":"number"},"lon":{"type":"number"}}}}},"APIResponse":{"type":"object","properties":{"requestId":{"type":"string"},"version":{"type":"string"},"data":{"type":"object"},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}},"paths":{"/v1/tenants/{tenantId}/jurisdictions":{"get":{"summary":"Get jurisdictions for a tenant","parameters":[{"name":"tenantId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"List of jurisdictions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse"}}}}}}},"/v1/zoning/by-point":{"get":{"summary":"Query zoning data by geographic point","parameters":[{"name":"tenantId","in":"query","required":true,"schema":{"type":"string"}},{"name":"lat","in":"query","required":true,"schema":{"type":"number"}},{"name":"lon","in":"query","required":true,"schema":{"type":"number"}},{"name":"outFields","in":"query","required":false,"schema":{"type":"string"},"description":"Comma-separated list of fields to return"}],"responses":{"200":{"description":"Zoning features at the specified point","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse"}}}}}}},"/v1/zoning/by-parcel":{"get":{"summary":"Query zoning data by parcel ID","parameters":[{"name":"tenantId","in":"query","required":true,"schema":{"type":"string"}},{"name":"parcelId","in":"query","required":true,"schema":{"type":"string"}},{"name":"outFields","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Zoning features for the specified parcel","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse"}}}}}}},"/v1/zoning/codes":{"get":{"summary":"Get zoning codes for a tenant","parameters":[{"name":"tenantId","in":"query","required":true,"schema":{"type":"string"}},{"name":"code","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"List of zoning codes","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse"}}}}}}},"/v1/explain":{"post":{"summary":"Generate human-readable explanation of zoning attributes","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"attributes":{"$ref":"#/components/schemas/ZoningAttributes"},"persona":{"type":"string","enum":["novice","intermediate","expert"]},"language":{"type":"string"}}}}}},"responses":{"200":{"description":"Human-readable explanation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse"}}}}}}}}}}