{
 "title": "Scrape data from Twitter",
 "type": "object",
 "schemaVersion": 1,
 "properties": {
  "username": {
   "title": "username",
   "type": "string",
   "description": "Twitter username (those with @) to scrape",
   "editor": "textfield",
   "prefill": "elonmusk",
   "sectionCaption": "Profile"
  },
  "query": {
   "title": "query",
   "type": "string",
   "description": "Query to search",
   "editor": "textfield",
   "example": "Twitter",
   "sectionCaption": "Search"
  },
  "search_type": {
   "title": "search type",
   "type": "string",
   "description": "Type of search",
   "editor": "select",
   "default": "Top",
   "enum": [
    "Top",
    "Latest",
    "Media",
    "People",
    "Lists"
   ],
   "enumTitles": [
    "Top",
    "Latest",
    "Media",
    "People",
    "Lists"
   ]
  },
  "country": {
   "title": "country",
   "type": "string",
   "description": "Country to check trends.",
   "editor": "textfield",
   "example": "Portugal",
   "sectionCaption": "Trends"
  },
  "post_id": {
   "title": "Post id",
   "type": "string",
   "description": "Post id to scrape response",
   "editor": "textfield",
   "example": "1877645134780629107",
   "sectionCaption": "Responses"
  },
  "lookup_post_ids": {
   "title": "Post ids",
   "type": "array",
   "description": "Post ids to scrape details",
   "editor": "stringList",
   "example": [
    "1877645134780629107"
   ],
   "sectionCaption": "Post details"
  },
  "max_posts": {
   "title": "max posts",
   "type": "integer",
   "description": "Number of posts to scrape. For free users is set to 20",
   "editor": "number",
   "prefill": 20,
   "sectionCaption": "Results settings"
  }
 },
 "required": [
  "max_posts"
 ]
}