{
  "test_config": {
    "store": "cdiscount",
    "url": "https://www.cdiscount.com/informatique/clavier-souris-webcam/exemple/f-1070123-exemple.html",
    "description": "Exemple de produit Cdiscount pour tests"
  },
  "selectors": {
    "title": {
      "type": "css",
      "selector": "h1[itemprop='name']",
      "expected": "Nom du produit Cdiscount"
    },
    "price": {
      "type": "css",
      "selector": "span[itemprop='price']",
      "attribute": "content",
      "expected": "299.99"
    },
    "currency": {
      "type": "css",
      "selector": "meta[itemprop='priceCurrency']",
      "attribute": "content",
      "expected": "EUR"
    },
    "stock": {
      "type": "css",
      "selector": "link[itemprop='availability']",
      "attribute": "href",
      "expected": "InStock"
    },
    "images": {
      "type": "css",
      "selector": "img[itemprop='image']",
      "attribute": "src",
      "expected": "URL de l'image"
    },
    "category": {
      "type": "css",
      "selector": ".breadcrumb",
      "expected": "Informatique > Souris"
    },
    "sku": {
      "type": "regex",
      "pattern": "/f-(\\d+-[\\w-]+)\\.html",
      "expected": "1070123-exemple"
    }
  },
  "test_data": {
    "valid_urls": [
      "https://www.cdiscount.com/informatique/clavier-souris-webcam/exemple/f-1070123-exemple.html",
      "https://www.cdiscount.com/category/product/f-1070123-exemple.html?param=value"
    ],
    "expected_canonical": "https://www.cdiscount.com/informatique/clavier-souris-webcam/exemple/f-1070123-exemple.html",
    "expected_sku": "1070123-exemple"
  }
}
