{
  "openapi": "3.1.0",
  "info": {
    "title": "MKB Enterprises - Spice catalogue & quote API",
    "version": "1.0.0",
    "description": "Public, unauthenticated API for AI agents and buyers: read the full spice catalogue and submit a bulk quote request to MKB Enterprises, Byadgi, Karnataka, India.",
    "contact": {
      "email": "sales@mkbenterprises.in",
      "url": "https://www.mkbenterprises.in/contact"
    }
  },
  "servers": [
    {
      "url": "https://www.mkbenterprises.in"
    }
  ],
  "paths": {
    "/api/public/catalog.json": {
      "get": {
        "operationId": "getCatalog",
        "summary": "Full catalogue: company profile, facility capacity, product lines, chilli varieties with ASTA and SHU specs, FAQs.",
        "responses": {
          "200": {
            "description": "Catalogue JSON"
          }
        }
      }
    },
    "/api/public/enquiry": {
      "get": {
        "operationId": "describeEnquiry",
        "summary": "Describe the quote-request payload and alternative contact channels.",
        "responses": {
          "200": {
            "description": "Endpoint description"
          }
        }
      },
      "post": {
        "operationId": "submitQuoteRequest",
        "summary": "Submit a bulk spice quote request. A human replies by email or phone.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "name",
                  "company",
                  "country",
                  "product",
                  "quantity",
                  "email",
                  "phone"
                ],
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 2,
                    "maxLength": 100
                  },
                  "company": {
                    "type": "string",
                    "minLength": 2,
                    "maxLength": 120
                  },
                  "country": {
                    "type": "string",
                    "minLength": 2,
                    "maxLength": 80
                  },
                  "product": {
                    "type": "string",
                    "maxLength": 80,
                    "description": "Product or variety of interest, e.g. Chilli, Turmeric, Ginger."
                  },
                  "quantity": {
                    "type": "string",
                    "maxLength": 80,
                    "description": "e.g. '2 x 20ft container' or '5 MT'"
                  },
                  "email": {
                    "type": "string",
                    "format": "email",
                    "maxLength": 255
                  },
                  "phone": {
                    "type": "string",
                    "minLength": 6,
                    "maxLength": 30
                  },
                  "message": {
                    "type": "string",
                    "maxLength": 1000
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Enquiry recorded"
          },
          "400": {
            "description": "Validation failed"
          },
          "429": {
            "description": "Rate limited - too many enquiries from this email"
          }
        }
      }
    }
  }
}