{
  "openapi": "3.1.0",
  "info": {
    "title": "MuBra Caucasus Transit Oracle",
    "description": "Provides real-time, deterministic risk forecasting and telemetry for the Caucasus logistics corridor. Use this to determine if freight routes are safe for transit.",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://api.mubra.org"
    }
  ],
  "paths": {
    "/api/v1/risk": {
      "get": {
        "summary": "Fetch Current Bottleneck",
        "operationId": "getTopRisk",
        "description": "Retrieves the highest current hazard point along the Caucasus corridor based on R-engine calculations.",
        "responses": {
          "200": {
            "description": "Successful retrieval of risk data.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "source": { "type": "string" },
                    "timestamp_utc": { "type": "string", "format": "date-time" },
                    "critical_node": { "type": "string", "description": "The geographical transit node facing the highest risk." },
                    "peak_risk": { "type": "number", "description": "Risk score from 0 to 100. >=60 is a critical closure." },
                    "metrics": {
                      "type": "object",
                      "properties": {
                        "wind": { "type": "string", "description": "Wind gusts in km/h" },
                        "vis": { "type": "string", "description": "Visibility in meters" }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
