{
  "properties": {
    "excludeCategories": {
      "default": [],
      "description": "Skip businesses whose category contains any of these words, for example [\"hotel\", \"casino\"].",
      "editor": "stringList",
      "items": {
        "type": "string"
      },
      "prefill": [],
      "title": "Exclude categories",
      "type": "array"
    },
    "hasPhone": {
      "default": false,
      "description": "Only keep businesses that publish a phone number on their Google Maps listing.",
      "prefill": false,
      "title": "Must have a phone number",
      "type": "boolean"
    },
    "hasWebsite": {
      "default": false,
      "description": "Only keep businesses that publish a website on their Google Maps listing.",
      "prefill": false,
      "title": "Must have a website",
      "type": "boolean"
    },
    "includeClosed": {
      "default": true,
      "description": "When off, businesses Google marks as permanently closed are skipped.",
      "prefill": true,
      "title": "Include permanently closed businesses",
      "type": "boolean"
    },
    "includeDetails": {
      "default": true,
      "description": "Read the place panel for Plus Code, price range, hotel and fuel details, attributes, photo count and rating histogram. Adds one request per place; the basic listing fields and weekly hours are always included.",
      "prefill": false,
      "title": "Include place details",
      "type": "boolean"
    },
    "language": {
      "default": "en",
      "description": "Language for Google Maps names, categories, addresses and hours.",
      "editor": "select",
      "enum": [
        "en",
        "af",
        "az",
        "id",
        "ms",
        "bs",
        "ca",
        "cs",
        "da",
        "de",
        "et",
        "es",
        "es-419",
        "eu",
        "fil",
        "fr",
        "gl",
        "hr",
        "zu",
        "is",
        "it",
        "sw",
        "lv",
        "lt",
        "hu",
        "nl",
        "no",
        "uz",
        "pl",
        "pt-BR",
        "pt-PT",
        "ro",
        "sq",
        "sk",
        "sl",
        "fi",
        "sv",
        "vi",
        "tr",
        "el",
        "bg",
        "ky",
        "kk",
        "mk",
        "mn",
        "ru",
        "sr",
        "uk",
        "ka",
        "hy",
        "iw",
        "ur",
        "ar",
        "fa",
        "am",
        "ne",
        "hi",
        "mr",
        "bn",
        "pa",
        "gu",
        "ta",
        "te",
        "kn",
        "ml",
        "si",
        "th",
        "lo",
        "my",
        "km",
        "ko",
        "ja",
        "zh-CN",
        "zh-TW"
      ],
      "enumTitles": [
        "English",
        "Afrikaans",
        "azərbaycan",
        "Bahasa Indonesia",
        "Bahasa Melayu",
        "bosanski",
        "català",
        "Čeština",
        "Dansk",
        "Deutsch",
        "eesti",
        "Español",
        "Español (Latinoamérica)",
        "euskara",
        "Filipino",
        "Français",
        "galego",
        "Hrvatski",
        "isiZulu",
        "íslenska",
        "Italiano",
        "Kiswahili",
        "latviešu",
        "lietuvių",
        "magyar",
        "Nederlands",
        "norsk",
        "oʻzbekcha",
        "polski",
        "Português (Brasil)",
        "Português (Portugal)",
        "română",
        "shqip",
        "Slovenčina",
        "slovenščina",
        "Suomi",
        "Svenska",
        "Tiếng Việt",
        "Türkçe",
        "Ελληνικά",
        "български",
        "кыргызча",
        "қазақ тілі",
        "македонски",
        "монгол",
        "Русский",
        "српски",
        "Українська",
        "ქართული",
        "հայերեն",
        "עברית",
        "اردو",
        "العربية",
        "فارسی",
        "አማርኛ",
        "नेपाली",
        "हिन्दी",
        "मराठी",
        "বাংলা",
        "ਪੰਜਾਬੀ",
        "ગુજરાતી",
        "தமிழ்",
        "తెలుగు",
        "ಕನ್ನಡ",
        "മലയാളം",
        "සිංහල",
        "ไทย",
        "ລາວ",
        "ဗမာ",
        "ខ្មែរ",
        "한국어",
        "日本語",
        "简体中文",
        "繁體中文"
      ],
      "title": "Language",
      "type": "string"
    },
    "location": {
      "description": "Optional location appended to each search term, for example 'Austin, TX'. Leave blank when the location is already in the query.",
      "editor": "textfield",
      "title": "Location (optional)",
      "type": "string"
    },
    "locations": {
      "default": [],
      "description": "Several locations in one run, for example [\"New York, NY\", \"Austin, TX\"]. Each term is searched in each location.",
      "editor": "stringList",
      "items": {
        "type": "string"
      },
      "prefill": [],
      "title": "Locations (batch)",
      "type": "array"
    },
    "maxRating": {
      "description": "Only keep businesses rated at or below this value.",
      "maximum": 5,
      "minimum": 1,
      "title": "Maximum rating",
      "type": "number"
    },
    "maxResults": {
      "default": 20,
      "description": "Places to collect per search in search mode, or in total in the direct modes. Google returns a ranked window of roughly 160-230 places for a typical query; split broad searches by neighborhood or category for wider coverage.",
      "maximum": 100000,
      "minimum": 1,
      "prefill": 3,
      "title": "Max Results",
      "type": "integer"
    },
    "maxReviews": {
      "description": "Only keep businesses with at most this many reviews.",
      "maximum": 10000000,
      "minimum": 0,
      "title": "Maximum review count",
      "type": "integer"
    },
    "minRating": {
      "description": "Only keep businesses rated at or above this value. Businesses with no published rating are skipped.",
      "maximum": 5,
      "minimum": 1,
      "title": "Minimum rating",
      "type": "number"
    },
    "minReviews": {
      "description": "Only keep businesses with at least this many reviews.",
      "maximum": 10000000,
      "minimum": 0,
      "title": "Minimum review count",
      "type": "integer"
    },
    "mode": {
      "default": "search",
      "description": "Search mode uses a text query; placeUrls mode reads specific Maps URLs; placeIds mode resolves canonical ChIJ Place IDs.",
      "editor": "select",
      "enum": [
        "search",
        "placeUrls",
        "placeIds"
      ],
      "enumTitles": [
        "Search Google Maps",
        "Scrape place URLs",
        "Scrape Place IDs"
      ],
      "prefill": "search",
      "title": "Mode",
      "type": "string"
    },
    "nameFilter": {
      "description": "Only keep businesses whose name contains this text, for example \"pizza\".",
      "editor": "textfield",
      "title": "Business name contains",
      "type": "string"
    },
    "openNow": {
      "default": false,
      "description": "Only keep businesses Google currently shows as open.",
      "prefill": false,
      "title": "Open now only",
      "type": "boolean"
    },
    "placeIds": {
      "description": "Canonical Google Place IDs beginning with ChIJ. Used in placeUrls and placeIds modes; the two direct modes accept a mixed batch.",
      "editor": "stringList",
      "items": {
        "type": "string"
      },
      "minItems": 1,
      "title": "Google Place IDs",
      "type": "array"
    },
    "placeUrls": {
      "description": "Google Maps place URLs to read directly. Used in placeUrls and placeIds modes; the two direct modes accept a mixed batch.",
      "editor": "stringList",
      "items": {
        "type": "string"
      },
      "title": "Place URLs",
      "type": "array"
    },
    "searchQuery": {
      "description": "What to search for on Google Maps. Include a location for best results, for example 'coffee shops in New York'. Used when mode is search.",
      "editor": "textfield",
      "prefill": "coffee shops in New York",
      "title": "Search Query",
      "type": "string"
    },
    "searchTerms": {
      "default": [],
      "description": "Several search terms in one run, for example [\"coffee shops\", \"dentists\"]. Each term is searched in every location.",
      "editor": "stringList",
      "items": {
        "type": "string"
      },
      "prefill": [],
      "title": "Search terms (batch)",
      "type": "array"
    }
  },
  "schemaVersion": 1,
  "title": "Google Maps Business Finder Input",
  "type": "object"
}
