{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/twexapi-io/json-schema/twexapi-io-user-timeline-page-response-schema.json",
  "title": "UserTimelinePageResponse",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/twexapi-io-openapi.json#/components/schemas/UserTimelinePageResponse",
  "properties": {
    "code": {
      "type": "integer",
      "title": "Code",
      "description": "HTTP status code",
      "default": 200
    },
    "msg": {
      "type": "string",
      "title": "Msg",
      "description": "Response message",
      "default": "success"
    },
    "data": {
      "items": {
        "$ref": "#/$defs/UserTweetItem"
      },
      "type": "array",
      "title": "Data",
      "description": "Current page tweet items."
    },
    "has_next_page": {
      "type": "boolean",
      "title": "Has Next Page",
      "description": "Whether another page is available."
    },
    "next_cursor": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Next Cursor",
      "description": "Use this cursor to fetch the next page when has_next_page is true."
    },
    "requested_count": {
      "type": "integer",
      "title": "Requested Count",
      "description": "Original count requested by the client."
    },
    "effective_count": {
      "type": "integer",
      "title": "Effective Count",
      "description": "Count after credit throttling was applied."
    },
    "parsed_count": {
      "type": "integer",
      "title": "Parsed Count",
      "description": "Number of tweets actually parsed from the response."
    }
  },
  "type": "object",
  "required": [
    "data",
    "has_next_page",
    "requested_count",
    "effective_count",
    "parsed_count"
  ],
  "$defs": {
    "UserTweetItem": {
      "properties": {
        "tweet_id": {
          "type": "string",
          "title": "Tweet Id",
          "description": "Tweet ID"
        },
        "is_paid_promotion": {
          "type": "boolean",
          "title": "Is Paid Promotion",
          "description": "Whether the tweet is associated with a paid promotion",
          "default": false
        },
        "full_text": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Full Text",
          "description": "Tweet text"
        },
        "created_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Created At",
          "description": "Tweet creation time"
        },
        "lang": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Lang",
          "description": "Tweet language"
        },
        "conversation_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Conversation Id",
          "description": "Conversation ID"
        },
        "bookmark_count": {
          "type": "integer",
          "title": "Bookmark Count",
          "description": "Bookmark count",
          "default": 0
        },
        "favorite_count": {
          "type": "integer",
          "title": "Favorite Count",
          "description": "Like count",
          "default": 0
        },
        "reply_count": {
          "type": "integer",
          "title": "Reply Count",
          "description": "Reply count",
          "default": 0
        },
        "retweet_count": {
          "type": "integer",
          "title": "Retweet Count",
          "description": "Retweet count",
          "default": 0
        },
        "quote_count": {
          "type": "integer",
          "title": "Quote Count",
          "description": "Quote count",
          "default": 0
        },
        "view_count": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "View Count",
          "description": "View count"
        },
        "view_count_state": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "View Count State",
          "description": "View count state"
        },
        "author_user_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Author User Id",
          "description": "Author user ID"
        },
        "author_screen_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Author Screen Name",
          "description": "Author screen name"
        },
        "author_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Author Name",
          "description": "Author display name"
        },
        "author_is_blue_verified": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Author Is Blue Verified",
          "description": "Blue verification flag"
        },
        "author_verified": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Author Verified",
          "description": "Legacy verification flag"
        },
        "author_is_verified_organization_affiliate": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Author Is Verified Organization Affiliate",
          "description": "Verified organization affiliate flag"
        }
      },
      "type": "object",
      "required": [
        "tweet_id"
      ],
      "title": "UserTweetItem"
    }
  }
}