{"openapi":"3.1.0","info":{"title":"Language access requests","version":"1.0.0"},"paths":{"/api/v1/business":{"get":{"operationId":"business","parameters":[],"responses":{"200":{"description":"Public information","content":{"application/json":{"schema":{}}}}}}},"/api/v1/services":{"get":{"operationId":"services","parameters":[],"responses":{"200":{"description":"Public information","content":{"application/json":{"schema":{}}}}}}},"/api/v1/service-area":{"get":{"operationId":"service-area","parameters":[{"name":"zip","in":"query","schema":{"type":"string"}},{"name":"city","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Public information","content":{"application/json":{"schema":{}}}}}}},"/api/v1/faq":{"get":{"operationId":"faq","parameters":[{"name":"lang","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Public information","content":{"application/json":{"schema":{}}}}}}},"/api/v1/quote-requests":{"post":{"operationId":"quote-requests","parameters":[{"in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"requester_type":{"type":"string","enum":["human","agent"]},"agent_name":{"type":"string","maxLength":160},"on_behalf_of":{"type":"string","maxLength":160},"org_type":{"type":"string","enum":["school_district","coe","school","legal","government","business","healthcare","nonprofit","event","individual"]},"language_pair":{"type":"string","maxLength":160},"modality":{"type":"string","enum":["onsite","remote_video","remote_phone"]},"mode":{"type":"string","enum":["consecutive","simultaneous","not_sure"]},"dates":{"type":"string","maxLength":160},"recurring":{"type":"boolean"},"duration_minutes":{"type":"integer","exclusiveMinimum":0,"maximum":10080},"location":{"type":"string","maxLength":160},"meeting_type":{"type":"string","enum":["504","iep","sst","conference","board","training","appointment","hearing","workshop","other"]},"funding_notes":{"type":"string","maxLength":1000},"contact":{"type":"object","properties":{"name":{"type":"string","maxLength":160},"role":{"type":"string","maxLength":160},"organization":{"type":"string","maxLength":160},"email":{"type":"string","maxLength":254,"format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"phone":{"type":"string","maxLength":40},"preferred_language":{"type":"string","enum":["en","es"]},"contact_method":{"type":"string","enum":["email","phone"]}},"required":["name","role","organization","email","phone","preferred_language","contact_method"],"additionalProperties":false},"consent":{"type":"boolean","const":true},"notes":{"type":"string","maxLength":1000},"website":{"type":"string","maxLength":512}},"required":["requester_type","on_behalf_of","org_type","language_pair","modality","mode","dates","recurring","duration_minutes","location","meeting_type","contact","consent","website"],"additionalProperties":false}}}},"responses":{"201":{"description":"Submitted for review","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"status":{"type":"string"},"nextStep":{"type":"string"},"responseTime":{"type":"string"}}}}}},"400":{"description":"Check request fields"},"429":{"description":"Retry later"}}}},"/api/v1/booking-requests":{"post":{"operationId":"booking-requests","parameters":[{"in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"requester_type":{"type":"string","enum":["human","agent"]},"agent_name":{"type":"string","maxLength":160},"on_behalf_of":{"type":"string","maxLength":160},"org_type":{"type":"string","enum":["school_district","coe","school","legal","government","business","healthcare","nonprofit","event","individual"]},"language_pair":{"type":"string","maxLength":160},"modality":{"type":"string","enum":["onsite","remote_video","remote_phone"]},"mode":{"type":"string","enum":["consecutive","simultaneous","not_sure"]},"dates":{"type":"string","maxLength":160},"recurring":{"type":"boolean"},"duration_minutes":{"type":"integer","exclusiveMinimum":0,"maximum":10080},"location":{"type":"string","maxLength":160},"meeting_type":{"type":"string","enum":["504","iep","sst","conference","board","training","appointment","hearing","workshop","other"]},"funding_notes":{"type":"string","maxLength":1000},"contact":{"type":"object","properties":{"name":{"type":"string","maxLength":160},"role":{"type":"string","maxLength":160},"organization":{"type":"string","maxLength":160},"email":{"type":"string","maxLength":254,"format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"phone":{"type":"string","maxLength":40},"preferred_language":{"type":"string","enum":["en","es"]},"contact_method":{"type":"string","enum":["email","phone"]}},"required":["name","role","organization","email","phone","preferred_language","contact_method"],"additionalProperties":false},"consent":{"type":"boolean","const":true},"notes":{"type":"string","maxLength":1000},"website":{"type":"string","maxLength":512},"scheduled_start":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["requester_type","on_behalf_of","org_type","language_pair","modality","mode","dates","recurring","duration_minutes","location","meeting_type","contact","consent","website","scheduled_start"],"additionalProperties":false}}}},"responses":{"201":{"description":"Submitted for review","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"status":{"type":"string"},"nextStep":{"type":"string"},"responseTime":{"type":"string"}}}}}},"400":{"description":"Check request fields"},"429":{"description":"Retry later"}}}}}}