{
  "openapi": "3.1.0",
  "info": {
    "title": "DrishtiX Cyber Labs contact API",
    "version": "1.0.0",
    "description": "Submit a request for a fixed-price security testing scope. A human reviews every request and replies within 48 hours. Only submit on behalf of a person who asked for it."
  },
  "servers": [{"url": "https://dxcl.tech"}],
  "paths": {
    "/api/contact": {
      "post": {
        "operationId": "requestScopingCall",
        "summary": "Request a scoping call",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": ["name", "email", "company", "surface", "message"],
                "properties": {
                  "name": {"type": "string", "minLength": 2, "maxLength": 120},
                  "email": {"type": "string", "format": "email", "maxLength": 200},
                  "company": {"type": "string", "minLength": 2, "maxLength": 160},
                  "surface": {"type": "string", "enum": ["web-mobile-api", "ai-llm", "iot-hardware", "cloud", "unsure"]},
                  "trigger": {"type": "string", "enum": ["", "fundraise", "enterprise-deal", "launch", "compliance", "other"]},
                  "message": {"type": "string", "minLength": 10, "maxLength": 4000, "description": "What is being built and what is coming up."}
                }
              }
            }
          }
        },
        "responses": {
          "200": {"description": "Received", "content": {"application/json": {"schema": {"type": "object", "properties": {"ok": {"type": "boolean"}}}}}},
          "400": {"description": "Validation failed"},
          "502": {"description": "Delivery failed; email info@dxcl.tech instead"}
        }
      }
    }
  }
}
