{
  "description": "Search Mercari Japan listings by keyword or URL, with condition, price, status, category, brand, size and seller filters.",
  "properties": {
    "brand": {
      "description": "Brand name (Japanese or English) or numeric ID, e.g. `Nintendo`, `任天堂` or `15487`.",
      "editor": "textfield",
      "title": "Brand",
      "type": "string"
    },
    "category": {
      "description": "Category name, path or numeric ID, e.g. `ゲーム・おもちゃ・グッズ > テレビゲーム` or `7002`.",
      "editor": "textfield",
      "title": "Category",
      "type": "string"
    },
    "condition": {
      "default": "any",
      "description": "Filter by Mercari's six condition grades.",
      "editor": "select",
      "enumSuggestedValues": [
        "any",
        "1",
        "2",
        "3",
        "4",
        "5",
        "6"
      ],
      "enumTitles": [
        "Any condition",
        "New",
        "Like New",
        "Good",
        "Fair",
        "Poor",
        "Very Poor"
      ],
      "prefill": "any",
      "title": "Item condition",
      "type": "string"
    },
    "excludeKeyword": {
      "description": "Drop listings whose title contains this word. Applied by Mercari's search.",
      "editor": "textfield",
      "title": "Exclude keyword",
      "type": "string"
    },
    "includeDetails": {
      "default": true,
      "description": "Open each listing for its description, all photos, seller rating, likes and shipping details.",
      "prefill": true,
      "title": "Include item details",
      "type": "boolean"
    },
    "keyword": {
      "description": "Search term, in Japanese or English (mode=search).",
      "editor": "textfield",
      "prefill": "Nintendo Switch",
      "title": "Keyword",
      "type": "string"
    },
    "maxItems": {
      "default": 100,
      "description": "Maximum listings to save.",
      "maximum": 2000,
      "minimum": 1,
      "prefill": 3,
      "title": "Max items",
      "type": "integer"
    },
    "maxPrice": {
      "description": "Highest price in Japanese yen.",
      "maximum": 1000000000,
      "minimum": 0,
      "title": "Maximum price (JPY)",
      "type": "integer"
    },
    "minPrice": {
      "description": "Lowest price in Japanese yen.",
      "maximum": 1000000000,
      "minimum": 0,
      "title": "Minimum price (JPY)",
      "type": "integer"
    },
    "mode": {
      "default": "search",
      "description": "How to find listings.",
      "editor": "select",
      "enum": [
        "search",
        "byUrl",
        "shop"
      ],
      "enumTitles": [
        "Search by keyword",
        "Paste Mercari URLs",
        "Mercari Shops storefront"
      ],
      "prefill": "search",
      "title": "Mode",
      "type": "string"
    },
    "sellerType": {
      "default": "any",
      "description": "Individual sellers, Mercari Shops, or both.",
      "editor": "select",
      "enum": [
        "any",
        "individual",
        "shop"
      ],
      "enumTitles": [
        "Any seller",
        "Individual sellers",
        "Mercari Shops"
      ],
      "prefill": "any",
      "title": "Seller type",
      "type": "string"
    },
    "shop": {
      "description": "Shop ID, storefront URL or shop product URL (mode=shop).",
      "editor": "textfield",
      "title": "Mercari Shops ID or URL",
      "type": "string"
    },
    "size": {
      "default": "any",
      "description": "Mercari size filter. The group name is shown before each size.",
      "editor": "select",
      "enum": [
        "any",
        "153",
        "154",
        "2",
        "3",
        "4",
        "5",
        "155",
        "156",
        "157",
        "7",
        "133",
        "134",
        "135",
        "136",
        "137",
        "9",
        "10",
        "11",
        "12",
        "13",
        "138",
        "139",
        "140",
        "141",
        "142",
        "143",
        "144",
        "145",
        "146",
        "147",
        "148",
        "16",
        "17",
        "18",
        "19",
        "20",
        "21",
        "22",
        "149",
        "150",
        "151",
        "152",
        "34",
        "35",
        "36",
        "37",
        "38",
        "40",
        "41",
        "42",
        "43",
        "44",
        "45",
        "55",
        "47",
        "48",
        "49",
        "50",
        "51",
        "52",
        "53",
        "54",
        "56",
        "57",
        "58",
        "59",
        "60",
        "90",
        "91",
        "92",
        "93",
        "94",
        "95",
        "96",
        "97",
        "98",
        "99",
        "114",
        "115",
        "116",
        "117",
        "118",
        "119",
        "120",
        "121",
        "122",
        "123",
        "124",
        "125",
        "76",
        "77",
        "78",
        "79",
        "80",
        "81",
        "82",
        "83",
        "84",
        "85",
        "86",
        "87",
        "88",
        "89",
        "158",
        "67",
        "68",
        "69",
        "70",
        "71",
        "72",
        "73",
        "74",
        "75",
        "159",
        "160",
        "161",
        "126",
        "127",
        "128",
        "129",
        "130",
        "131",
        "132",
        "100",
        "101",
        "102",
        "103",
        "104",
        "105",
        "106"
      ],
      "enumTitles": [
        "Any size",
        "洋服のサイズ – XXS以下",
        "洋服のサイズ – XS(SS)",
        "洋服のサイズ – S",
        "洋服のサイズ – M",
        "洋服のサイズ – L",
        "洋服のサイズ – XL(LL)",
        "洋服のサイズ – 2XL(3L)",
        "洋服のサイズ – 3XL(4L)",
        "洋服のサイズ – 4XL(5L)以上",
        "洋服のサイズ – FREE SIZE",
        "メンズ靴のサイズ – 23.5cm以下",
        "メンズ靴のサイズ – 24cm",
        "メンズ靴のサイズ – 24.5cm",
        "メンズ靴のサイズ – 25cm",
        "メンズ靴のサイズ – 25.5cm",
        "メンズ靴のサイズ – 26cm",
        "メンズ靴のサイズ – 26.5cm",
        "メンズ靴のサイズ – 27cm",
        "メンズ靴のサイズ – 27.5cm",
        "メンズ靴のサイズ – 28cm",
        "メンズ靴のサイズ – 28.5cm",
        "メンズ靴のサイズ – 29cm",
        "メンズ靴のサイズ – 29.5cm",
        "メンズ靴のサイズ – 30cm",
        "メンズ靴のサイズ – 30.5cm",
        "メンズ靴のサイズ – 31cm以上",
        "レディース靴のサイズ – 20cm以下",
        "レディース靴のサイズ – 20.5cm",
        "レディース靴のサイズ – 21cm",
        "レディース靴のサイズ – 21.5cm",
        "レディース靴のサイズ – 22cm",
        "レディース靴のサイズ – 22.5cm",
        "レディース靴のサイズ – 23cm",
        "レディース靴のサイズ – 23.5cm",
        "レディース靴のサイズ – 24cm",
        "レディース靴のサイズ – 24.5cm",
        "レディース靴のサイズ – 25cm",
        "レディース靴のサイズ – 25.5cm",
        "レディース靴のサイズ – 26cm",
        "レディース靴のサイズ – 26.5cm",
        "レディース靴のサイズ – 27cm",
        "レディース靴のサイズ – 27.5cm以上",
        "スカートのサイズ – 60cm以下",
        "スカートのサイズ – ~70cm",
        "スカートのサイズ – ~80cm",
        "スカートのサイズ – ~90cm",
        "スカートのサイズ – 90cm以上",
        "キッズ服のサイズ – 100cm",
        "キッズ服のサイズ – 110cm",
        "キッズ服のサイズ – 120cm",
        "キッズ服のサイズ – 130cm",
        "キッズ服のサイズ – 140cm",
        "キッズ服のサイズ – 150cm",
        "キッズ服のサイズ – 160cm",
        "ベビー・キッズ靴のサイズ – 10.5cm以下",
        "ベビー・キッズ靴のサイズ – 11cm・11.5cm",
        "ベビー・キッズ靴のサイズ – 12cm・12.5cm",
        "ベビー・キッズ靴のサイズ – 13cm・13.5cm",
        "ベビー・キッズ靴のサイズ – 14cm・14.5cm",
        "ベビー・キッズ靴のサイズ – 15cm・15.5cm",
        "ベビー・キッズ靴のサイズ – 16cm・16.5cm",
        "ベビー・キッズ靴のサイズ – 17cm以上",
        "ベビー服のサイズ – 60cm",
        "ベビー服のサイズ – 70cm",
        "ベビー服のサイズ – 80cm",
        "ベビー服のサイズ – 90cm",
        "ベビー服のサイズ – 95cm",
        "テレビのサイズ – ～20インチ",
        "テレビのサイズ – 20～26インチ",
        "テレビのサイズ – 26～32インチ",
        "テレビのサイズ – 32～37インチ",
        "テレビのサイズ – 37～40インチ",
        "テレビのサイズ – 40～42インチ",
        "テレビのサイズ – 42～46インチ",
        "テレビのサイズ – 46～52インチ",
        "テレビのサイズ – 52～60インチ",
        "テレビのサイズ – 60インチ～",
        "カメラレンズのサイズ – ニコンFマウント",
        "カメラレンズのサイズ – キヤノンEFマウント",
        "カメラレンズのサイズ – ペンタックスKマウント",
        "カメラレンズのサイズ – ペンタックスQマウント",
        "カメラレンズのサイズ – フォーサーズマウント",
        "カメラレンズのサイズ – マイクロフォーサーズマウント",
        "カメラレンズのサイズ – α Aマウント",
        "カメラレンズのサイズ – α Eマウント",
        "カメラレンズのサイズ – ニコン1マウント",
        "カメラレンズのサイズ – キヤノンEF-Mマウント",
        "カメラレンズのサイズ – Xマウント",
        "カメラレンズのサイズ – シグマSAマウント",
        "オートバイのサイズ – 50cc以下",
        "オートバイのサイズ – 51cc-125cc",
        "オートバイのサイズ – 126cc-250cc",
        "オートバイのサイズ – 251cc-400cc",
        "オートバイのサイズ – 401cc-750cc",
        "オートバイのサイズ – 751cc以上",
        "ヘルメットのサイズ – XSサイズ以下",
        "ヘルメットのサイズ – Sサイズ",
        "ヘルメットのサイズ – Mサイズ",
        "ヘルメットのサイズ – Lサイズ",
        "ヘルメットのサイズ – XLサイズ",
        "ヘルメットのサイズ – XXLサイズ以上",
        "ヘルメットのサイズ – フリーサイズ",
        "ヘルメットのサイズ – 子ども用",
        "タイヤのサイズ – 12インチ",
        "タイヤのサイズ – 13インチ",
        "タイヤのサイズ – 14インチ",
        "タイヤのサイズ – 15インチ",
        "タイヤのサイズ – 16インチ",
        "タイヤのサイズ – 17インチ",
        "タイヤのサイズ – 18インチ",
        "タイヤのサイズ – 19インチ",
        "タイヤのサイズ – 20インチ",
        "タイヤのサイズ – 21インチ",
        "タイヤのサイズ – 22インチ",
        "タイヤのサイズ – 23インチ",
        "タイヤのサイズ – 24インチ",
        "スキーのサイズ – 140cm～",
        "スキーのサイズ – 150cm～",
        "スキーのサイズ – 160cm～",
        "スキーのサイズ – 170cm～",
        "スキーのサイズ – スキーボード",
        "スキーのサイズ – 子ども用",
        "スキーのサイズ – その他",
        "スノーボードのサイズ – 135cm-140cm未満",
        "スノーボードのサイズ – 140cm-145cm未満",
        "スノーボードのサイズ – 145cm-150cm未満",
        "スノーボードのサイズ – 150cm-155cm未満",
        "スノーボードのサイズ – 155cm-160cm未満",
        "スノーボードのサイズ – 160cm-165cm未満",
        "スノーボードのサイズ – 165cm-170cm未満"
      ],
      "prefill": "any",
      "title": "Size",
      "type": "string"
    },
    "sortBy": {
      "default": "default",
      "description": "Result order.",
      "editor": "select",
      "enum": [
        "default",
        "created_time",
        "price_asc",
        "price_desc",
        "num_likes"
      ],
      "enumTitles": [
        "Relevance",
        "Newest first",
        "Price: low to high",
        "Price: high to low",
        "Most liked"
      ],
      "prefill": "default",
      "title": "Sort by",
      "type": "string"
    },
    "startUrls": {
      "description": "Search, item or shop links to scrape (mode=byUrl). Mixing link types is fine.",
      "editor": "requestListSources",
      "title": "Mercari URLs",
      "type": "array"
    },
    "status": {
      "default": "on_sale",
      "description": "On sale, exact sold out, trading, sold (sold out plus trading, the site's sold filter), or all.",
      "editor": "select",
      "enumSuggestedValues": [
        "on_sale",
        "sold_out",
        "trading",
        "sold",
        "all"
      ],
      "enumTitles": [
        "On sale",
        "Sold out only",
        "Trading",
        "Sold (sold out + trading)",
        "All statuses"
      ],
      "prefill": "on_sale",
      "title": "Listing status",
      "type": "string"
    }
  },
  "schemaVersion": 1,
  "title": "Mercari Japan Scraper Input",
  "type": "object"
}
