{
  "openapi": "3.1.0",
  "info": {
    "title": "essentialisms Contact API",
    "description": "Contact form API for essentialisms — AI Engineering & Software Consulting in Berlin, Germany. Submit an inquiry to book a free 30-minute discovery call.",
    "version": "1.0.0",
    "contact": {
      "name": "essentialisms",
      "email": "contact@essentialisms.com",
      "url": "https://essentialisms.com"
    }
  },
  "servers": [
    {
      "url": "https://essentialisms.com",
      "description": "Production"
    }
  ],
  "paths": {
    "/api/contact": {
      "post": {
        "summary": "Submit a consulting inquiry or product support request",
        "description": "Send a message to essentialisms. Required: name, email, interest (service type), and message. Optional qualifying fields help scope the engagement faster.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "name",
                  "email",
                  "interest",
                  "message"
                ],
                "properties": {
                  "name": {
                    "type": "string",
                    "description": "Full name"
                  },
                  "email": {
                    "type": "string",
                    "format": "email"
                  },
                  "interest": {
                    "type": "string",
                    "enum": [
                      "cto-ai-leading",
                      "ai-engineering",
                      "software-consulting",
                      "fractional-cto",
                      "technical-leadership",
                      "interim-cto",
                      "due-diligence",
                      "ai-strategy",
                      "product",
                      "other"
                    ],
                    "description": "Service type — 'cto-ai-leading' is the combined CTO + AI Engineering + Technical Leadership engagement (core offering)"
                  },
                  "challenge": {
                    "type": "string",
                    "description": "Biggest technical challenge"
                  },
                  "goal": {
                    "type": "string",
                    "description": "Desired outcome"
                  },
                  "timeline": {
                    "type": "string",
                    "enum": [
                      "asap",
                      "1-month",
                      "3-months",
                      "exploring"
                    ]
                  },
                  "message": {
                    "type": "string",
                    "description": "What you are building and where you are stuck"
                  },
                  "company": {
                    "type": "string"
                  },
                  "website": {
                    "type": "string",
                    "format": "uri"
                  },
                  "industry": {
                    "type": "string"
                  },
                  "role": {
                    "type": "string"
                  },
                  "stage": {
                    "type": "string"
                  },
                  "team_size": {
                    "type": "string"
                  },
                  "location": {
                    "type": "string"
                  },
                  "ai_stack": {
                    "type": "string"
                  },
                  "budget": {
                    "type": "string"
                  },
                  "referral": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Inquiry received — reply within one business day"
          }
        }
      }
    }
  }
}