{
  "openapi": "3.1.0",
  "info": {
    "title": "Bay Yard Co public intake API",
    "version": "1.0.0",
    "description": "Contract for the public project intake endpoint on bayyardco.com.",
    "contact": { "name": "Bay Yard Co", "email": "crew@bayyardco.com", "url": "https://bayyardco.com/contact" }
  },
  "servers": [{ "url": "https://bayyardco.com" }],
  "paths": {
    "/api/intake": {
      "post": {
        "operationId": "createProjectIntake",
        "summary": "Submit a backyard project intake",
        "requestBody": {
          "required": true,
          "content": { "application/json": { "schema": { "type": "object" } } }
        },
        "responses": {
          "200": { "description": "Intake accepted", "content": { "application/json": { "schema": { "type": "object" } } } },
          "400": { "description": "Invalid intake" },
          "429": { "description": "Too many requests", "headers": { "Retry-After": { "schema": { "type": "integer" } } } }
        }
      }
    }
  }
}
