{
 "openapi": "3.1.0",
 "info": {
  "title": "RestroCart catalogue API",
  "version": "1.0.0",
  "description": "Read-only, no-auth data about RestroCart (New Delhi), makers of customized restaurant uniforms, menus, coasters, merchandise and packaging. For ordering, send the user to the quote_url / WhatsApp link: there is no order or payment API.",
  "contact": {
   "email": "info@restrocart.com",
   "url": "https://restrocart.com/contact/"
  }
 },
 "servers": [
  {
   "url": "https://restrocart.com"
  }
 ],
 "paths": {
  "/api/catalogue.json": {
   "get": {
    "summary": "Full catalogue",
    "description": "Company facts, every product family and style (answer, specs, FAQs, sample photos, credited clients, gallery URL, quote URL) and the credited client list.",
    "responses": {
     "200": {
      "description": "JSON",
      "content": {
       "application/json": {}
      }
     }
    }
   }
  },
  "/api/photos.json": {
   "get": {
    "summary": "Every catalogued photo",
    "description": "Compact list of real delivered work. Image URL = image_base + f; gallery page = page_base + page + '/'.",
    "responses": {
     "200": {
      "description": "JSON",
      "content": {
       "application/json": {}
      }
     }
    }
   }
  },
  "/api/guides.json": {
   "get": {
    "summary": "Buying guides",
    "description": "All blog guides with their quick answers.",
    "responses": {
     "200": {
      "description": "JSON",
      "content": {
       "application/json": {}
      }
     }
    }
   }
  },
  "/api/search": {
   "get": {
    "summary": "Search products, photos, clients and guides",
    "parameters": [
     {
      "name": "q",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "type",
      "in": "query",
      "schema": {
       "type": "string",
       "enum": [
        "all",
        "products",
        "photos",
        "clients",
        "guides"
       ]
      }
     },
     {
      "name": "limit",
      "in": "query",
      "schema": {
       "type": "integer",
       "maximum": 50
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Ranked results",
      "content": {
       "application/json": {}
      }
     }
    }
   }
  },
  "/mcp": {
   "post": {
    "summary": "Model Context Protocol endpoint (Streamable HTTP, JSON-RPC 2.0)",
    "description": "Tools: search_products, get_product, search_photos, list_clients, search_guides, get_company_info, prepare_quote_request",
    "requestBody": {
     "content": {
      "application/json": {}
     }
    },
    "responses": {
     "200": {
      "description": "JSON-RPC response",
      "content": {
       "application/json": {}
      }
     }
    }
   }
  }
 }
}