{
  "description": "Search Myntra by keyword, browse categories or brands, or fetch listings, product URLs, and product IDs.",
  "properties": {
    "brands": {
      "default": [],
      "description": "One or more brands to browse (mode=browseByBrand), e.g. `nike`, `levis`, `tommy hilfiger`. Spaces and punctuation are normalized automatically.",
      "editor": "stringList",
      "items": {
        "type": "string"
      },
      "prefill": [],
      "title": "Brands",
      "type": "array"
    },
    "categories": {
      "default": [],
      "description": "One or more category listings (mode=browseByCategory).",
      "editor": "select",
      "items": {
        "enum": [
          "tshirts",
          "shirts",
          "jeans",
          "trousers",
          "shorts",
          "trackpants",
          "sweatshirts",
          "sweaters",
          "jackets",
          "blazers",
          "coats",
          "kurtas",
          "kurtis",
          "sarees",
          "dresses",
          "tops",
          "skirts",
          "leggings",
          "innerwear",
          "socks",
          "swimwear",
          "shoes",
          "sneakers",
          "sports-shoes",
          "sandals",
          "flats",
          "heels",
          "boots",
          "slippers",
          "bags",
          "backpacks",
          "clutches",
          "wallets",
          "watches",
          "sunglasses",
          "belts",
          "caps",
          "scarves",
          "jewellery",
          "earrings",
          "rings",
          "bracelets",
          "chains",
          "dupattas",
          "stoles",
          "lehengas",
          "mens-grooming",
          "beauty"
        ],
        "enumTitles": [
          "T-shirts",
          "Shirts",
          "Jeans",
          "Trousers",
          "Shorts",
          "Track pants",
          "Sweatshirts",
          "Sweaters",
          "Jackets",
          "Blazers",
          "Coats",
          "Kurtas",
          "Kurtis",
          "Sarees",
          "Dresses",
          "Tops",
          "Skirts",
          "Leggings",
          "Innerwear",
          "Socks",
          "Swimwear",
          "Shoes",
          "Sneakers",
          "Sports shoes",
          "Sandals",
          "Flats",
          "Heels",
          "Boots",
          "Slippers",
          "Bags",
          "Backpacks",
          "Clutches",
          "Wallets",
          "Watches",
          "Sunglasses",
          "Belts",
          "Caps",
          "Scarves",
          "Jewellery",
          "Earrings",
          "Rings",
          "Bracelets",
          "Chains",
          "Dupattas",
          "Stoles",
          "Lehengas",
          "Men's grooming",
          "Beauty"
        ],
        "type": "string"
      },
      "prefill": [],
      "title": "Categories",
      "type": "array"
    },
    "containsKeyword": {
      "default": "",
      "description": "Only products whose name contains this keyword (case-insensitive). Leave empty for all products.",
      "editor": "textfield",
      "prefill": "",
      "title": "Keyword in product name",
      "type": "string"
    },
    "gender": {
      "default": "",
      "description": "Restrict listing results to one gender segment. Applied on Myntra's side.",
      "editor": "select",
      "enum": [
        "",
        "men",
        "women",
        "boys",
        "girls"
      ],
      "enumTitles": [
        "Any",
        "Men",
        "Women",
        "Boys",
        "Girls"
      ],
      "prefill": "",
      "title": "Gender",
      "type": "string"
    },
    "includeDetails": {
      "default": true,
      "description": "Open each product page to add sellers, addresses, per-size stock and measurements, specifications, rating breakdown, policies, videos, and tags. Slower but much richer. URL and product-ID modes always fetch details.",
      "prefill": true,
      "title": "Fetch product details",
      "type": "boolean"
    },
    "includeReviews": {
      "default": false,
      "description": "Emit one row per written review with recordType `review`, in addition to product rows.",
      "prefill": false,
      "title": "Include written reviews",
      "type": "boolean"
    },
    "maxItems": {
      "default": 100,
      "description": "Total product rows to save across all queries, categories, brands, and URLs (1-10000). Review rows are additional.",
      "maximum": 10000,
      "minimum": 1,
      "prefill": 2,
      "title": "Max products",
      "type": "integer"
    },
    "maxPrice": {
      "default": 0,
      "description": "Only products whose selling price is at most this amount. 0 means no maximum.",
      "maximum": 10000000,
      "minimum": 0,
      "prefill": 0,
      "title": "Max price (INR)",
      "type": "integer"
    },
    "maxReviewsPerProduct": {
      "default": 20,
      "description": "Review rows to fetch for each product when written reviews are enabled (1-2000).",
      "maximum": 2000,
      "minimum": 1,
      "prefill": 1,
      "title": "Max reviews per product",
      "type": "integer"
    },
    "minDiscount": {
      "default": 0,
      "description": "Only products discounted by at least this percentage. 0 means no minimum.",
      "maximum": 90,
      "minimum": 0,
      "prefill": 0,
      "title": "Min discount (%)",
      "type": "integer"
    },
    "minPrice": {
      "default": 0,
      "description": "Only products whose selling price is at least this amount. 0 means no minimum.",
      "maximum": 10000000,
      "minimum": 0,
      "prefill": 0,
      "title": "Min price (INR)",
      "type": "integer"
    },
    "minRating": {
      "default": 0,
      "description": "Only products rated at least this value (0-5). Products without a rating are excluded when this is above 0.",
      "maximum": 5,
      "minimum": 0,
      "prefill": 0,
      "title": "Min rating",
      "type": "number"
    },
    "mode": {
      "default": "search",
      "description": "What to fetch. Each mode has its own input list below.",
      "editor": "select",
      "enum": [
        "search",
        "browseByCategory",
        "browseByBrand",
        "byUrl",
        "byProductIds"
      ],
      "enumTitles": [
        "Search by keyword",
        "Browse by category",
        "Browse by brand",
        "Fetch listing or product URLs",
        "Fetch product IDs"
      ],
      "prefill": "search",
      "title": "Mode",
      "type": "string"
    },
    "productIds": {
      "default": [],
      "description": "Numeric Myntra product IDs or product URLs (mode=byProductIds), e.g. `36674095`.",
      "editor": "stringList",
      "items": {
        "type": "string"
      },
      "prefill": [],
      "title": "Product IDs",
      "type": "array"
    },
    "proxyConfiguration": {
      "default": {},
      "description": "Optional override. Leave untouched and the actor selects a working connection automatically.",
      "editor": "proxy",
      "prefill": {},
      "title": "Proxy configuration",
      "type": "object"
    },
    "searchQueries": {
      "default": [],
      "description": "One or more keyword searches (mode=search), e.g. `tshirts`, `printed kurtas`, `nike running shoes`. Each query is fetched separately and duplicates are removed.",
      "editor": "stringList",
      "items": {
        "type": "string"
      },
      "prefill": [
        "tshirts"
      ],
      "title": "Search queries",
      "type": "array"
    },
    "sortBy": {
      "default": "",
      "description": "How Myntra orders listing results.",
      "editor": "select",
      "enum": [
        "",
        "new",
        "popularity",
        "price_asc",
        "price_desc",
        "discount",
        "customer_rating"
      ],
      "enumTitles": [
        "Default relevance",
        "What's new",
        "Popularity",
        "Price: low to high",
        "Price: high to low",
        "Better discount",
        "Customer rating"
      ],
      "prefill": "",
      "title": "Sort order",
      "type": "string"
    },
    "splitLargeSearches": {
      "default": true,
      "description": "Go past the per-filter result cap by fetching gender, price-band, and sort slices, then removing duplicates. Recommended for deep exports.",
      "prefill": false,
      "title": "Split large searches",
      "type": "boolean"
    },
    "startUrls": {
      "default": [],
      "description": "Myntra listing, search, category, brand, or product URLs (mode=byUrl). Product URLs are fetched as products; everything else is fetched as a listing.",
      "editor": "stringList",
      "items": {
        "type": "string"
      },
      "prefill": [],
      "title": "Listing or product URLs",
      "type": "array"
    }
  },
  "required": [],
  "schemaVersion": 1,
  "title": "Myntra Scraper Input",
  "type": "object"
}
