{
  "description": "Search apps, browse by category, or fetch details for specific app IDs from Google Workspace Marketplace.",
  "properties": {
    "appIds": {
      "default": [],
      "description": "Numeric App IDs to fetch (e.g. 218858140275). Required for mode=byAppId.",
      "editor": "stringList",
      "prefill": [],
      "title": "App IDs (mode=byAppId)",
      "type": "array"
    },
    "category": {
      "default": "popular-apps",
      "description": "Category path to browse. Required for mode=byCategory.",
      "editor": "select",
      "enum": [
        "popular-apps",
        "top-rated",
        "featured-partner-apps",
        "recommended",
        "work-from-everywhere",
        "business-essentials",
        "apps-to-discover",
        "google-apps",
        "business-tools",
        "business-tools/accounting-and-finance",
        "business-tools/administration-and-management",
        "business-tools/erp-and-logistics",
        "business-tools/hr-and-legal",
        "business-tools/marketing-and-analytics",
        "business-tools/sales-and-crm",
        "productivity",
        "productivity/creative-tools",
        "productivity/office-applications",
        "productivity/task-management",
        "productivity/web-development",
        "education",
        "education/academic-resources",
        "education/teacher-and-admin-tools",
        "communication",
        "utilities",
        "enterprise-apps"
      ],
      "enumTitles": [
        "Most popular",
        "Top rated",
        "Featured partner apps",
        "Recommended for Google Workspace",
        "Work from everywhere",
        "Business essentials",
        "Apps to discover",
        "Built by Google",
        "Business tools (all)",
        "Business tools / Accounting & finance",
        "Business tools / Administration & management",
        "Business tools / ERP & logistics",
        "Business tools / HR & legal",
        "Business tools / Marketing & analytics",
        "Business tools / Sales & CRM",
        "Productivity (all)",
        "Productivity / Creative tools",
        "Productivity / Office applications",
        "Productivity / Task management",
        "Productivity / Web development",
        "Education (all)",
        "Education / Academic resources",
        "Education / Teacher & admin tools",
        "Communication",
        "Utilities",
        "Admin managed (Enterprise)"
      ],
      "prefill": "popular-apps",
      "title": "Category (mode=byCategory)",
      "type": "string"
    },
    "language": {
      "default": "en",
      "description": "Optional language for search/category pages.",
      "editor": "select",
      "enum": [
        "en",
        "es",
        "fr",
        "de",
        "pt",
        "ja",
        "zh",
        "ko",
        "it",
        "nl",
        "pl",
        "ru",
        "ar",
        "tr",
        "id",
        "th",
        "vi",
        "sv",
        "da",
        "fi",
        "no",
        "cs",
        "hu",
        "ro",
        "uk"
      ],
      "enumTitles": [
        "English",
        "Spanish",
        "French",
        "German",
        "Portuguese",
        "Japanese",
        "Chinese",
        "Korean",
        "Italian",
        "Dutch",
        "Polish",
        "Russian",
        "Arabic",
        "Turkish",
        "Indonesian",
        "Thai",
        "Vietnamese",
        "Swedish",
        "Danish",
        "Finnish",
        "Norwegian",
        "Czech",
        "Hungarian",
        "Romanian",
        "Ukrainian"
      ],
      "prefill": "en",
      "title": "Language",
      "type": "string"
    },
    "maxItems": {
      "default": 50,
      "description": "Maximum number of records to emit.",
      "maximum": 200,
      "minimum": 1,
      "prefill": 50,
      "title": "Max items",
      "type": "integer"
    },
    "mode": {
      "default": "search",
      "description": "What to scrape. search=keyword search, byCategory=browse a category, byAppId=fetch specific apps.",
      "editor": "select",
      "enum": [
        "search",
        "byCategory",
        "byAppId"
      ],
      "enumTitles": [
        "Search by keyword",
        "Browse by category",
        "Fetch by App ID(s)"
      ],
      "prefill": "search",
      "title": "Mode",
      "type": "string"
    },
    "searchQuery": {
      "default": "mail merge",
      "description": "Keyword to search for apps. Required for mode=search.",
      "editor": "textfield",
      "prefill": "mail merge",
      "title": "Search query (mode=search)",
      "type": "string"
    }
  },
  "required": [
    "mode"
  ],
  "schemaVersion": 1,
  "title": "Google Workspace Marketplace Scraper Input",
  "type": "object"
}
