{
  "properties": {
    "categoryFilter": {
      "description": "Keep places whose Google Maps category contains all words of at least one entry, for example 'coffee' or 'italian restaur'. Leave empty for no category filter.",
      "editor": "stringList",
      "items": {
        "type": "string"
      },
      "prefill": [],
      "title": "Category filter words",
      "type": "array"
    },
    "extractEmailsFromWebsite": {
      "default": true,
      "description": "Visit each business website to collect contact details. Disable for a faster run with Google Maps data only.",
      "prefill": true,
      "sectionCaption": "Contact extraction",
      "title": "Find emails, phones and social profiles on the business website",
      "type": "boolean"
    },
    "language": {
      "default": "en",
      "description": "Language of the Google Maps interface and listing text.",
      "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",
        "zh",
        "pt"
      ],
      "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",
        "Ελληνικά",
        "български",
        "кыргызча",
        "қазақ тілі",
        "македонски",
        "монгол",
        "Русский",
        "српски",
        "Українська",
        "ქართული",
        "հայերեն",
        "עברית",
        "اردو",
        "العربية",
        "فارسی",
        "አማርኛ",
        "नेपाली",
        "हिन्दी",
        "मराठी",
        "বাংলা",
        "ਪੰਜਾਬੀ",
        "ગુજરાતી",
        "தமிழ்",
        "తెలుగు",
        "ಕನ್ನಡ",
        "മലയാളം",
        "සිංහල",
        "ไทย",
        "ລາວ",
        "ဗမာ",
        "ខ្មែរ",
        "한국어",
        "日本語",
        "简体中文",
        "繁體中文",
        "中文 (Chinese)",
        "Português"
      ],
      "prefill": "en",
      "title": "Language",
      "type": "string"
    },
    "locationQuery": {
      "description": "Adds a shared location to every search phrase, for example 'Austin, TX, USA'. Leave empty when your phrases already contain the place.",
      "editor": "textfield",
      "prefill": "",
      "title": "Location (optional)",
      "type": "string"
    },
    "maxContactPagesPerWebsite": {
      "default": 3,
      "description": "How many pages to read on each website: the homepage plus contact, about, legal, privacy or careers pages. More pages find more contacts but take longer.",
      "maximum": 10,
      "minimum": 1,
      "prefill": 2,
      "title": "Pages checked per website",
      "type": "integer"
    },
    "maxEmailsPerWebsite": {
      "default": 5,
      "description": "Maximum email addresses to keep for one business website.",
      "maximum": 20,
      "minimum": 1,
      "prefill": 5,
      "title": "Emails per website",
      "type": "integer"
    },
    "maxPlacesPerSearch": {
      "default": 20,
      "description": "Maximum businesses to keep for each search phrase. Google returns a ranked window of roughly 160-220 places per phrase; asking for more simply returns what the source has.",
      "maximum": 1000,
      "minimum": 1,
      "prefill": 3,
      "sectionCaption": "Limits and language",
      "title": "Businesses per search phrase",
      "type": "integer"
    },
    "mode": {
      "default": "searchPlaces",
      "description": "Choose how to find businesses. Search Google Maps by phrase, enrich a list of websites you already have, or look up specific Google Maps places.",
      "editor": "select",
      "enum": [
        "searchPlaces",
        "enrichWebsites",
        "specificPlaces"
      ],
      "enumTitles": [
        "Search Google Maps for businesses",
        "Get contacts from a list of websites",
        "Scrape specific Google Maps places"
      ],
      "prefill": "searchPlaces",
      "sectionCaption": "How to find businesses",
      "title": "What do you want to do?",
      "type": "string"
    },
    "onlySaveResults": {
      "default": "allPlaces",
      "description": "Save every business, only businesses where an email was found, or only businesses with any contact detail (email, website phone or social profile).",
      "editor": "select",
      "enum": [
        "allPlaces",
        "onlyWithEmails",
        "onlyWithContacts"
      ],
      "enumTitles": [
        "All matching businesses",
        "Only businesses with an email",
        "Only businesses with any contact detail"
      ],
      "prefill": "allPlaces",
      "sectionCaption": "Filters and results",
      "title": "Which places to save",
      "type": "string"
    },
    "placeIds": {
      "description": "Canonical Google Place IDs starting with 'ChIJ'.",
      "editor": "stringList",
      "items": {
        "type": "string"
      },
      "prefill": [],
      "title": "Google Place IDs",
      "type": "array"
    },
    "placeMinimumStars": {
      "default": "",
      "description": "Keep only businesses rated at least this high. Places without a rating are left out when a minimum is set.",
      "editor": "select",
      "enum": [
        "",
        "two",
        "twoAndHalf",
        "three",
        "threeAndHalf",
        "four",
        "fourAndHalf"
      ],
      "enumTitles": [
        "Any rating",
        "2+ stars",
        "2.5+ stars",
        "3+ stars",
        "3.5+ stars",
        "4+ stars",
        "4.5+ stars"
      ],
      "prefill": "",
      "title": "Minimum rating",
      "type": "string"
    },
    "placeUrls": {
      "description": "Google Maps place links, copied from the address bar or from a previous export.",
      "editor": "stringList",
      "items": {
        "type": "string"
      },
      "prefill": [],
      "sectionCaption": "Scrape specific places",
      "sectionDescription": "Used when the selected mode is 'Scrape specific Google Maps places'. Provide place links, Place IDs, or both.",
      "title": "Google Maps place URLs",
      "type": "array"
    },
    "searchQueries": {
      "description": "Natural-language searches such as 'coffee shops in Austin TX' or 'plumbers near Chicago'. Include the place in the phrase, or use the location field below. Each phrase is searched separately.",
      "editor": "stringList",
      "items": {
        "type": "string"
      },
      "minItems": 1,
      "prefill": [
        "coffee shops in Austin TX"
      ],
      "sectionCaption": "Search Google Maps",
      "sectionDescription": "Used when the selected mode is 'Search Google Maps for businesses'.",
      "title": "Search phrases",
      "type": "array"
    },
    "skipClosedPlaces": {
      "default": false,
      "description": "Check each place's public status and leave out businesses marked closed. This adds one small request per place.",
      "prefill": false,
      "title": "Skip permanently or temporarily closed places",
      "type": "boolean"
    },
    "websiteFilter": {
      "default": "allPlaces",
      "description": "Keep all places, only places with a website, or only places without one.",
      "editor": "select",
      "enum": [
        "allPlaces",
        "withWebsite",
        "withoutWebsite"
      ],
      "enumTitles": [
        "All places",
        "Only places with a website",
        "Only places without a website"
      ],
      "prefill": "allPlaces",
      "title": "Website filter",
      "type": "string"
    },
    "websites": {
      "description": "Websites to extract contacts from, one per line. Bare domains such as 'example.com' are accepted.",
      "editor": "stringList",
      "items": {
        "type": "string"
      },
      "prefill": [],
      "sectionCaption": "Enrich a list of websites",
      "sectionDescription": "Used when the selected mode is 'Get contacts from a list of websites'. No Google Maps lookup is made.",
      "title": "Business websites",
      "type": "array"
    }
  },
  "required": [],
  "schemaVersion": 1,
  "title": "Google Maps Lead Finder Input",
  "type": "object"
}
