{
  "title": "X (Twitter) retweeters and quote-tweet authors input",
  "description": "Enter one or more public X post URLs or IDs, then choose whether to export retweeters, quote-tweet authors, or both.",
  "type": "object",
  "schemaVersion": 1,
  "properties": {
    "tweets": {
      "title": "X post IDs or URLs",
      "type": "array",
      "description": "Enter up to 50 unique X posts per run, one per line. Each value may be a numeric post ID or a full x.com/twitter.com status URL. Duplicate post IDs are requested only once, invalid values are reported separately, and valid posts are processed sequentially.",
      "editor": "stringList",
      "minItems": 1,
      "items": {
        "type": "string",
        "minLength": 1
      },
      "prefill": [
        "https://x.com/SpaceX/status/2099220930589327483"
      ]
    },
    "resultType": {
      "title": "Users to collect",
      "type": "string",
      "description": "Choose whether to collect users who reposted the post, authors of visible quote tweets, or both groups.",
      "editor": "select",
      "default": "retweeters",
      "enum": [
        "retweeters",
        "quote_users",
        "both"
      ],
      "enumTitles": [
        "Retweeters only",
        "Quote-tweet authors only",
        "Retweeters and quote-tweet authors"
      ]
    },
    "maxRetweetersPerTweet": {
      "title": "Maximum retweeters per post",
      "type": "integer",
      "description": "Maximum number of visible retweeter profiles returned for each post. Enter 0 to follow all cursor pages exposed by X.",
      "default": 100,
      "minimum": 0
    },
    "maxQuoteUsersPerTweet": {
      "title": "Maximum quote-tweet authors per post",
      "type": "integer",
      "description": "Maximum number of unique authors returned from posts that quote the source post. Enter 0 to follow all cursor pages exposed by X.",
      "default": 100,
      "minimum": 0
    },
    "includeRawUser": {
      "title": "Include raw X user object",
      "type": "boolean",
      "description": "Adds the original native X user object as raw_user. Leave disabled for smaller, flat records.",
      "default": false
    }
  },
  "required": [
    "tweets"
  ]
}
