{
  "openapi": "3.0.3",
  "info": {
    "title": "Banu Ünal Ergün Public Content & Agent API",
    "description": "CORS-enabled public read API for autonomous AI agents, search engines, and LLMs.",
    "version": "1.0.0",
    "contact": {
      "name": "Banu Ünal Ergün, MSc",
      "url": "https://banuunalergun.com",
      "email": "info@banuunalergun.com"
    }
  },
  "servers": [
    {
      "url": "https://banuunalergun.com"
    }
  ],
  "paths": {
    "/api.php?action=public_info": {
      "get": {
        "summary": "Get website overview, services, credentials, and diagnostic tool links",
        "responses": {
          "200": {
            "description": "Website metadata and service catalog"
          }
        }
      }
    },
    "/api.php?action=search_articles": {
      "get": {
        "summary": "Search blog articles and guides",
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "List of matching blog articles with title, summary, and clean URL"
          }
        }
      }
    },
    "/api.php?action=get_services": {
      "get": {
        "summary": "Get all structured coaching and consulting service packages",
        "responses": {
          "200": {
            "description": "List of services with description and target audience"
          }
        }
      }
    },
    "/api.php?action=get_inventory_tools": {
      "get": {
        "summary": "Get scientific assessment tools and diagnostic URLs",
        "responses": {
          "200": {
            "description": "List of inventory tools"
          }
        }
      }
    },
    "/api.php?action=webhook_info": {
      "get": {
        "summary": "Webhook & Event Notification Specifications",
        "description": "Returns supported inbound/outbound event types (lead.created, inventory.completed, booking.scheduled) for Zapier and Make.com integrations.",
        "responses": {
          "200": {
            "description": "Webhook metadata and integration instructions",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string"
                    },
                    "supported_events": {
                      "type": "object"
                    },
                    "integrations": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}