{
  "data": {
    "id": "KyJk1q49Ito89vyyo",
    "actId": "C8KMi8bQ8MAYBjSjf",
    "userId": "zq8lKbpLzTjGDayPC",
    "startedAt": "2026-12-02T06:47:59.854Z",
    "finishedAt": "2026-12-02T06:48:11.264Z",
    "status": "SUCCEEDED",
    "meta": {
      "origin": "CI"
    },
    "inputSchema": "{\n  \"title\": \"Sports Direct Scraper Input\",\n  \"description\": \"Search Sports Direct, browse by category, or fetch product pages by URL.\",\n  \"type\": \"object\",\n  \"schemaVersion\": 1,\n  \"properties\": {\n    \"mode\": {\n      \"title\": \"Mode\",\n      \"type\": \"string\",\n      \"description\": \"What to fetch.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"search\",\n        \"browseByCategory\",\n        \"byUrl\"\n      ],\n      \"enumTitles\": [\n        \"Search products\",\n        \"Browse by category\",\n        \"Fetch products from URLs\"\n      ],\n      \"default\": \"search\",\n      \"prefill\": \"search\"\n    },\n    \"searchQuery\": {\n      \"title\": \"Search query\",\n      \"type\": \"string\",\n      \"description\": \"Free-text query (mode=search), e.g. `adidas`, `running shoes`, `gym leggings`.\",\n      \"editor\": \"textfield\",\n      \"default\": \"adidas\",\n      \"prefill\": \"adidas\"\n    },\n    \"category\": {\n      \"title\": \"Category (mode=browseByCategory)\",\n      \"type\": \"string\",\n      \"description\": \"Top-level department or curated category page to browse.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"mens\",\n        \"ladies\",\n        \"kids\",\n        \"football\",\n        \"running\",\n        \"training\",\n        \"gym-fitness\",\n        \"sale\",\n        \"outdoor\",\n        \"golf\",\n        \"cycling\",\n        \"swimming\",\n        \"winter-sports\",\n        \"tennis\",\n        \"basketball\",\n        \"boxing\",\n        \"fishing\",\n        \"hiking-camping\",\n        \"running-shoes\",\n        \"mens-footwear\",\n        \"ladies-footwear\",\n        \"kids-footwear\",\n        \"mens-clothing\",\n        \"ladies-clothing\",\n        \"kids-clothing\",\n        \"football-boots\",\n        \"gym-equipment\",\n        \"accessories\",\n        \"homeware\",\n        \"brands\"\n      ],\n      \"enumTitles\": [\n        \"Men\",\n        \"Ladies\",\n        \"Kids\",\n        \"Football\",\n        \"Running\",\n        \"Training\",\n        \"Gym & Fitness\",\n        \"Sale\",\n        \"Outdoor\",\n        \"Golf\",\n        \"Cycling\",\n        \"Swimming\",\n        \"Winter Sports\",\n        \"Tennis\",\n        \"Basketball\",\n        \"Boxing\",\n        \"Fishing\",\n        \"Hiking & Camping\",\n        \"Running Shoes\",\n        \"Men's Footwear\",\n        \"Ladies' Footwear\",\n        \"Kids' Footwear\",\n        \"Men's Clothing\",\n        \"Ladies' Clothing\",\n        \"Kids' Clothing\",\n        \"Football Boots\",\n        \"Gym Equipment\",\n        \"Accessories\",\n        \"Homeware\",\n        \"Brands\"\n      ]\n    },\n    \"startUrls\": {\n      \"title\": \"Product URLs (mode=byUrl)\",\n      \"type\": \"array\",\n      \"description\": \"sportsdirect.com product page URLs to fetch (mode=byUrl).\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"priceMin\": {\n      \"title\": \"Min price (GBP)\",\n      \"type\": \"integer\",\n      \"description\": \"Drop products whose effective price is below this.\",\n      \"minimum\": 0,\n      \"maximum\": 100000\n    },\n    \"priceMax\": {\n      \"title\": \"Max price (GBP)\",\n      \"type\": \"integer\",\n      \"description\": \"Drop products whose effective price is above this.\",\n      \"minimum\": 0,\n      \"maximum\": 100000\n    },\n    \"minDiscountPercent\": {\n      \"title\": \"Min discount %\",\n      \"type\": \"integer\",\n      \"description\": \"Only emit products discounted by at least this percentage.\",\n      \"minimum\": 1,\n      \"maximum\": 100\n    },\n    \"brandKeyword\": {\n      \"title\": \"Brand keyword\",\n      \"type\": \"string\",\n      \"description\": \"Only emit products whose brand contains this text (case-insensitive), e.g. `nike`.\",\n      \"editor\": \"textfield\"\n    },\n    \"containsKeyword\": {\n      \"title\": \"Contains keyword\",\n      \"type\": \"string\",\n      \"description\": \"Only emit products whose name contains this text (case-insensitive).\",\n      \"editor\": \"textfield\"\n    },\n    \"sortBy\": {\n      \"title\": \"Sort results\",\n      \"type\": \"string\",\n      \"description\": \"Applied to the fetched page in the output order.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"relevance\",\n        \"priceLowToHigh\",\n        \"priceHighToLow\",\n        \"discountDesc\"\n      ],\n      \"enumTitles\": [\n        \"Relevance (site order)\",\n        \"Price: low to high\",\n        \"Price: high to low\",\n        \"Biggest discount first\"\n      ],\n      \"default\": \"relevance\",\n      \"prefill\": \"relevance\"\n    },\n    \"pageNumber\": {\n      \"title\": \"Search page number\",\n      \"type\": \"integer\",\n      \"description\": \"Which search-result page to fetch (mode=search; 96 products per page).\",\n      \"minimum\": 1,\n      \"maximum\": 100,\n      \"default\": 1,\n      \"prefill\": 1\n    },\n    \"maxItems\": {\n      \"title\": \"Max items\",\n      \"type\": \"integer\",\n      \"description\": \"Hard cap on emitted records.\",\n      \"minimum\": 1,\n      \"maximum\": 1000,\n      \"default\": 50,\n      \"prefill\": 50\n    },\n    \"proxyConfiguration\": {\n      \"title\": \"Proxy configuration\",\n      \"type\": \"object\",\n      \"description\": \"Optional Apify proxy. Only used lazily if Sports Direct blocks the direct request (403/429). Leave empty for the zero-cost default.\",\n      \"editor\": \"proxy\",\n      \"prefill\": {\n        \"useApifyProxy\": false\n      }\n    }\n  },\n  \"required\": [\n    \"mode\"\n  ]\n}",
    "readme": "# Sports Direct UK Price & Discount Tracker\n\nPull live pricing, discount, and stock-size data from [Sports Direct](https://www.sportsdirect.com), the UK's largest sports retailer. Search its product index by keyword, browse any department, or fetch specific product pages — and filter by price, discount depth, or brand before you run.\n\n## What this actor does\n\n- Searches Sports Direct's own product index by keyword, matching the same results you'd see on-site.\n- Browses any of 30 department and category pages (men, ladies, kids, football, running, sale, and more) without a search term.\n- Fetches individual product pages directly by URL for full description, shipping, and delivery details.\n- Filters `search`/`browseByCategory` results by GBP price range, minimum discount percentage, brand text, or a keyword inside the product name, and sorts them by price or discount depth.\n- Empty fields are omitted from records — a product with no customer ratings simply won't carry a rating field.\n\n## Output per product\n\n`search` mode records (from Sports Direct's own search index):\n- `productId` — Sports Direct's internal product key\n- `name`, `brand`, `color`, `gender`\n- `price` — current selling price in GBP\n- `ticketPrice` — the original \"was\" price in GBP\n- `onSale`, `discountPercent` — whether it's discounted, and by how much\n- `averageRating`, `reviewsCount` — only present once a product has at least one rating\n- `sizes[]`, `sizeVariantIds[]` — available size options and their variant IDs\n- `priceFrom`, `priceTo` — the lowest and highest price across size variants, when they differ\n- `imageUrls[]`, `imageUrl` — product images\n- `textSashes[]` — on-site promo badges (e.g. \"UP TO 50% OFF\")\n- `categoryCodes[]`, `subCategory`, `styleCode`, `productType`\n- `description`\n- `productUrl`, `sourceUrl`\n- `recordType: \"product\"`, `scrapedAt`\n\n`browseByCategory` mode records (from the department/category page itself — a different, narrower field set than `search`):\n- `productId` — Sports Direct's internal product key\n- `name`, `nameWithoutBrand`, `brand`, `color`\n- `price` — current selling price in GBP\n- `discountedPrice` — the reduced price, when the product is on sale\n- `onSale`, `discountPercent` — whether it's discounted, and by how much\n- `frasersPlusPrice` — the Frasers Plus loyalty-scheme price, when offered\n- `sizes[]`, `sizeVariantIds[]` — available size options and their variant IDs\n- `imageUrl` — product image\n- `textSashes[]`, `sashName` — on-site promo badges and the primary sash label\n- `category[]`, `subCategory[]`, `activity[]`, `activityGroup` — the page's own category/activity tags\n- `productUrl`, `sourceUrl`\n- `recordType: \"product\"`, `scrapedAt`\n\nProduct-page records (mode `byUrl`):\n- `productId` (SKU), `name`, `brand`, `description`, `color`, `category`\n- `price`, `priceCurrency`, `availability`\n- `shippingRate`, `shippingRateCurrency`, `deliveryMinDays`, `deliveryMaxDays`, `returnDays` — only present when the product page publishes them\n- `imageUrl`, `sourceUrl`\n- `recordType: \"productDetail\"`, `scrapedAt`\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | string | `search` | `search`, `browseByCategory`, or `byUrl`. |\n| `searchQuery` | string | `adidas` | Free-text query (mode `search`). |\n| `category` | string | – | Department or category slug to browse (mode `browseByCategory`): `mens`, `ladies`, `kids`, `football`, `running`, `training`, `gym-fitness`, `sale`, `outdoor`, `golf`, `cycling`, `swimming`, `winter-sports`, `tennis`, `basketball`, `boxing`, `fishing`, `hiking-camping`, `running-shoes`, `mens-footwear`, `ladies-footwear`, `kids-footwear`, `mens-clothing`, `ladies-clothing`, `kids-clothing`, `football-boots`, `gym-equipment`, `accessories`, `homeware`, `brands`. |\n| `startUrls` | array | `[]` | sportsdirect.com product page URLs to fetch (mode `byUrl`). |\n| `priceMin` | integer | – | Drop products priced below this (GBP). Applies to `search` and `browseByCategory` only; `byUrl` fetches exactly the URLs you pass regardless of filters. |\n| `priceMax` | integer | – | Drop products priced above this (GBP). Applies to `search` and `browseByCategory` only. |\n| `minDiscountPercent` | integer | – | Keep only products discounted by at least this percentage. Applies to `search` and `browseByCategory` only. |\n| `brandKeyword` | string | – | Keep only products whose brand contains this text. Applies to `search` and `browseByCategory` only. |\n| `containsKeyword` | string | – | Keep only products whose name contains this text. Applies to `search` and `browseByCategory` only. |\n| `sortBy` | string | `relevance` | `relevance`, `priceLowToHigh`, `priceHighToLow`, or `discountDesc`. Applies to `search` and `browseByCategory` only; `byUrl` emits records in the order you list the URLs. |\n| `pageNumber` | integer | `1` | Which search-results page to fetch (mode `search`; 96 products per page). |\n| `maxItems` | integer | `50` | Hard cap on emitted records (1–1000). |\n| `proxyConfiguration` | object | `{\"useApifyProxy\": false}` | Optional; only engaged if Sports Direct blocks a direct request. |\n\n### Example: deep discounts on running shoes\n\n```json\n{\n  \"mode\": \"search\",\n  \"searchQuery\": \"running shoes\",\n  \"priceMin\": 20,\n  \"priceMax\": 100,\n  \"minDiscountPercent\": 20,\n  \"sortBy\": \"discountDesc\"\n}\n```\n\n### Example: browse the sale department\n\n```json\n{\n  \"mode\": \"browseByCategory\",\n  \"category\": \"sale\",\n  \"maxItems\": 100\n}\n```\n\n### Example: fetch specific product pages\n\n```json\n{\n  \"mode\": \"byUrl\",\n  \"startUrls\": [\n    \"https://www.sportsdirect.com/adidas-mens-liverpool-home-football-shirt-377450\"\n  ]\n}\n```\n\n### Example: brand-and-keyword narrowed search\n\n```json\n{\n  \"mode\": \"search\",\n  \"searchQuery\": \"leggings\",\n  \"brandKeyword\": \"nike\",\n  \"containsKeyword\": \"women\"\n}\n```\n\n## Use cases\n\n- **Price-tracking tools** monitoring selling price versus ticket price and discount depth over time.\n- **Retail competitor analysis** comparing Sports Direct's catalog and pricing against other UK sports retailers.\n- **Department audits** dumping an entire category (e.g. football boots, gym equipment) in one run.\n- **Promotions research** collecting promo-sash text and discount percentages across the sale department.\n- **Catalog feeds** supplying product images, sizes, and canonical URLs into an e-commerce pipeline.\n\n## FAQ\n\n**What's the data source?**\nSports Direct's own product search index and public product pages (sportsdirect.com).\n\n**What currency are prices in?**\nGBP. Size-variant prices (`priceFrom`/`priceTo`) are also in GBP.\n\n**How current is the data?**\nLive — each run queries the current search index or product page directly, with no caching.\n\n**Why don't all products have a rating?**\n`averageRating` and `reviewsCount` are only included once a product has at least one customer rating; unrated products omit both fields.\n\n**Why are some product-detail fields like `shippingRate` missing?**\nSports Direct only publishes certain metadata on product pages that actually have it configured; the actor leaves those fields out instead of sending them empty.\n\n**Do I need a proxy to run this?**\nNo. It runs on the free plan without one by default; `proxyConfiguration` is only used as a fallback if Sports Direct ever blocks a direct request.\n\n**Do the price, discount, and keyword filters apply to `byUrl`?**\nNo — `byUrl` fetches exactly the product pages you list and returns them as-is; the price, discount, brand, keyword, and sort inputs only narrow `search` and `browseByCategory` results.\n\n**What's the difference between `search` and `browseByCategory`?**\n`search` matches your `searchQuery` against Sports Direct's product index; `browseByCategory` returns everything in a department or category page with no text match needed.\n\n**Is this affiliated with Sports Direct?**\nNo. This is an independent third-party actor and is not affiliated with Sports Direct.\n",
    "actorDefinition": {
      "actorSpecification": 1,
      "name": "sports-direct-uk-price-and-discount-tracker",
      "title": "Sports Direct UK Price & Discount Tracker",
      "description": "Search, browse, or fetch Sports Direct UK products with current price, discount percentage, available sizes, and images. Filter by price range, brand, or minimum discount before you run.",
      "version": "1.0",
      "buildTag": "latest",
      "dockerfile": "./Dockerfile",
      "readme": "# Sports Direct UK Price & Discount Tracker\n\nPull live pricing, discount, and stock-size data from [Sports Direct](https://www.sportsdirect.com), the UK's largest sports retailer. Search its product index by keyword, browse any department, or fetch specific product pages — and filter by price, discount depth, or brand before you run.\n\n## What this actor does\n\n- Searches Sports Direct's own product index by keyword, matching the same results you'd see on-site.\n- Browses any of 30 department and category pages (men, ladies, kids, football, running, sale, and more) without a search term.\n- Fetches individual product pages directly by URL for full description, shipping, and delivery details.\n- Filters `search`/`browseByCategory` results by GBP price range, minimum discount percentage, brand text, or a keyword inside the product name, and sorts them by price or discount depth.\n- Empty fields are omitted from records — a product with no customer ratings simply won't carry a rating field.\n\n## Output per product\n\n`search` mode records (from Sports Direct's own search index):\n- `productId` — Sports Direct's internal product key\n- `name`, `brand`, `color`, `gender`\n- `price` — current selling price in GBP\n- `ticketPrice` — the original \"was\" price in GBP\n- `onSale`, `discountPercent` — whether it's discounted, and by how much\n- `averageRating`, `reviewsCount` — only present once a product has at least one rating\n- `sizes[]`, `sizeVariantIds[]` — available size options and their variant IDs\n- `priceFrom`, `priceTo` — the lowest and highest price across size variants, when they differ\n- `imageUrls[]`, `imageUrl` — product images\n- `textSashes[]` — on-site promo badges (e.g. \"UP TO 50% OFF\")\n- `categoryCodes[]`, `subCategory`, `styleCode`, `productType`\n- `description`\n- `productUrl`, `sourceUrl`\n- `recordType: \"product\"`, `scrapedAt`\n\n`browseByCategory` mode records (from the department/category page itself — a different, narrower field set than `search`):\n- `productId` — Sports Direct's internal product key\n- `name`, `nameWithoutBrand`, `brand`, `color`\n- `price` — current selling price in GBP\n- `discountedPrice` — the reduced price, when the product is on sale\n- `onSale`, `discountPercent` — whether it's discounted, and by how much\n- `frasersPlusPrice` — the Frasers Plus loyalty-scheme price, when offered\n- `sizes[]`, `sizeVariantIds[]` — available size options and their variant IDs\n- `imageUrl` — product image\n- `textSashes[]`, `sashName` — on-site promo badges and the primary sash label\n- `category[]`, `subCategory[]`, `activity[]`, `activityGroup` — the page's own category/activity tags\n- `productUrl`, `sourceUrl`\n- `recordType: \"product\"`, `scrapedAt`\n\nProduct-page records (mode `byUrl`):\n- `productId` (SKU), `name`, `brand`, `description`, `color`, `category`\n- `price`, `priceCurrency`, `availability`\n- `shippingRate`, `shippingRateCurrency`, `deliveryMinDays`, `deliveryMaxDays`, `returnDays` — only present when the product page publishes them\n- `imageUrl`, `sourceUrl`\n- `recordType: \"productDetail\"`, `scrapedAt`\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | string | `search` | `search`, `browseByCategory`, or `byUrl`. |\n| `searchQuery` | string | `adidas` | Free-text query (mode `search`). |\n| `category` | string | – | Department or category slug to browse (mode `browseByCategory`): `mens`, `ladies`, `kids`, `football`, `running`, `training`, `gym-fitness`, `sale`, `outdoor`, `golf`, `cycling`, `swimming`, `winter-sports`, `tennis`, `basketball`, `boxing`, `fishing`, `hiking-camping`, `running-shoes`, `mens-footwear`, `ladies-footwear`, `kids-footwear`, `mens-clothing`, `ladies-clothing`, `kids-clothing`, `football-boots`, `gym-equipment`, `accessories`, `homeware`, `brands`. |\n| `startUrls` | array | `[]` | sportsdirect.com product page URLs to fetch (mode `byUrl`). |\n| `priceMin` | integer | – | Drop products priced below this (GBP). Applies to `search` and `browseByCategory` only; `byUrl` fetches exactly the URLs you pass regardless of filters. |\n| `priceMax` | integer | – | Drop products priced above this (GBP). Applies to `search` and `browseByCategory` only. |\n| `minDiscountPercent` | integer | – | Keep only products discounted by at least this percentage. Applies to `search` and `browseByCategory` only. |\n| `brandKeyword` | string | – | Keep only products whose brand contains this text. Applies to `search` and `browseByCategory` only. |\n| `containsKeyword` | string | – | Keep only products whose name contains this text. Applies to `search` and `browseByCategory` only. |\n| `sortBy` | string | `relevance` | `relevance`, `priceLowToHigh`, `priceHighToLow`, or `discountDesc`. Applies to `search` and `browseByCategory` only; `byUrl` emits records in the order you list the URLs. |\n| `pageNumber` | integer | `1` | Which search-results page to fetch (mode `search`; 96 products per page). |\n| `maxItems` | integer | `50` | Hard cap on emitted records (1–1000). |\n| `proxyConfiguration` | object | `{\"useApifyProxy\": false}` | Optional; only engaged if Sports Direct blocks a direct request. |\n\n### Example: deep discounts on running shoes\n\n```json\n{\n  \"mode\": \"search\",\n  \"searchQuery\": \"running shoes\",\n  \"priceMin\": 20,\n  \"priceMax\": 100,\n  \"minDiscountPercent\": 20,\n  \"sortBy\": \"discountDesc\"\n}\n```\n\n### Example: browse the sale department\n\n```json\n{\n  \"mode\": \"browseByCategory\",\n  \"category\": \"sale\",\n  \"maxItems\": 100\n}\n```\n\n### Example: fetch specific product pages\n\n```json\n{\n  \"mode\": \"byUrl\",\n  \"startUrls\": [\n    \"https://www.sportsdirect.com/adidas-mens-liverpool-home-football-shirt-377450\"\n  ]\n}\n```\n\n### Example: brand-and-keyword narrowed search\n\n```json\n{\n  \"mode\": \"search\",\n  \"searchQuery\": \"leggings\",\n  \"brandKeyword\": \"nike\",\n  \"containsKeyword\": \"women\"\n}\n```\n\n## Use cases\n\n- **Price-tracking tools** monitoring selling price versus ticket price and discount depth over time.\n- **Retail competitor analysis** comparing Sports Direct's catalog and pricing against other UK sports retailers.\n- **Department audits** dumping an entire category (e.g. football boots, gym equipment) in one run.\n- **Promotions research** collecting promo-sash text and discount percentages across the sale department.\n- **Catalog feeds** supplying product images, sizes, and canonical URLs into an e-commerce pipeline.\n\n## FAQ\n\n**What's the data source?**\nSports Direct's own product search index and public product pages (sportsdirect.com).\n\n**What currency are prices in?**\nGBP. Size-variant prices (`priceFrom`/`priceTo`) are also in GBP.\n\n**How current is the data?**\nLive — each run queries the current search index or product page directly, with no caching.\n\n**Why don't all products have a rating?**\n`averageRating` and `reviewsCount` are only included once a product has at least one customer rating; unrated products omit both fields.\n\n**Why are some product-detail fields like `shippingRate` missing?**\nSports Direct only publishes certain metadata on product pages that actually have it configured; the actor leaves those fields out instead of sending them empty.\n\n**Do I need a proxy to run this?**\nNo. It runs on the free plan without one by default; `proxyConfiguration` is only used as a fallback if Sports Direct ever blocks a direct request.\n\n**Do the price, discount, and keyword filters apply to `byUrl`?**\nNo — `byUrl` fetches exactly the product pages you list and returns them as-is; the price, discount, brand, keyword, and sort inputs only narrow `search` and `browseByCategory` results.\n\n**What's the difference between `search` and `browseByCategory`?**\n`search` matches your `searchQuery` against Sports Direct's product index; `browseByCategory` returns everything in a department or category page with no text match needed.\n\n**Is this affiliated with Sports Direct?**\nNo. This is an independent third-party actor and is not affiliated with Sports Direct.\n",
      "input": {
        "title": "Sports Direct Scraper Input",
        "description": "Search Sports Direct, browse by category, or fetch product pages by URL.",
        "type": "object",
        "schemaVersion": 1,
        "properties": {
          "mode": {
            "title": "Mode",
            "type": "string",
            "description": "What to fetch.",
            "editor": "select",
            "enum": [
              "search",
              "browseByCategory",
              "byUrl"
            ],
            "enumTitles": [
              "Search products",
              "Browse by category",
              "Fetch products from URLs"
            ],
            "default": "search",
            "prefill": "search"
          },
          "searchQuery": {
            "title": "Search query",
            "type": "string",
            "description": "Free-text query (mode=search), e.g. `adidas`, `running shoes`, `gym leggings`.",
            "editor": "textfield",
            "default": "adidas",
            "prefill": "adidas"
          },
          "category": {
            "title": "Category (mode=browseByCategory)",
            "type": "string",
            "description": "Top-level department or curated category page to browse.",
            "editor": "select",
            "enum": [
              "mens",
              "ladies",
              "kids",
              "football",
              "running",
              "training",
              "gym-fitness",
              "sale",
              "outdoor",
              "golf",
              "cycling",
              "swimming",
              "winter-sports",
              "tennis",
              "basketball",
              "boxing",
              "fishing",
              "hiking-camping",
              "running-shoes",
              "mens-footwear",
              "ladies-footwear",
              "kids-footwear",
              "mens-clothing",
              "ladies-clothing",
              "kids-clothing",
              "football-boots",
              "gym-equipment",
              "accessories",
              "homeware",
              "brands"
            ],
            "enumTitles": [
              "Men",
              "Ladies",
              "Kids",
              "Football",
              "Running",
              "Training",
              "Gym & Fitness",
              "Sale",
              "Outdoor",
              "Golf",
              "Cycling",
              "Swimming",
              "Winter Sports",
              "Tennis",
              "Basketball",
              "Boxing",
              "Fishing",
              "Hiking & Camping",
              "Running Shoes",
              "Men's Footwear",
              "Ladies' Footwear",
              "Kids' Footwear",
              "Men's Clothing",
              "Ladies' Clothing",
              "Kids' Clothing",
              "Football Boots",
              "Gym Equipment",
              "Accessories",
              "Homeware",
              "Brands"
            ]
          },
          "startUrls": {
            "title": "Product URLs (mode=byUrl)",
            "type": "array",
            "description": "sportsdirect.com product page URLs to fetch (mode=byUrl).",
            "editor": "stringList",
            "default": [],
            "prefill": []
          },
          "priceMin": {
            "title": "Min price (GBP)",
            "type": "integer",
            "description": "Drop products whose effective price is below this.",
            "minimum": 0,
            "maximum": 100000
          },
          "priceMax": {
            "title": "Max price (GBP)",
            "type": "integer",
            "description": "Drop products whose effective price is above this.",
            "minimum": 0,
            "maximum": 100000
          },
          "minDiscountPercent": {
            "title": "Min discount %",
            "type": "integer",
            "description": "Only emit products discounted by at least this percentage.",
            "minimum": 1,
            "maximum": 100
          },
          "brandKeyword": {
            "title": "Brand keyword",
            "type": "string",
            "description": "Only emit products whose brand contains this text (case-insensitive), e.g. `nike`.",
            "editor": "textfield"
          },
          "containsKeyword": {
            "title": "Contains keyword",
            "type": "string",
            "description": "Only emit products whose name contains this text (case-insensitive).",
            "editor": "textfield"
          },
          "sortBy": {
            "title": "Sort results",
            "type": "string",
            "description": "Applied to the fetched page in the output order.",
            "editor": "select",
            "enum": [
              "relevance",
              "priceLowToHigh",
              "priceHighToLow",
              "discountDesc"
            ],
            "enumTitles": [
              "Relevance (site order)",
              "Price: low to high",
              "Price: high to low",
              "Biggest discount first"
            ],
            "default": "relevance",
            "prefill": "relevance"
          },
          "pageNumber": {
            "title": "Search page number",
            "type": "integer",
            "description": "Which search-result page to fetch (mode=search; 96 products per page).",
            "minimum": 1,
            "maximum": 100,
            "default": 1,
            "prefill": 1
          },
          "maxItems": {
            "title": "Max items",
            "type": "integer",
            "description": "Hard cap on emitted records.",
            "minimum": 1,
            "maximum": 1000,
            "default": 50,
            "prefill": 50
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional Apify proxy. Only used lazily if Sports Direct blocks the direct request (403/429). Leave empty for the zero-cost default.",
            "editor": "proxy",
            "prefill": {
              "useApifyProxy": false
            }
          }
        },
        "required": [
          "mode"
        ]
      },
      "output": {
        "actorOutputSchemaVersion": 1,
        "title": "Sports Direct UK Price & Discount Tracker Output",
        "description": "Dataset of Sports Direct products with price, discount percentage, sizes, images, and category data.",
        "properties": {
          "products": {
            "type": "string",
            "title": "Sports Direct products",
            "description": "Dataset containing all scraped Sports Direct products.",
            "template": "{{links.apiDefaultDatasetUrl}}/items"
          }
        }
      },
      "storages": {
        "dataset": {
          "actorSpecification": 1,
          "views": {
            "overview": {
              "title": "Products",
              "transformation": {
                "fields": [
                  "name",
                  "brand",
                  "price",
                  "discountedPrice",
                  "discountPercent",
                  "color",
                  "category",
                  "productUrl"
                ]
              },
              "display": {
                "component": "table",
                "properties": {}
              }
            }
          }
        }
      },
      "environmentVariables": {}
    },
    "buildNumber": "1.0.1",
    "actVersion": {
      "sourceType": "SOURCE_FILES",
      "buildTag": "latest",
      "versionNumber": "1.0"
    }
  }
}