{
    "ucp_version": "1.0",
    "protocol": "Universal Commerce Protocol",
    "merchant": {
        "name": "Tandemonline",
        "domain": "tandemonline.com.tr",
        "url": "https://tandemonline.com.tr",
        "locale": "tr_TR",
        "currency": "TRY",
        "country": "TR",
        "platform": "PrestaShop",
        "contact": "crm@tandem.com.tr"
    },
    "capabilities": {
        "product_discovery": true,
        "product_detail": true,
        "category_browsing": true,
        "pricing": true,
        "availability": true,
        "search": true,
        "checkout_intent": true,
        "reviews": true
    },
    "endpoints": {
        "catalog": {
            "url": "https://tandemonline.com.tr/module/ucpprotocol/catalog",
            "method": "GET",
            "description": "Full product catalog with pagination",
            "parameters": {
                "page": {
                    "type": "integer",
                    "default": 1,
                    "description": "Page number"
                },
                "limit": {
                    "type": "integer",
                    "default": 50,
                    "max": 200,
                    "description": "Products per page"
                },
                "category": {
                    "type": "integer",
                    "description": "Filter by category ID"
                },
                "search": {
                    "type": "string",
                    "description": "Search query"
                },
                "in_stock": {
                    "type": "boolean",
                    "description": "Filter in-stock only"
                },
                "min_price": {
                    "type": "number",
                    "description": "Minimum price filter"
                },
                "max_price": {
                    "type": "number",
                    "description": "Maximum price filter"
                },
                "sort": {
                    "type": "string",
                    "enum": [
                        "price_asc",
                        "price_desc",
                        "name_asc",
                        "name_desc",
                        "date_desc",
                        "bestsellers"
                    ],
                    "description": "Sort order"
                }
            },
            "response_format": "application/json"
        },
        "product": {
            "url": "https://tandemonline.com.tr/module/ucpprotocol/product",
            "method": "GET",
            "description": "Single product detail with full schema",
            "parameters": {
                "id": {
                    "type": "integer",
                    "required": true,
                    "description": "Product ID"
                }
            },
            "response_format": "application/json"
        },
        "categories": {
            "url": "https://tandemonline.com.tr/module/ucpprotocol/categories",
            "method": "GET",
            "description": "Category tree with product counts",
            "response_format": "application/json"
        },
        "search": {
            "url": "https://tandemonline.com.tr/module/ucpprotocol/catalog",
            "method": "GET",
            "description": "Search products by keyword",
            "parameters": {
                "search": {
                    "type": "string",
                    "required": true
                }
            },
            "response_format": "application/json"
        }
    },
    "intents": [
        {
            "intent": "discover_products",
            "description": "Browse and discover products from the catalog",
            "endpoint": "catalog"
        },
        {
            "intent": "search_products",
            "description": "Search for specific products by keyword",
            "endpoint": "catalog",
            "required_params": [
                "search"
            ]
        },
        {
            "intent": "get_product_detail",
            "description": "Get full details of a specific product",
            "endpoint": "product",
            "required_params": [
                "id"
            ]
        },
        {
            "intent": "check_availability",
            "description": "Check product stock availability",
            "endpoint": "product",
            "required_params": [
                "id"
            ]
        },
        {
            "intent": "compare_prices",
            "description": "Get pricing information for products",
            "endpoint": "catalog"
        },
        {
            "intent": "browse_categories",
            "description": "Browse product categories",
            "endpoint": "categories"
        },
        {
            "intent": "checkout",
            "description": "Redirect to checkout page for purchase",
            "action_url": "https://tandemonline.com.tr/siparis",
            "type": "redirect"
        }
    ],
    "data_schema": {
        "product": {
            "id": "integer",
            "name": "string",
            "description": "string",
            "url": "string (URL)",
            "price": "object {amount, currency, formatted}",
            "sale_price": "object {amount, currency, formatted} | null",
            "availability": "string (in_stock | out_of_stock | backorder)",
            "quantity": "integer",
            "images": "array of URLs",
            "brand": "string | null",
            "sku": "string | null",
            "ean": "string | null",
            "condition": "string (new | used | refurbished)",
            "weight": "number (kg) | null",
            "category": "object {id, name, path}",
            "rating": "object {average, count} | null"
        }
    },
    "rate_limiting": {
        "requests_per_minute": 60,
        "strategy": "sliding_window"
    },
    "authentication": {
        "required": false,
        "type": "none",
        "note": "Public read-only access. No authentication required for product discovery."
    },
    "policies": {
        "robots_txt": "https://tandemonline.com.tr/robots.txt",
        "llms_txt": "https://tandemonline.com.tr/llms.txt",
        "terms_of_service": "https://tandemonline.com.tr/icerik/3-kullanim-kosullari",
        "privacy_policy": "https://tandemonline.com.tr/icerik/2-gizlilik-politikasi",
        "allowed_agents": "*",
        "crawl_delay": 1
    }
}