{"openapi":"3.0.3","info":{"title":"OKC Custom Home & Remodel Readiness Planner API","description":"API for the Cosmopolitan Company planning tool","version":"1.0.0","contact":{"name":"Cosmopolitan Company","email":"DeWayne@cosmook.com","url":"https://cosmocompanyok.com"}},"servers":[{"url":"/"}],"x-mcp":{"description":"In addition to this REST API, the same readiness-planner logic is exposed to AI agents over the Model Context Protocol (JSON-RPC 2.0).","remoteEndpoint":"/api/mcp","legacyEndpoint":"/api/webmcp","discovery":"/.well-known/mcp.json","capabilityManifest":"/capability-manifest.json","browserWebMCP":"Page-level tools registered via document.modelContext.registerTool on all pages for WebMCP-capable browsers.","tools":["run_readiness_planner","get_readiness_planner_meta","get_business_info"]},"paths":{"/api/v1/business":{"get":{"summary":"Get business info","operationId":"getBusinessInfo","responses":{"200":{"description":"Public business information"}}}},"/api/v1/dsa/meta":{"get":{"summary":"Get DSA metadata","operationId":"getDsaMeta","responses":{"200":{"description":"DSA metadata"}}}},"/api/v1/dsa/run":{"post":{"summary":"Run readiness assessment","operationId":"runAssessment","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"q1":{"type":"string"},"q2":{"type":"string"},"q3":{"type":"string"}}}}}},"responses":{"200":{"description":"Assessment result"},"400":{"description":"Invalid input"}}}},"/api/v1/dsa/results-schema":{"get":{"summary":"Get results schema","operationId":"getResultsSchema","responses":{"200":{"description":"Results schema"}}}},"/api/v1/lead":{"post":{"summary":"Submit lead","operationId":"submitLead","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["firstName","lastName","email","consentGiven"],"properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"consentGiven":{"type":"boolean"}}}}}},"responses":{"200":{"description":"Lead submitted"},"400":{"description":"Missing fields"}}}},"/api/v1/booking-request":{"post":{"summary":"Submit booking request","operationId":"submitBooking","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["firstName","lastName","email","consentGiven"],"properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"consentGiven":{"type":"boolean"}}}}}},"responses":{"200":{"description":"Booking submitted"},"400":{"description":"Missing fields"}}}}}}