{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/scavio/main/json-schema/scavio-post-api-v1-xsearch-response-schema.json",
  "title": "PostApiV1XSearchResponse",
  "x-generated": "2026-10-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/scavio-openapi-generated.yml#/components/schemas/PostApiV1XSearchResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "description": "Payload wrapper"
    },
    "data.tweets": {
      "type": "array",
      "description": "List of matching tweets"
    },
    "data.tweets[].id": {
      "type": "string",
      "description": "Tweet identifier"
    },
    "data.tweets[].text": {
      "type": "string",
      "description": "Tweet text"
    },
    "data.tweets[].created_at": {
      "type": "string",
      "description": "Timestamp of tweet"
    },
    "data.tweets[].favorite_count": {
      "type": "integer",
      "description": "Number of likes"
    },
    "data.tweets[].retweet_count": {
      "type": "integer",
      "description": "Number of retweets"
    },
    "data.tweets[].reply_count": {
      "type": "integer",
      "description": "Number of replies"
    },
    "data.tweets[].view_count": {
      "type": "integer",
      "description": "Number of views"
    },
    "data.tweets[].author": {
      "type": "object",
      "description": "Author information"
    },
    "data.tweets[].author.screen_name": {
      "type": "string",
      "description": "Author handle"
    },
    "data.tweets[].author.name": {
      "type": "string",
      "description": "Author display name"
    },
    "data.tweets[].author.followers_count": {
      "type": "integer",
      "description": "Author follower count"
    },
    "data.tweets[].author.verified": {
      "type": "boolean",
      "description": "Verification status"
    },
    "data.next_cursor": {
      "type": "string",
      "description": "Cursor for pagination"
    },
    "response_time": {
      "type": "integer",
      "description": "Response time in ms"
    },
    "credits_used": {
      "type": "integer",
      "description": "Credits consumed by the call"
    },
    "credits_remaining": {
      "type": "integer",
      "description": "Credits left on the account"
    }
  }
}