{"openapi": "3.1.0", "info": {"title": "Northeast Cleanouts API", "version": "1.0.0", "description": "Quotes, leads, photo intake, scheduling and deposits for estate cleanouts and junk removal in MA/NH."}, "servers": [{"url": "https://northeastcleanouts.com"}], "paths": {"/api/quote": {"post": {"operationId": "getQuote", "summary": "Instant price range", "requestBody": {"content": {"application/json": {"schema": {"type": "object", "properties": {"name": {"type": "string"}, "phone": {"type": "string"}, "email": {"type": "string"}, "role": {"type": "string"}, "service": {"type": "string"}, "address": {"type": "string"}, "town": {"type": "string"}, "state": {"type": "string"}, "zip": {"type": "string"}, "bedrooms": {"type": "string"}, "volume": {"type": "string"}, "timeline": {"type": "string"}, "sell_plans": {"type": "string"}, "condition": {"type": "string"}, "notes": {"type": "string"}, "situations": {"type": "array", "items": {"type": "string"}}, "wants_offer": {"type": "boolean"}, "consent_contact": {"type": "boolean"}}}}}}, "responses": {"200": {"description": "Price range"}}}}, "/api/leads": {"post": {"operationId": "submitLead", "summary": "Create a service request (requires consent_contact=true)", "requestBody": {"content": {"application/json": {"schema": {"type": "object", "properties": {"name": {"type": "string"}, "phone": {"type": "string"}, "email": {"type": "string"}, "role": {"type": "string"}, "service": {"type": "string"}, "address": {"type": "string"}, "town": {"type": "string"}, "state": {"type": "string"}, "zip": {"type": "string"}, "bedrooms": {"type": "string"}, "volume": {"type": "string"}, "timeline": {"type": "string"}, "sell_plans": {"type": "string"}, "condition": {"type": "string"}, "notes": {"type": "string"}, "situations": {"type": "array", "items": {"type": "string"}}, "wants_offer": {"type": "boolean"}, "consent_contact": {"type": "boolean"}}, "required": ["name", "consent_contact"]}}}}, "responses": {"200": {"description": "Lead created with links"}}}}, "/api/leads/{lead_id}/photos": {"post": {"operationId": "uploadPhotos", "summary": "Upload photos (multipart, field 'photos')", "parameters": [{"name": "lead_id", "in": "path", "required": true, "schema": {"type": "string"}}], "responses": {"200": {"description": "Photo count"}}}}, "/api/slots": {"get": {"operationId": "getSlots", "summary": "Open appointment slots", "responses": {"200": {"description": "Slots"}}}}, "/api/appointments": {"post": {"operationId": "bookAppointment", "summary": "Book a slot", "requestBody": {"content": {"application/json": {"schema": {"type": "object", "properties": {"lead_id": {"type": "string"}, "ts": {"type": "integer"}, "kind": {"type": "string"}}}}}}, "responses": {"200": {"description": "Booked"}}}}, "/api/checkout": {"post": {"operationId": "createDepositCheckout", "summary": "Stripe Checkout URL for the refundable deposit", "requestBody": {"content": {"application/json": {"schema": {"type": "object", "properties": {"lead_id": {"type": "string"}}}}}}, "responses": {"200": {"description": "Checkout URL"}}}}, "/api/markets": {"get": {"operationId": "getMarkets", "summary": "Service-area towns and tiers", "responses": {"200": {"description": "Markets"}}}}}}