{
 "title": "ScrapeBadger Twitter Tweets Scraper",
 "description": "Scrape Twitter/X tweets, replies, retweeters, favoriters, quotes, similar tweets, and search results. Select a mode and provide the required identifier.",
 "schemaVersion": 1,
 "type": "object",
 "required": [
  "mode"
 ],
 "properties": {
  "mode": {
   "sectionCaption": "What to scrape",
   "sectionDescription": "Select the type of Twitter data you want to extract",
   "type": "string",
   "title": "Mode",
   "enum": [
    "Get a Few Tweets",
    "Get Tweet by ID",
    "Get Retweeters",
    "Get Replies",
    "Get Favoriters",
    "Get Similar Tweets",
    "Get Quotes",
    "Advanced Search"
   ],
   "description": "Select the type of data to scrape. Each mode requires different input parameters.",
   "default": "Get Tweet by ID",
   "editor": "select"
  },
  "tweets": {
   "title": "Tweet IDs",
   "type": "string",
   "description": "Comma-separated tweet IDs to fetch. Example: <b>1930308570022576254,1921004145487515716</b>. Required for 'Get a Few Tweets' mode.",
   "prefill": "1930308570022576254,1921004145487515716",
   "editor": "textfield"
  },
  "id": {
   "title": "Tweet ID",
   "type": "string",
   "description": "The numeric tweet ID from the URL. From https://x.com/user/status/<b>1234567890</b>, enter <b>1234567890</b>. Required for single-tweet modes.",
   "prefill": "1921004145487515716",
   "editor": "textfield"
  },
  "query": {
   "title": "Search Query",
   "type": "string",
   "description": "Search query using Twitter's advanced search syntax. Example: <b>from:elonmusk since:2024-01-01</b> or <b>#AI lang:en</b>. Required for 'Advanced Search' mode.",
   "prefill": "ultra marathon",
   "editor": "textfield"
  },
  "query_type": {
   "title": "Query Type",
   "type": "string",
   "description": "Type of search results to return. <b>Top</b> shows popular tweets, <b>Latest</b> shows recent tweets, <b>Media</b> shows tweets with images/videos.",
   "enum": [
    "Top",
    "Latest",
    "Media"
   ],
   "default": "Top",
   "editor": "select"
  },
  "max_results": {
   "sectionCaption": "Scraping options",
   "sectionDescription": "Configure limits and pagination",
   "title": "Max Results",
   "type": "integer",
   "minimum": 1,
   "maximum": 100000,
   "default": 1000,
   "description": "Maximum number of items to return. Higher values increase run time and cost. Default: 1000."
  }
 }
}