{"openapi":"3.1.0","info":{"title":"Asphalt.SI Enquiries","version":"1.0.0","description":"Public contact API. Submissions send email and require user permission. No authentication is required. All required text must be non-blank after trimming. Provide at least one non-blank email or phone. No idempotency key or automatic retry guarantee is provided.","contact":{"email":"Admin@asphalt.ai"}},"servers":[{"url":"https://asphalt.si"}],"paths":{"/api/join":{"post":{"operationId":"submitEnquiry","summary":"Send a project, supply or partnership enquiry","description":"Not a newsletter subscription. Rate limit is best-effort: 5 requests per 10 minutes per IP per instance, including invalid requests. A 200 confirms the team notification was accepted by SMTP, not inbox delivery or a partnership agreement. If email is supplied, an acknowledgement is attempted; its delivery is not guaranteed. Do not automatically retry after timeout or failure, since an email may already have been sent.","requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["intent","values"],"additionalProperties":false,"properties":{"intent":{"type":"string","const":"project"},"lang":{"type":"string","enum":["en","zh"],"default":"en"},"website":{"type":"string","const":"","description":"Leave empty or omit. This is an anti-spam field, not your website URL."},"values":{"type":"object","additionalProperties":false,"required":["location","roadType","problem","contact"],"anyOf":[{"required":["email"],"properties":{"email":{"minLength":1}}},{"required":["phone"],"properties":{"phone":{"minLength":1}}}],"properties":{"location":{"type":"string","title":"Project location","description":"City, state or region, country","minLength":1,"maxLength":200},"roadType":{"type":"string","title":"Type of road","description":"e.g. highway, city street, airport runway","minLength":1,"maxLength":200},"problem":{"type":"string","title":"Main problem","description":"e.g. cracking, rutting, potholes, water ingress","minLength":1,"maxLength":2000},"budget":{"type":"string","title":"Budget range","description":"A rough range is fine","minLength":0,"maxLength":200},"schedule":{"type":"string","title":"Schedule","description":"Preferred start and completion dates","minLength":0,"maxLength":200},"contact":{"type":"string","title":"Contact person","description":"Name","minLength":1,"maxLength":200},"org":{"type":"string","title":"Organisation","description":"Organisation","minLength":0,"maxLength":200},"phone":{"type":"string","title":"Phone","description":"Phone","minLength":0,"maxLength":200},"email":{"type":"string","title":"Email","description":"name@example.com","minLength":0,"maxLength":254,"pattern":"^(?:$|[^\\s@]+@[^\\s@]+\\.[^\\s@]{2,})$"}}}}},{"type":"object","required":["intent","values"],"additionalProperties":false,"properties":{"intent":{"type":"string","const":"supply"},"lang":{"type":"string","enum":["en","zh"],"default":"en"},"website":{"type":"string","const":"","description":"Leave empty or omit. This is an anti-spam field, not your website URL."},"values":{"type":"object","additionalProperties":false,"required":["org","supplyType","region","offer","contact"],"anyOf":[{"required":["email"],"properties":{"email":{"minLength":1}}},{"required":["phone"],"properties":{"phone":{"minLength":1}}}],"properties":{"org":{"type":"string","title":"Organisation","description":"Organisation","minLength":1,"maxLength":200},"supplyType":{"type":"string","title":"Type","description":"Type","minLength":1,"maxLength":200},"region":{"type":"string","title":"Service area","description":"Service area","minLength":1,"maxLength":200},"offer":{"type":"string","title":"What you can provide","description":"Materials, production capacity, equipment or crews","minLength":1,"maxLength":2000},"contact":{"type":"string","title":"Contact person","description":"Name","minLength":1,"maxLength":200},"phone":{"type":"string","title":"Phone","description":"Phone","minLength":0,"maxLength":200},"email":{"type":"string","title":"Email","description":"name@example.com","minLength":0,"maxLength":254,"pattern":"^(?:$|[^\\s@]+@[^\\s@]+\\.[^\\s@]{2,})$"}}}}},{"type":"object","required":["intent","values"],"additionalProperties":false,"properties":{"intent":{"type":"string","const":"tech"},"lang":{"type":"string","enum":["en","zh"],"default":"en"},"website":{"type":"string","const":"","description":"Leave empty or omit. This is an anti-spam field, not your website URL."},"values":{"type":"object","additionalProperties":false,"required":["org","partnerType","topic","contact"],"anyOf":[{"required":["email"],"properties":{"email":{"minLength":1}}},{"required":["phone"],"properties":{"phone":{"minLength":1}}}],"properties":{"org":{"type":"string","title":"Organisation","description":"Organisation","minLength":1,"maxLength":200},"partnerType":{"type":"string","title":"Type","description":"Type","minLength":1,"maxLength":200},"topic":{"type":"string","title":"Proposed collaboration","description":"A short note is enough","minLength":1,"maxLength":2000},"contact":{"type":"string","title":"Contact person","description":"Name","minLength":1,"maxLength":200},"phone":{"type":"string","title":"Phone","description":"Phone","minLength":0,"maxLength":200},"email":{"type":"string","title":"Email","description":"name@example.com","minLength":0,"maxLength":254,"pattern":"^(?:$|[^\\s@]+@[^\\s@]+\\.[^\\s@]{2,})$"}}}}}]}}}},"responses":{"200":{"description":"Enquiry accepted. Do not resubmit.","content":{"application/json":{"schema":{"type":"object","required":["ok"],"properties":{"ok":{"const":true}}}}}},"400":{"description":"The enquiry was not confirmed. Do not blindly retry a POST; contact the team if delivery is uncertain.","content":{"application/json":{"schema":{"type":"object","required":["ok","error"],"properties":{"ok":{"const":false},"error":{"type":"string","enum":["invalid_email","missing_required","invalid_input","rate_limited","send_failed"]}}}}}},"413":{"description":"The enquiry was not confirmed. Do not blindly retry a POST; contact the team if delivery is uncertain.","content":{"application/json":{"schema":{"type":"object","required":["ok","error"],"properties":{"ok":{"const":false},"error":{"type":"string","enum":["invalid_email","missing_required","invalid_input","rate_limited","send_failed"]}}}}}},"429":{"description":"The enquiry was not confirmed. Do not blindly retry a POST; contact the team if delivery is uncertain.","content":{"application/json":{"schema":{"type":"object","required":["ok","error"],"properties":{"ok":{"const":false},"error":{"type":"string","enum":["invalid_email","missing_required","invalid_input","rate_limited","send_failed"]}}}}}},"502":{"description":"The enquiry was not confirmed. Do not blindly retry a POST; contact the team if delivery is uncertain.","content":{"application/json":{"schema":{"type":"object","required":["ok","error"],"properties":{"ok":{"const":false},"error":{"type":"string","enum":["invalid_email","missing_required","invalid_input","rate_limited","send_failed"]}}}}}}}}}}}