{
  "title": "X (Twitter) Replies Scraper input",
  "description": "Enter one or more public X post URLs or IDs and export the visible replies returned by X's recent reply pages.",
  "type": "object",
  "schemaVersion": 1,
  "properties": {
    "tweets": {
      "title": "X post IDs or URLs",
      "type": "array",
      "description": "Enter up to 50 X posts, 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 continue processing sequentially.",
      "editor": "stringList",
      "minItems": 1,
      "maxItems": 50,
      "items": {
        "type": "string",
        "minLength": 1
      },
      "prefill": [
        "2097815633828172097"
      ]
    },
    "maxRepliesPerTweet": {
      "title": "Maximum replies per post",
      "type": "integer",
      "description": "Maximum number of unique visible replies returned for each source post. Enter 0 to continue until X provides no next page, repeats the same page, or returns three consecutive pages without a new unique reply.",
      "default": 100,
      "minimum": 0
    },
    "includeSourcePost": {
      "title": "Include source post details",
      "type": "boolean",
      "description": "Adds a normalized source_post object to every reply with the source post, engagement, media, quoted-post or Article context, and author profile. It reuses the same reply response and sends no additional X request. Leave disabled for smaller exports.",
      "default": false
    },
    "includeRawReply": {
      "title": "Include raw X reply object",
      "type": "boolean",
      "description": "Adds the native Tweet object as raw_reply from the same X response, including its embedded reply-author object. It can significantly increase record size. Leave disabled unless you need X's internal fields.",
      "default": false
    }
  },
  "required": [
    "tweets"
  ]
}
