{
  "openapi": "3.1.0",
  "info": {
    "title": "Bodla Etimad Strategic Investments Deal Room API",
    "description": "Autonomous deal intake, mandate screening, and cadastral due diligence protocol API for Bodla Etimad Strategic Investments. Facilitating cross-border corporate agriculture (1,000 to 5,000+ contiguous acres) across Sindh and Punjab in Pakistan.",
    "version": "1.0.0",
    "contact": {
      "name": "Bodla Etimad Executive Office",
      "email": "be@bodlaetimad.com",
      "url": "https://bodlaetimad.com/deal-room"
    }
  },
  "servers": [
    {
      "url": "https://bodlaetimad.com",
      "description": "Production Sovereign Advisory Server"
    }
  ],
  "paths": {
    "/api/deal-room": {
      "get": {
        "summary": "Retrieve Institutional Deal Room Capabilities & Cadastral Verification Protocol",
        "description": "Returns the active intake schema, regulatory framework acts (1967, 1873, 1908), and 6-step cadastral proof protocol.",
        "operationId": "getDealRoomSchema",
        "responses": {
          "200": {
            "description": "Active deal room intake specification",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      },
      "post": {
        "summary": "Submit Confidential Investment Brief or Mandate",
        "description": "Direct intake for sovereign wealth funds, corporate conglomerates, and qualified private principals.",
        "operationId": "submitInvestmentBrief",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InvestmentBriefInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Mandate securely received and queued for executive review"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "InvestmentBriefInput": {
        "type": "object",
        "required": [
          "name",
          "email",
          "phone",
          "investmentInterest",
          "preferredEngagement",
          "investorRegion"
        ],
        "properties": {
          "name": {
            "type": "string",
            "description": "Representative full name"
          },
          "principal": {
            "type": "string",
            "description": "Firm name, sovereign fund, or private family office"
          },
          "email": {
            "type": "string",
            "format": "email",
            "description": "Official corporate email"
          },
          "phone": {
            "type": "string",
            "description": "Direct phone or WhatsApp number with country code"
          },
          "investmentInterest": {
            "type": "string",
            "description": "Sector focus, e.g. Corporate Agriculture, Land Banking, or International Trade"
          },
          "preferredEngagement": {
            "type": "string",
            "description": "Direct Equity, Joint Venture, Outright Acquisition, or Long-Term Lease"
          },
          "investorRegion": {
            "type": "string",
            "description": "GCC, China, Russia/CIS, UK/EU, North America, or Pakistan"
          },
          "objective": {
            "type": "string",
            "description": "Strategic requirements, capital parameters, and deployment timeline"
          }
        }
      }
    }
  }
}
