{
  "openapi": "3.0.3",
  "info": {
    "title": "MGA Mamun Network Websites Designing - AI Agent API",
    "description": "Machine-readable API for AI Agents (ChatGPT, Gemini, Claude, Perplexity, Auto-GPT) to fetch web development service information, AED pricing packages, developer qualifications, and submit project inquiries.",
    "version": "1.0.0",
    "contact": {
      "name": "M. Gias Uddin Al Mamun",
      "email": "info@mgamamunbd.online",
      "url": "https://mgamamunbd.online/contact"
    }
  },
  "servers": [
    {
      "url": "https://mgamamunbd.online",
      "description": "Production Server"
    }
  ],
  "paths": {
    "/api/agent/info": {
      "get": {
        "summary": "Get structured information about services, pricing packages, and contact details for AI agents",
        "operationId": "getAgentInfo",
        "responses": {
          "200": {
            "description": "Successful response containing structured agency information",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AgencyInfo"
                }
              }
            }
          }
        }
      }
    },
    "/api/contact": {
      "post": {
        "summary": "Submit a website development project inquiry or consultation request",
        "operationId": "submitContactForm",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ContactRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Message submitted successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": { "type": "boolean" },
                    "message": { "type": "string" }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "AgencyInfo": {
        "type": "object",
        "properties": {
          "name": { "type": "string" },
          "developer": { "type": "string" },
          "experience": { "type": "string" },
          "location": { "type": "string" },
          "telephone": { "type": "string" },
          "email": { "type": "string" },
          "pricing": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "plan": { "type": "string" },
                "priceAED": { "type": "number" },
                "deliveryDays": { "type": "string" },
                "features": { "type": "array", "items": { "type": "string" } }
              }
            }
          },
          "services": {
            "type": "array",
            "items": { "type": "string" }
          }
        }
      },
      "ContactRequest": {
        "type": "object",
        "required": ["name", "email", "message"],
        "properties": {
          "name": { "type": "string" },
          "email": { "type": "string", "format": "email" },
          "phone": { "type": "string" },
          "service": { "type": "string" },
          "message": { "type": "string" }
        }
      }
    }
  }
}
