{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/desearch-ai/json-schema/desearch-ai-twitter-scraper-tweet-schema.json",
  "title": "TwitterScraperTweet",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/desearch-ai-openapi.json#/components/schemas/TwitterScraperTweet",
  "properties": {
    "user": {
      "anyOf": [
        {
          "$ref": "#/$defs/TwitterScraperUser"
        },
        {
          "type": "null"
        }
      ]
    },
    "id": {
      "type": "string",
      "title": "Id"
    },
    "text": {
      "type": "string",
      "title": "Text"
    },
    "reply_count": {
      "type": "integer",
      "title": "Reply Count"
    },
    "view_count": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "View Count"
    },
    "retweet_count": {
      "type": "integer",
      "title": "Retweet Count"
    },
    "like_count": {
      "type": "integer",
      "title": "Like Count"
    },
    "quote_count": {
      "type": "integer",
      "title": "Quote Count"
    },
    "bookmark_count": {
      "type": "integer",
      "title": "Bookmark Count"
    },
    "url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Url"
    },
    "created_at": {
      "type": "string",
      "title": "Created At"
    },
    "media": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/$defs/TwitterScraperMedia"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Media"
    },
    "is_quote_tweet": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Is Quote Tweet"
    },
    "is_retweet": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Is Retweet"
    },
    "lang": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tweet language code"
    },
    "conversation_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Conversation thread ID"
    },
    "in_reply_to_screen_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Username being replied to"
    },
    "in_reply_to_status_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tweet ID being replied to"
    },
    "in_reply_to_user_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "User ID being replied to"
    },
    "quoted_status_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Quoted tweet ID"
    },
    "quote": {
      "anyOf": [
        {
          "$ref": "#/$defs/TwitterScraperTweet"
        },
        {
          "type": "null"
        }
      ],
      "title": "Quoted tweet object"
    },
    "replies": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/$defs/TwitterScraperTweet"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Reply tweets"
    },
    "display_text_range": {
      "anyOf": [
        {
          "items": {
            "type": "integer"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Text display range indices"
    },
    "entities": {
      "anyOf": [
        {
          "$ref": "#/$defs/TwitterScraperEntities"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tweet entities (hashtags, URLs, mentions)"
    },
    "extended_entities": {
      "anyOf": [
        {
          "$ref": "#/$defs/TwitterScraperExtendedEntities"
        },
        {
          "type": "null"
        }
      ],
      "title": "Extended entities for media"
    },
    "retweet": {
      "anyOf": [
        {
          "$ref": "#/$defs/TwitterScraperTweet"
        },
        {
          "type": "null"
        }
      ],
      "title": "Retweeted tweet object. Available for user posts endpoint only."
    },
    "article": {
      "anyOf": [
        {
          "$ref": "#/$defs/TwitterScraperArticle"
        },
        {
          "type": "null"
        }
      ],
      "title": "X Article (long-form post) content. Present only for article posts."
    },
    "content_disclosure": {
      "anyOf": [
        {
          "$ref": "#/$defs/TwitterScraperContentDisclosure"
        },
        {
          "type": "null"
        }
      ],
      "title": "Author-declared content disclosures. Null when X returns no disclosure for the post."
    },
    "edit_control": {
      "anyOf": [
        {
          "$ref": "#/$defs/TwitterScraperEditControl"
        },
        {
          "type": "null"
        }
      ],
      "title": "Edit history and remaining edit allowance"
    },
    "possibly_sensitive": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Possibly Sensitive"
    },
    "card": {
      "anyOf": [
        {
          "$ref": "#/$defs/TwitterScraperCard"
        },
        {
          "type": "null"
        }
      ],
      "title": "Link preview, video player or live broadcast shown under the tweet. Null when the tweet has none."
    }
  },
  "type": "object",
  "required": [
    "id",
    "text",
    "reply_count",
    "retweet_count",
    "like_count",
    "quote_count",
    "bookmark_count",
    "created_at"
  ],
  "$defs": {
    "MediaSize": {
      "properties": {
        "w": {
          "type": "integer",
          "title": "W"
        },
        "h": {
          "type": "integer",
          "title": "H"
        },
        "resize": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Resize"
        }
      },
      "type": "object",
      "required": [
        "w",
        "h"
      ],
      "title": "MediaSize"
    },
    "Rect": {
      "properties": {
        "x": {
          "type": "integer",
          "title": "X"
        },
        "y": {
          "type": "integer",
          "title": "Y"
        },
        "w": {
          "type": "integer",
          "title": "W"
        },
        "h": {
          "type": "integer",
          "title": "H"
        }
      },
      "type": "object",
      "required": [
        "x",
        "y",
        "w",
        "h"
      ],
      "title": "Rect"
    },
    "TwitterScraperAdvertisingDisclosure": {
      "properties": {
        "is_paid_promotion": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Is Paid Promotion"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "title": "TwitterScraperAdvertisingDisclosure"
    },
    "TwitterScraperAffiliateBadge": {
      "properties": {
        "url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Url"
        }
      },
      "type": "object",
      "title": "TwitterScraperAffiliateBadge"
    },
    "TwitterScraperAffiliateLabel": {
      "properties": {
        "badge": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterScraperAffiliateBadge"
            },
            {
              "type": "null"
            }
          ]
        },
        "description": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Description"
        },
        "url": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterScraperAffiliateUrl"
            },
            {
              "type": "null"
            }
          ]
        },
        "user_label_display_type": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "User Label Display Type"
        },
        "user_label_type": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "User Label Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "title": "TwitterScraperAffiliateLabel"
    },
    "TwitterScraperAffiliateUrl": {
      "properties": {
        "url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Url"
        },
        "url_type": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Url Type"
        }
      },
      "type": "object",
      "title": "TwitterScraperAffiliateUrl"
    },
    "TwitterScraperAffiliatesHighlightedLabel": {
      "properties": {
        "label": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterScraperAffiliateLabel"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "type": "object",
      "title": "TwitterScraperAffiliatesHighlightedLabel"
    },
    "TwitterScraperArticle": {
      "properties": {
        "id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Id"
        },
        "title": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Title"
        },
        "preview_text": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Short preview of the article body"
        },
        "plain_text": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Full article body as plain text"
        },
        "cover_media": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterScraperArticleCoverMedia"
            },
            {
              "type": "null"
            }
          ],
          "title": "Article cover image"
        },
        "first_published_at": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "First publish time (unix seconds)"
        }
      },
      "type": "object",
      "title": "TwitterScraperArticle"
    },
    "TwitterScraperArticleCoverMedia": {
      "properties": {
        "url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Url"
        },
        "width": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Width"
        },
        "height": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Height"
        }
      },
      "type": "object",
      "title": "TwitterScraperArticleCoverMedia"
    },
    "TwitterScraperCard": {
      "properties": {
        "type": {
          "type": "string",
          "title": "Card kind: summary, summary_large_image, player or broadcast"
        },
        "url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Short link the card points to. The full URL is in the tweet's entities.urls."
        },
        "title": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Title of the linked page, video or broadcast"
        },
        "description": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Description of the linked page"
        },
        "domain": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Domain of the linked page"
        },
        "image": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Preview image"
        },
        "image_alt": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Alt text of the preview image"
        },
        "player_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Embeddable video URL. Player cards only."
        },
        "broadcast_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Live broadcast URL. Broadcast cards only."
        },
        "state": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Broadcast state. Broadcast cards only."
        }
      },
      "type": "object",
      "required": [
        "type"
      ],
      "title": "TwitterScraperCard"
    },
    "TwitterScraperContentDisclosure": {
      "properties": {
        "advertising_disclosure": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterScraperAdvertisingDisclosure"
            },
            {
              "type": "null"
            }
          ],
          "title": "Paid promotion disclosure declared by the author"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "title": "TwitterScraperContentDisclosure"
    },
    "TwitterScraperEditControl": {
      "properties": {
        "edit_tweet_ids": {
          "anyOf": [
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "Edit Tweet Ids"
        },
        "editable_until_msecs": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Editable Until Msecs"
        },
        "edits_remaining": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Edits Remaining"
        },
        "is_edit_eligible": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Is Edit Eligible"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "title": "TwitterScraperEditControl"
    },
    "TwitterScraperEntities": {
      "properties": {
        "hashtags": {
          "anyOf": [
            {
              "items": {
                "$ref": "#/$defs/TwitterScraperEntitiesSymbol"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "Hashtags in the tweet"
        },
        "media": {
          "anyOf": [
            {
              "items": {
                "$ref": "#/$defs/TwitterScraperEntitiesMedia"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "Media attachments"
        },
        "symbols": {
          "anyOf": [
            {
              "items": {
                "$ref": "#/$defs/TwitterScraperEntitiesSymbol"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "Cashtags/symbols"
        },
        "timestamps": {
          "anyOf": [
            {
              "items": {},
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "Timestamp entities"
        },
        "urls": {
          "anyOf": [
            {
              "items": {
                "$ref": "#/$defs/TwitterScraperEntityUrl"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "URLs in the tweet"
        },
        "user_mentions": {
          "anyOf": [
            {
              "items": {
                "$ref": "#/$defs/TwitterScraperEntitiesUserMention"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "Mentioned users"
        }
      },
      "type": "object",
      "title": "TwitterScraperEntities"
    },
    "TwitterScraperEntitiesMedia": {
      "properties": {
        "display_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Display Url"
        },
        "expanded_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Expanded Url"
        },
        "id_str": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Id Str"
        },
        "indices": {
          "anyOf": [
            {
              "items": {
                "type": "integer"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "Indices"
        },
        "media_key": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Media Key"
        },
        "media_url_https": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Media Url Https"
        },
        "type": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Media type: photo, video, or animated_gif"
        },
        "url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Url"
        },
        "additional_media_info": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterScraperEntitiesMediaAdditionalInfo"
            },
            {
              "type": "null"
            }
          ],
          "title": "Additional media information"
        },
        "ext_media_availability": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterScraperEntitiesMediaExtAvailability"
            },
            {
              "type": "null"
            }
          ],
          "title": "External media availability status"
        },
        "features": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterScraperEntitiesMediaFeatures"
            },
            {
              "type": "null"
            }
          ],
          "title": "Media features like face detection"
        },
        "sizes": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterScraperEntitiesMediaSizes"
            },
            {
              "type": "null"
            }
          ],
          "title": "Available media sizes"
        },
        "original_info": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterScraperEntitiesMediaOriginalInfo"
            },
            {
              "type": "null"
            }
          ],
          "title": "Original media information"
        },
        "allow_download_status": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterScraperEntitiesMediaAllowDownloadStatus"
            },
            {
              "type": "null"
            }
          ],
          "title": "Download permission status"
        },
        "video_info": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterScraperEntitiesMediaVideoInfo"
            },
            {
              "type": "null"
            }
          ],
          "title": "Video-specific information"
        },
        "media_results": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterScraperEntitiesMediaResults"
            },
            {
              "type": "null"
            }
          ],
          "title": "Media result details"
        }
      },
      "type": "object",
      "title": "TwitterScraperEntitiesMedia"
    },
    "TwitterScraperEntitiesMediaAdditionalInfo": {
      "properties": {
        "monetizable": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Monetizable"
        },
        "source_user": {
          "anyOf": [
            {
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "title": "Source User"
        }
      },
      "type": "object",
      "title": "TwitterScraperEntitiesMediaAdditionalInfo"
    },
    "TwitterScraperEntitiesMediaAllowDownloadStatus": {
      "properties": {
        "allow_download": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Allow Download"
        }
      },
      "type": "object",
      "title": "TwitterScraperEntitiesMediaAllowDownloadStatus"
    },
    "TwitterScraperEntitiesMediaExtAvailability": {
      "properties": {
        "status": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Status"
        }
      },
      "type": "object",
      "title": "TwitterScraperEntitiesMediaExtAvailability"
    },
    "TwitterScraperEntitiesMediaFeature": {
      "properties": {
        "faces": {
          "anyOf": [
            {
              "items": {
                "$ref": "#/$defs/Rect"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "Detected faces in media"
        }
      },
      "type": "object",
      "title": "TwitterScraperEntitiesMediaFeature"
    },
    "TwitterScraperEntitiesMediaFeatures": {
      "properties": {
        "large": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterScraperEntitiesMediaFeature"
            },
            {
              "type": "null"
            }
          ],
          "title": "Features for large size"
        },
        "medium": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterScraperEntitiesMediaFeature"
            },
            {
              "type": "null"
            }
          ],
          "title": "Features for medium size"
        },
        "small": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterScraperEntitiesMediaFeature"
            },
            {
              "type": "null"
            }
          ],
          "title": "Features for small size"
        },
        "orig": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterScraperEntitiesMediaFeature"
            },
            {
              "type": "null"
            }
          ],
          "title": "Features for original size"
        }
      },
      "type": "object",
      "title": "TwitterScraperEntitiesMediaFeatures"
    },
    "TwitterScraperEntitiesMediaOriginalInfo": {
      "properties": {
        "height": {
          "type": "integer",
          "title": "Height"
        },
        "width": {
          "type": "integer",
          "title": "Width"
        },
        "focus_rects": {
          "anyOf": [
            {
              "items": {
                "$ref": "#/$defs/Rect"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "Focus Rects"
        }
      },
      "type": "object",
      "required": [
        "height",
        "width"
      ],
      "title": "TwitterScraperEntitiesMediaOriginalInfo"
    },
    "TwitterScraperEntitiesMediaResult": {
      "properties": {
        "media_key": {
          "type": "string",
          "title": "Media Key"
        }
      },
      "type": "object",
      "required": [
        "media_key"
      ],
      "title": "TwitterScraperEntitiesMediaResult"
    },
    "TwitterScraperEntitiesMediaResults": {
      "properties": {
        "result": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterScraperEntitiesMediaResult"
            },
            {
              "type": "null"
            }
          ],
          "title": "Media result details"
        }
      },
      "type": "object",
      "title": "TwitterScraperEntitiesMediaResults"
    },
    "TwitterScraperEntitiesMediaSizes": {
      "properties": {
        "large": {
          "anyOf": [
            {
              "$ref": "#/$defs/MediaSize"
            },
            {
              "type": "null"
            }
          ],
          "title": "Large size dimensions"
        },
        "medium": {
          "anyOf": [
            {
              "$ref": "#/$defs/MediaSize"
            },
            {
              "type": "null"
            }
          ],
          "title": "Medium size dimensions"
        },
        "small": {
          "anyOf": [
            {
              "$ref": "#/$defs/MediaSize"
            },
            {
              "type": "null"
            }
          ],
          "title": "Small size dimensions"
        },
        "thumb": {
          "anyOf": [
            {
              "$ref": "#/$defs/MediaSize"
            },
            {
              "type": "null"
            }
          ],
          "title": "Thumbnail size dimensions"
        }
      },
      "type": "object",
      "title": "TwitterScraperEntitiesMediaSizes"
    },
    "TwitterScraperEntitiesMediaVideoInfo": {
      "properties": {
        "duration_millis": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Video duration in milliseconds"
        },
        "aspect_ratio": {
          "anyOf": [
            {
              "items": {
                "type": "integer"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "Aspect Ratio"
        },
        "variants": {
          "anyOf": [
            {
              "items": {
                "$ref": "#/$defs/TwitterScraperEntitiesMediaVideoInfoVariant"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "Available video quality variants"
        }
      },
      "type": "object",
      "title": "TwitterScraperEntitiesMediaVideoInfo"
    },
    "TwitterScraperEntitiesMediaVideoInfoVariant": {
      "properties": {
        "content_type": {
          "type": "string",
          "title": "Content Type"
        },
        "url": {
          "type": "string",
          "title": "Url"
        },
        "bitrate": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Bitrate"
        }
      },
      "type": "object",
      "required": [
        "content_type",
        "url"
      ],
      "title": "TwitterScraperEntitiesMediaVideoInfoVariant"
    },
    "TwitterScraperEntitiesSymbol": {
      "properties": {
        "indices": {
          "items": {
            "type": "integer"
          },
          "type": "array",
          "title": "Indices"
        },
        "text": {
          "type": "string",
          "title": "Text"
        }
      },
      "type": "object",
      "required": [
        "indices",
        "text"
      ],
      "title": "TwitterScraperEntitiesSymbol"
    },
    "TwitterScraperEntitiesUserMention": {
      "properties": {
        "id_str": {
          "type": "string",
          "title": "Id Str"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "screen_name": {
          "type": "string",
          "title": "Screen Name"
        },
        "indices": {
          "items": {
            "type": "integer"
          },
          "type": "array",
          "title": "Indices"
        }
      },
      "type": "object",
      "required": [
        "id_str",
        "name",
        "screen_name",
        "indices"
      ],
      "title": "TwitterScraperEntitiesUserMention"
    },
    "TwitterScraperEntityUrl": {
      "properties": {
        "display_url": {
          "type": "string",
          "title": "Display Url"
        },
        "expanded_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Expanded Url"
        },
        "url": {
          "type": "string",
          "title": "Url"
        },
        "indices": {
          "items": {
            "type": "integer"
          },
          "type": "array",
          "title": "Indices"
        }
      },
      "type": "object",
      "required": [
        "display_url",
        "url",
        "indices"
      ],
      "title": "TwitterScraperEntityUrl"
    },
    "TwitterScraperExtendedEntities": {
      "properties": {
        "media": {
          "anyOf": [
            {
              "items": {
                "$ref": "#/$defs/TwitterScraperEntitiesMedia"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "Extended media information for multiple attachments"
        }
      },
      "type": "object",
      "title": "TwitterScraperExtendedEntities"
    },
    "TwitterScraperMedia": {
      "properties": {
        "media_url": {
          "type": "string",
          "title": "Media Url",
          "default": ""
        },
        "type": {
          "type": "string",
          "title": "Type",
          "default": ""
        }
      },
      "type": "object",
      "title": "TwitterScraperMedia"
    },
    "TwitterScraperTweet": {
      "properties": {
        "user": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterScraperUser"
            },
            {
              "type": "null"
            }
          ]
        },
        "id": {
          "type": "string",
          "title": "Id"
        },
        "text": {
          "type": "string",
          "title": "Text"
        },
        "reply_count": {
          "type": "integer",
          "title": "Reply Count"
        },
        "view_count": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "View Count"
        },
        "retweet_count": {
          "type": "integer",
          "title": "Retweet Count"
        },
        "like_count": {
          "type": "integer",
          "title": "Like Count"
        },
        "quote_count": {
          "type": "integer",
          "title": "Quote Count"
        },
        "bookmark_count": {
          "type": "integer",
          "title": "Bookmark Count"
        },
        "url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Url"
        },
        "created_at": {
          "type": "string",
          "title": "Created At"
        },
        "media": {
          "anyOf": [
            {
              "items": {
                "$ref": "#/$defs/TwitterScraperMedia"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "Media"
        },
        "is_quote_tweet": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Is Quote Tweet"
        },
        "is_retweet": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Is Retweet"
        },
        "lang": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Tweet language code"
        },
        "conversation_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Conversation thread ID"
        },
        "in_reply_to_screen_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Username being replied to"
        },
        "in_reply_to_status_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Tweet ID being replied to"
        },
        "in_reply_to_user_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "User ID being replied to"
        },
        "quoted_status_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Quoted tweet ID"
        },
        "quote": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterScraperTweet"
            },
            {
              "type": "null"
            }
          ],
          "title": "Quoted tweet object"
        },
        "replies": {
          "anyOf": [
            {
              "items": {
                "$ref": "#/$defs/TwitterScraperTweet"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "Reply tweets"
        },
        "display_text_range": {
          "anyOf": [
            {
              "items": {
                "type": "integer"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "Text display range indices"
        },
        "entities": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterScraperEntities"
            },
            {
              "type": "null"
            }
          ],
          "title": "Tweet entities (hashtags, URLs, mentions)"
        },
        "extended_entities": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterScraperExtendedEntities"
            },
            {
              "type": "null"
            }
          ],
          "title": "Extended entities for media"
        },
        "retweet": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterScraperTweet"
            },
            {
              "type": "null"
            }
          ],
          "title": "Retweeted tweet object. Available for user posts endpoint only."
        },
        "article": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterScraperArticle"
            },
            {
              "type": "null"
            }
          ],
          "title": "X Article (long-form post) content. Present only for article posts."
        },
        "content_disclosure": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterScraperContentDisclosure"
            },
            {
              "type": "null"
            }
          ],
          "title": "Author-declared content disclosures. Null when X returns no disclosure for the post."
        },
        "edit_control": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterScraperEditControl"
            },
            {
              "type": "null"
            }
          ],
          "title": "Edit history and remaining edit allowance"
        },
        "possibly_sensitive": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Possibly Sensitive"
        },
        "card": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterScraperCard"
            },
            {
              "type": "null"
            }
          ],
          "title": "Link preview, video player or live broadcast shown under the tweet. Null when the tweet has none."
        }
      },
      "type": "object",
      "required": [
        "id",
        "text",
        "reply_count",
        "retweet_count",
        "like_count",
        "quote_count",
        "bookmark_count",
        "created_at"
      ],
      "title": "TwitterScraperTweet"
    },
    "TwitterScraperUser": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Url"
        },
        "name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Name"
        },
        "username": {
          "type": "string",
          "title": "Username"
        },
        "created_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Created At"
        },
        "description": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Description"
        },
        "favourites_count": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Favourites Count"
        },
        "followers_count": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Followers Count"
        },
        "followings_count": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Followings Count"
        },
        "listed_count": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Listed Count"
        },
        "media_count": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Media Count"
        },
        "profile_image_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Profile Image Url"
        },
        "profile_banner_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Profile Banner Url"
        },
        "statuses_count": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Statuses Count"
        },
        "verified": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Verified"
        },
        "is_blue_verified": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Indicates if the user is Blue Tick verified"
        },
        "entities": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterScraperUserEntities"
            },
            {
              "type": "null"
            }
          ],
          "title": "User profile entities"
        },
        "can_dm": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Indicates if the user has enabled DMs"
        },
        "can_media_tag": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Indicates if the user can be tagged in media"
        },
        "location": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "User location"
        },
        "pinned_tweet_ids": {
          "anyOf": [
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "Pinned Tweet Ids"
        },
        "professional": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterScraperUserProfessional"
            },
            {
              "type": "null"
            }
          ],
          "title": "Professional information"
        },
        "affiliates_highlighted_label": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterScraperAffiliatesHighlightedLabel"
            },
            {
              "type": "null"
            }
          ],
          "title": "Affiliated organization badge"
        },
        "website": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Link the user set on their profile"
        }
      },
      "type": "object",
      "required": [
        "id",
        "username"
      ],
      "title": "TwitterScraperUser"
    },
    "TwitterScraperUserEntities": {
      "properties": {
        "description": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterScraperUserEntitiesDescription"
            },
            {
              "type": "null"
            }
          ],
          "title": "Entities in user description"
        },
        "url": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterScraperUserEntitiesDescription"
            },
            {
              "type": "null"
            }
          ],
          "title": "Entities in user profile URL"
        }
      },
      "type": "object",
      "title": "TwitterScraperUserEntities"
    },
    "TwitterScraperUserEntitiesDescription": {
      "properties": {
        "urls": {
          "anyOf": [
            {
              "items": {
                "$ref": "#/$defs/TwitterScraperEntityUrl"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "URLs in user description or profile"
        }
      },
      "type": "object",
      "title": "TwitterScraperUserEntitiesDescription"
    },
    "TwitterScraperUserProfessional": {
      "properties": {
        "professional_type": {
          "type": "string",
          "title": "Professional Type"
        },
        "category": {
          "items": {
            "$ref": "#/$defs/TwitterScraperUserProfessionalCategory"
          },
          "type": "array",
          "title": "Professional categories"
        }
      },
      "type": "object",
      "required": [
        "professional_type"
      ],
      "title": "TwitterScraperUserProfessional"
    },
    "TwitterScraperUserProfessionalCategory": {
      "properties": {
        "id": {
          "type": "integer",
          "title": "Id"
        },
        "name": {
          "type": "string",
          "title": "Name"
        }
      },
      "type": "object",
      "required": [
        "id",
        "name"
      ],
      "title": "TwitterScraperUserProfessionalCategory"
    }
  }
}