{
  "version": "1.0",
  "site": "https://khazane.gold",
  "actions": [
    {
      "id": "browse-products",
      "name": "Browse Products",
      "description": "Browse the full gold and coin catalog. Pages are server-rendered HTML; product cards link to /product/{slug}.",
      "method": "declarative",
      "endpoint": "/products",
      "parameters": {
        "optional": ["page"]
      }
    },
    {
      "id": "browse-category",
      "name": "Browse Category",
      "description": "Browse products filtered by a category slug (see /sitemap.xml for the full category list).",
      "method": "declarative",
      "endpoint": "/category/{slug}",
      "parameters": {
        "required": ["slug"]
      }
    },
    {
      "id": "view-product",
      "name": "View Product",
      "description": "Open a product detail page with title, price (Toman/IRR), SKU, purity, weight, availability and JSON-LD Product schema.",
      "method": "declarative",
      "endpoint": "/product/{slug}",
      "parameters": {
        "required": ["slug"]
      }
    },
    {
      "id": "search-products",
      "name": "Search Products",
      "description": "Server-rendered GET search over product title, description, excerpt and SKU. Returns an HTML result grid.",
      "method": "declarative",
      "endpoint": "/search?q={query}",
      "parameters": {
        "required": ["q"],
        "optional": ["page"]
      }
    },
    {
      "id": "view-gold-board",
      "name": "Check Gold Prices",
      "description": "Live gold price board: 18k gold buy/sell, second-hand gold, Emami/half/quarter coins prices in Toman, server-rendered with numeric data-price attributes.",
      "method": "declarative",
      "endpoint": "/board"
    },
    {
      "id": "purchase-inquiry",
      "name": "Purchase Inquiry (Guest)",
      "description": "Express purchase intent without login: call tel:+982188889472, write to info@khazane.gold with subject خرید {product}, or open the WhatsApp link on /contact. OTP login is required for self-service checkout.",
      "method": "declarative",
      "endpoint": "/product/{slug}",
      "parameters": {
        "optional": ["product_name"]
      }
    },
    {
      "id": "contact-support",
      "name": "Contact Support",
      "description": "Phone, email, Instagram, WhatsApp and address of Khazane Gold (contact page, static HTML).",
      "method": "declarative",
      "endpoint": "/contact"
    }
  ]
}