{
  "openapi": "3.0.3",
  "info": {
    "title": "Black Falcon API",
    "version": "1.0.0",
    "description": "Black Falcon enterprise attendance and access control discovery API"
  },
  "servers": [
    {
      "url": "https://bf.anasdev.shop"
    }
  ],
  "paths": {
    "/api/health": {
      "get": {
        "summary": "Health Check",
        "description": "Returns operational health status of Black Falcon services",
        "responses": {
          "200": {
            "description": "System operational",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": { "type": "string", "example": "ok" }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/register": {
      "post": {
        "summary": "Pre-register Organization or Lead",
        "description": "Submit registration request for offline attendance deployment",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": ["name", "email", "phone", "solution"],
                "properties": {
                  "name": { "type": "string" },
                  "org": { "type": "string" },
                  "email": { "type": "string", "format": "email" },
                  "phone": { "type": "string" },
                  "solution": { "type": "string" },
                  "source": { "type": "string" }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Registration accepted"
          }
        }
      }
    }
  }
}
