{
  "description": "Scrape Amazon's Today's Deals grid by category, discount, price, collection and Prime status across 23 marketplaces. Includes rating, deal window and product details.",
  "properties": {
    "brand": {
      "default": "",
      "description": "Case-insensitive brand name substring (e.g. Anker, Samsung). Leave empty for all brands.",
      "editor": "textfield",
      "prefill": "",
      "title": "Brand",
      "type": "string"
    },
    "categories": {
      "default": [],
      "description": "Amazon departments to scan. Common names: Electronics, Home & Kitchen, Kitchen, Beauty & Personal Care, Clothing Shoes & Jewelry, Toys & Games, Sports & Outdoors, Books, Pet Supplies, Automotive, Health & Household, Computers & Accessories, Cell Phones & Accessories, Video Games, Tools & Home Improvement, Patio Lawn & Garden, Baby Products, Office Products, Musical Instruments, Camera & Photo, Grocery & Gourmet Food, Amazon Devices & Accessories. Add several categories to scan past Amazon's 500-deal window.",
      "editor": "stringList",
      "items": {
        "type": "string"
      },
      "prefill": [],
      "title": "Categories / departments",
      "type": "array"
    },
    "collection": {
      "default": "",
      "description": "Restrict to one of Amazon's curated deal collections. The collection names differ by marketplace; unsupported collections return a clear status record instead of unfiltered data.",
      "editor": "select",
      "enum": [
        "",
        "lightning-deals",
        "coupons",
        "outlet",
        "customers-most-loved",
        "new-arrivals",
        "trending",
        "prime-exclusive",
        "refurbished",
        "premium-brands",
        "amazon-brands"
      ],
      "enumTitles": [
        "Any collection",
        "Lightning Deals",
        "Coupons",
        "Outlet",
        "Customers' Most-Loved",
        "New Arrivals",
        "Trending",
        "Prime Exclusive",
        "Refurbished",
        "Premium Brands",
        "Amazon Brands"
      ],
      "prefill": "",
      "title": "Deal collection",
      "type": "string"
    },
    "discountMax": {
      "description": "Keep deals with at most this percentage off, filtered by Amazon itself.",
      "maximum": 100,
      "minimum": 0,
      "title": "Maximum discount (%)",
      "type": "integer"
    },
    "discountMin": {
      "description": "Keep deals with at least this percentage off, filtered by Amazon itself.",
      "maximum": 100,
      "minimum": 0,
      "title": "Minimum discount (%)",
      "type": "integer"
    },
    "marketplace": {
      "default": "amazon.com",
      "description": "Which Amazon domain's Today's Deals page to scrape.",
      "editor": "select",
      "enum": [
        "amazon.com",
        "amazon.co.uk",
        "amazon.de",
        "amazon.fr",
        "amazon.it",
        "amazon.es",
        "amazon.ca",
        "amazon.com.au",
        "amazon.co.jp",
        "amazon.in",
        "amazon.com.br",
        "amazon.com.mx",
        "amazon.nl",
        "amazon.se",
        "amazon.pl",
        "amazon.com.tr",
        "amazon.ae",
        "amazon.sa",
        "amazon.sg",
        "amazon.eg",
        "amazon.ie",
        "amazon.com.be",
        "amazon.co.za"
      ],
      "enumTitles": [
        "United States (amazon.com)",
        "United Kingdom (amazon.co.uk)",
        "Germany (amazon.de)",
        "France (amazon.fr)",
        "Italy (amazon.it)",
        "Spain (amazon.es)",
        "Canada (amazon.ca)",
        "Australia (amazon.com.au)",
        "Japan (amazon.co.jp)",
        "India (amazon.in)",
        "Brazil (amazon.com.br)",
        "Mexico (amazon.com.mx)",
        "Netherlands (amazon.nl)",
        "Sweden (amazon.se)",
        "Poland (amazon.pl)",
        "Turkey (amazon.com.tr)",
        "United Arab Emirates (amazon.ae)",
        "Saudi Arabia (amazon.sa)",
        "Singapore (amazon.sg)",
        "Egypt (amazon.eg)",
        "Ireland (amazon.ie)",
        "Belgium (amazon.com.be)",
        "South Africa (amazon.co.za)"
      ],
      "prefill": "amazon.com",
      "title": "Amazon marketplace",
      "type": "string"
    },
    "maxItems": {
      "default": 30,
      "description": "Hard cap on emitted deal records. Amazon exposes up to 500 deals per category/collection query; add categories to partition the window.",
      "maximum": 2000,
      "minimum": 1,
      "prefill": 3,
      "title": "Max items",
      "type": "integer"
    },
    "minRating": {
      "description": "Keep only deals whose product rating is at least this value. Deals without a rating are excluded when this is set.",
      "maximum": 5,
      "minimum": 1,
      "title": "Minimum rating",
      "type": "integer"
    },
    "priceMax": {
      "description": "Keep deals at or below this price in the marketplace's local currency.",
      "maximum": 100000,
      "minimum": 0,
      "title": "Maximum deal price",
      "type": "integer"
    },
    "priceMin": {
      "description": "Keep deals at or above this price in the marketplace's local currency.",
      "maximum": 100000,
      "minimum": 0,
      "title": "Minimum deal price",
      "type": "integer"
    },
    "primeExclusiveOnly": {
      "default": false,
      "description": "Only return deals in Amazon's Prime Exclusive collection.",
      "prefill": false,
      "title": "Prime Exclusive deals only",
      "type": "boolean"
    },
    "sortBy": {
      "default": "featured",
      "description": "Featured keeps Amazon's order. Other sorts read the fetched deal window before returning, so they may take longer.",
      "editor": "select",
      "enum": [
        "featured",
        "priceLow",
        "priceHigh",
        "discountHigh",
        "ratingHigh"
      ],
      "enumTitles": [
        "Amazon featured",
        "Price: low to high",
        "Price: high to low",
        "Biggest discount",
        "Highest rating"
      ],
      "prefill": "featured",
      "title": "Sort results",
      "type": "string"
    }
  },
  "required": [
    "marketplace"
  ],
  "schemaVersion": 1,
  "title": "Amazon Deals Grid Tracker Input",
  "type": "object"
}
