{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/socialtap-dev/json-schema/socialtap-dev-reddit-profile-comments-response-schema.json",
  "title": "RedditProfile_commentsResponse",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/socialtap-dev-openapi.json#/components/schemas/RedditProfile_commentsResponse",
  "properties": {
    "data": {
      "description": "Up to limit items (page size 25), Reddit's Controversial order (most evenly divided votes first), of all time or of the time filter that covers since with sort=controversial, newest first with sort=newest, Reddit's Top order (highest score first), of all time or of the time filter that covers since with sort=popular, Reddit's Hot order (recent comments ranked by their votes) with sort=relevance. In Reddit's words: `metrics.like_count` is upvotes.",
      "items": {
        "$ref": "#/$defs/Comment"
      },
      "type": "array"
    },
    "meta": {
      "$ref": "#/$defs/ResponseMeta"
    },
    "page": {
      "$ref": "#/$defs/PageInfo"
    }
  },
  "required": [
    "data",
    "page",
    "meta"
  ],
  "type": "object",
  "$defs": {
    "BlueskyCommentSpecific": {
      "properties": {
        "bridged_from_url": {
          "description": "The link Bridgy Fed records for a reply it brought to Bluesky from the fediverse or the web, usually where it was first published; null when it was written on Bluesky.",
          "format": "uri",
          "type": [
            "string",
            "null"
          ]
        },
        "cid": {
          "description": "The content hash (CID) of this version of the reply's record.",
          "type": [
            "string",
            "null"
          ]
        },
        "created_at": {
          "description": "The time the reply's own record states, RFC 3339 UTC: the author's client writes it, so it can be earlier than the reply went public.",
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        },
        "embedded_record_uri": {
          "description": "The at:// URI of a custom feed, list or starter pack the reply embeds; null when it embeds none.",
          "type": [
            "string",
            "null"
          ]
        },
        "hashtags": {
          "description": "Hashtags in the reply, without the #; [] when none.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "indexed_at": {
          "description": "When Bluesky's AppView first saw the reply, RFC 3339 UTC.",
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        },
        "is_hidden": {
          "description": "Bluesky folds the reply under the thread's \"Show more replies\" button: the post's author hid it, or Bluesky's own ranking set it aside. Null when the thread was read from the route that does not say.",
          "type": [
            "boolean",
            "null"
          ]
        },
        "is_hidden_by_post_author": {
          "description": "The post's author hid this reply from their thread.",
          "type": [
            "boolean",
            "null"
          ]
        },
        "is_nsfw": {
          "description": "The reply carries an adult or sensitive label.",
          "type": [
            "boolean",
            "null"
          ]
        },
        "labels": {
          "description": "Moderation and self labels on the reply (porn, sexual, nudity, graphic-media, spam, …), as Bluesky names them; [] when none.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "languages": {
          "description": "Every language the author tagged the reply with, in the author's order; [] when none.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "link_card": {
          "anyOf": [
            {
              "$ref": "#/$defs/BlueskyLinkCard"
            },
            {
              "type": "null"
            }
          ],
          "description": "The link preview card the reply shows; null when none."
        },
        "links": {
          "description": "The full URLs the reply's text links to, in text order; the text itself shows them shortened. [] when none.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "media": {
          "description": "The reply's images and video; [] when none.",
          "items": {
            "$ref": "#/$defs/Media"
          },
          "type": "array"
        },
        "mentions": {
          "description": "Accounts the reply mentions, by handle; [] when none.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "quote_count": {
          "description": "Times the reply was quoted in another post; never negative.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "quoted_post": {
          "anyOf": [
            {
              "$ref": "#/$defs/BlueskyEmbeddedPost"
            },
            {
              "type": "null"
            }
          ],
          "description": "The post this reply quotes, as Bluesky embeds it; null when it quotes none, or when the quoted post was deleted, is blocked, was detached by its author, or is by an account shown only to signed-in people."
        },
        "quoted_post_id": {
          "description": "The at:// ID of the post this reply quotes; null when it quotes none. Stays set when the quoted post can't be shown.",
          "type": [
            "string",
            "null"
          ]
        },
        "reply_root_post_id": {
          "description": "The at:// ID of the post that started the thread: post_id itself unless the post asked about is a reply.",
          "type": [
            "string",
            "null"
          ]
        },
        "repost_count": {
          "description": "Times the reply was reposted; never negative.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "save_count": {
          "description": "Times the reply was bookmarked; never negative.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "required": [
        "repost_count",
        "quote_count",
        "save_count",
        "is_hidden",
        "is_hidden_by_post_author",
        "reply_root_post_id",
        "cid",
        "indexed_at",
        "created_at",
        "languages",
        "labels",
        "is_nsfw",
        "hashtags",
        "mentions",
        "links",
        "media",
        "link_card",
        "quoted_post_id",
        "quoted_post",
        "embedded_record_uri",
        "bridged_from_url"
      ],
      "type": "object"
    },
    "BlueskyEmbeddedPost": {
      "properties": {
        "author": {
          "$ref": "#/$defs/ProfileRef",
          "description": "Its author."
        },
        "id": {
          "description": "Its at:// ID.",
          "type": [
            "string",
            "null"
          ]
        },
        "media": {
          "description": "Its images and video; [] when none.",
          "items": {
            "$ref": "#/$defs/Media"
          },
          "type": "array"
        },
        "metrics": {
          "$ref": "#/$defs/PostMetrics",
          "description": "Its own counts at fetch time."
        },
        "published_at": {
          "description": "When it went public, RFC 3339 UTC.",
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        },
        "text": {
          "description": "Its text.",
          "type": [
            "string",
            "null"
          ]
        },
        "url": {
          "description": "Its URL.",
          "format": "uri",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "id",
        "url",
        "text",
        "published_at",
        "author",
        "media",
        "metrics"
      ],
      "type": "object"
    },
    "BlueskyLinkCard": {
      "properties": {
        "description": {
          "description": "The card's description.",
          "type": [
            "string",
            "null"
          ]
        },
        "thumbnail_url": {
          "description": "The card's image.",
          "format": "uri",
          "type": [
            "string",
            "null"
          ]
        },
        "title": {
          "description": "The card's title.",
          "type": [
            "string",
            "null"
          ]
        },
        "url": {
          "description": "The page it links to.",
          "format": "uri",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "url",
        "title",
        "description",
        "thumbnail_url"
      ],
      "type": "object"
    },
    "Comment": {
      "properties": {
        "approximate_fields": {
          "description": "JSON paths of values rounded by the platform or parsed from display text. A list path (external_links) means the list may be incomplete. [] when all exact.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "author": {
          "$ref": "#/$defs/ProfileRef",
          "description": "The commenting account. An account the platform no longer names (a deleted account) has a null id and username and the platform's label as display_name (Reddit: [deleted])."
        },
        "edited_at": {
          "description": "When the comment was last edited, RFC 3339 UTC; null when never edited or when the platform marks edits without a time (see is_edited).",
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        },
        "id": {
          "description": "Platform-native comment ID (string; Reddit with its t1_ prefix).",
          "type": "string"
        },
        "is_by_post_author": {
          "description": "Written by the post's author (the creator's own comment, marked as such by the platform).",
          "type": [
            "boolean",
            "null"
          ]
        },
        "is_edited": {
          "description": "The comment was edited after posting (the platform's edited mark); null when the platform does not say.",
          "type": [
            "boolean",
            "null"
          ]
        },
        "is_liked_by_author": {
          "description": "Liked or hearted by the post's author.",
          "type": [
            "boolean",
            "null"
          ]
        },
        "is_pinned": {
          "description": "Pinned by the post's author.",
          "type": [
            "boolean",
            "null"
          ]
        },
        "metrics": {
          "$ref": "#/$defs/CommentMetrics",
          "description": "Counts at fetch time; null = hidden or not exposed, 0 = zero."
        },
        "parent_id": {
          "description": "ID of the comment this replies to; null for top-level comments.",
          "type": [
            "string",
            "null"
          ]
        },
        "platform": {
          "description": "Platform ID (tiktok, youtube, …).",
          "type": "string"
        },
        "platform_specific": {
          "$ref": "#/$defs/CommentPlatformSpecific",
          "description": "Fields only this platform has, under its ID (platform_specific.<platform>); each null when unknown."
        },
        "post_id": {
          "description": "ID of the post commented on (equals post.id).",
          "type": "string"
        },
        "published_at": {
          "description": "When the comment was posted, RFC 3339 UTC. Where the platform shows only a relative time (\"3 weeks ago\"), the latest time that label allows (the fetch time minus the stated amount), listed in approximate_fields.",
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        },
        "text": {
          "description": "Comment body as plain text.",
          "type": "string"
        },
        "unknown_fields": {
          "description": "JSON paths of lists whose [] means unknown rather than none (a source that cannot see them); null already means unknown for every other field. [] when every list is known.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "url": {
          "description": "Permalink, when the platform has one.",
          "format": "uri",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "platform",
        "id",
        "post_id",
        "parent_id",
        "url",
        "text",
        "author",
        "published_at",
        "edited_at",
        "is_edited",
        "is_pinned",
        "is_liked_by_author",
        "is_by_post_author",
        "metrics",
        "platform_specific",
        "approximate_fields",
        "unknown_fields"
      ],
      "type": "object"
    },
    "CommentMetrics": {
      "properties": {
        "like_count": {
          "description": "Likes or upvotes; never negative.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "reply_count": {
          "description": "Direct replies.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "required": [
        "like_count",
        "reply_count"
      ],
      "type": "object"
    },
    "CommentPlatformSpecific": {
      "properties": {
        "bluesky": {
          "anyOf": [
            {
              "$ref": "#/$defs/BlueskyCommentSpecific"
            },
            {
              "type": "null"
            }
          ],
          "description": "Bluesky's own reply fields."
        },
        "facebook": {
          "anyOf": [
            {
              "$ref": "#/$defs/FacebookCommentSpecific"
            },
            {
              "type": "null"
            }
          ],
          "description": "Facebook's own comment fields."
        },
        "github": {
          "anyOf": [
            {
              "$ref": "#/$defs/GitHubCommentSpecific"
            },
            {
              "type": "null"
            }
          ],
          "description": "GitHub's own comment fields."
        },
        "hackernews": {
          "anyOf": [
            {
              "$ref": "#/$defs/HackernewsCommentSpecific"
            },
            {
              "type": "null"
            }
          ],
          "description": "Hacker News' own comment fields."
        },
        "instagram": {
          "anyOf": [
            {
              "$ref": "#/$defs/InstagramCommentSpecific"
            },
            {
              "type": "null"
            }
          ],
          "description": "Instagram's own comment fields."
        },
        "linkedin": {
          "anyOf": [
            {
              "$ref": "#/$defs/LinkedInCommentSpecific"
            },
            {
              "type": "null"
            }
          ],
          "description": "LinkedIn's own comment fields."
        },
        "reddit": {
          "anyOf": [
            {
              "$ref": "#/$defs/RedditCommentSpecific"
            },
            {
              "type": "null"
            }
          ],
          "description": "Reddit's own comment fields."
        },
        "rumble": {
          "anyOf": [
            {
              "$ref": "#/$defs/RumbleCommentSpecific"
            },
            {
              "type": "null"
            }
          ],
          "description": "Rumble's own comment fields."
        },
        "snapchat": {
          "anyOf": [
            {
              "$ref": "#/$defs/SnapchatCommentSpecific"
            },
            {
              "type": "null"
            }
          ],
          "description": "Snapchat's own comment fields."
        },
        "threads": {
          "anyOf": [
            {
              "$ref": "#/$defs/ThreadsCommentSpecific"
            },
            {
              "type": "null"
            }
          ],
          "description": "Threads' own reply fields."
        },
        "tiktok": {
          "anyOf": [
            {
              "$ref": "#/$defs/TikTokCommentSpecific"
            },
            {
              "type": "null"
            }
          ],
          "description": "TikTok's own comment fields."
        },
        "x": {
          "anyOf": [
            {
              "$ref": "#/$defs/XCommentSpecific"
            },
            {
              "type": "null"
            }
          ],
          "description": "X's own reply fields."
        }
      },
      "type": "object"
    },
    "FacebookCommentSpecific": {
      "properties": {
        "author_gender": {
          "description": "The commenter's gender as Facebook states it to logged-out visitors; null when it states none (Pages, most accounts that chose not to). New values may be added.",
          "enum": [
            "male",
            "female",
            null
          ],
          "type": [
            "string",
            "null"
          ]
        },
        "image_url": {
          "description": "The photo the comment attaches, on Facebook's CDN (signed, expires within days); null when it attaches none.",
          "format": "uri",
          "type": [
            "string",
            "null"
          ]
        },
        "reactions": {
          "description": "Reactions by type, most first, as Facebook lists them under the comment; [] when none.",
          "items": {
            "$ref": "#/$defs/FacebookReaction"
          },
          "type": "array"
        }
      },
      "required": [
        "reactions",
        "author_gender",
        "image_url"
      ],
      "type": "object"
    },
    "FacebookReaction": {
      "properties": {
        "count": {
          "description": "How many people reacted with it.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "type": {
          "description": "Reaction type. New values may be added.",
          "enum": [
            "like",
            "love",
            "care",
            "haha",
            "wow",
            "sad",
            "angry"
          ],
          "type": "string"
        }
      },
      "required": [
        "type",
        "count"
      ],
      "type": "object"
    },
    "GitHubCommentSpecific": {
      "properties": {
        "author_association": {
          "description": "The commenter's relation to the repository: owner, member (of its organization), collaborator, contributor (has a merged commit), first_time_contributor, first_timer (first contribution on GitHub), mannequin (an imported placeholder) or none. New values may be added.",
          "enum": [
            "owner",
            "member",
            "collaborator",
            "contributor",
            "first_time_contributor",
            "first_timer",
            "mannequin",
            "none",
            null
          ],
          "type": [
            "string",
            "null"
          ]
        },
        "is_minimized": {
          "description": "A maintainer hid the comment behind a fold (its text stays public, as here).",
          "type": [
            "boolean",
            "null"
          ]
        },
        "minimized_reason": {
          "description": "Why the comment was hidden: spam, abuse, off_topic, outdated, duplicate, resolved or low_quality; null when it is not hidden or no reason is shown. New values may be added.",
          "enum": [
            "spam",
            "abuse",
            "off_topic",
            "outdated",
            "duplicate",
            "resolved",
            "low_quality",
            null
          ],
          "type": [
            "string",
            "null"
          ]
        },
        "node_id": {
          "description": "GitHub's GraphQL node ID of the comment (IC_kwDO…).",
          "type": [
            "string",
            "null"
          ]
        },
        "pinned_at": {
          "description": "When the comment was pinned to the top of the conversation, RFC 3339 UTC; null when it is not pinned or the time is not shown.",
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        },
        "reaction_count": {
          "description": "Reactions to the comment, every emoji counted; never negative.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "reactions": {
          "$ref": "#/$defs/GitHubReactions",
          "description": "Reactions to the comment by emoji; each null when not shown."
        },
        "updated_at": {
          "description": "When the comment last changed, RFC 3339 UTC: an edit moves it, a reaction does not. Equal to published_at when it never changed; null when not shown.",
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "node_id",
        "author_association",
        "reaction_count",
        "reactions",
        "is_minimized",
        "minimized_reason",
        "pinned_at",
        "updated_at"
      ],
      "type": "object"
    },
    "GitHubReactions": {
      "properties": {
        "confused_count": {
          "description": "😕 reactions.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "eyes_count": {
          "description": "👀 reactions.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "heart_count": {
          "description": "❤️ reactions.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "hooray_count": {
          "description": "🎉 reactions.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "laugh_count": {
          "description": "😄 reactions.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "rocket_count": {
          "description": "🚀 reactions.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "thumbs_down_count": {
          "description": "👎 (-1) reactions.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "thumbs_up_count": {
          "description": "👍 (+1) reactions; metrics.like_count.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "required": [
        "thumbs_up_count",
        "thumbs_down_count",
        "laugh_count",
        "hooray_count",
        "confused_count",
        "heart_count",
        "rocket_count",
        "eyes_count"
      ],
      "type": "object"
    },
    "HackernewsCommentSpecific": {
      "properties": {
        "depth": {
          "description": "How deep in the story's thread the comment is: 0 for a comment on the story, 1 for a reply to one, and so on. Null where the endpoint does not read the thread.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "is_dead": {
          "description": "Hacker News killed the comment (flagged by users or caught by its filters), so its text is hidden from logged-out readers: text is then empty. It stays in the thread while it has replies.",
          "type": [
            "boolean",
            "null"
          ]
        },
        "is_deleted": {
          "description": "The comment's author deleted it. Hacker News keeps it in the thread as [deleted] while it has replies: text is then empty and author is [deleted].",
          "type": [
            "boolean",
            "null"
          ]
        },
        "story": {
          "anyOf": [
            {
              "$ref": "#/$defs/HackernewsCommentStory"
            },
            {
              "type": "null"
            }
          ],
          "description": "The story the comment is on (post_id), as far as the endpoint read it; null in a list of a thread's comments, which all share one story."
        }
      },
      "required": [
        "depth",
        "is_deleted",
        "is_dead",
        "story"
      ],
      "type": "object"
    },
    "HackernewsCommentStory": {
      "properties": {
        "comment_count": {
          "description": "Comments on the story at fetch time, replies included.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "link_url": {
          "description": "The page the story links to; null for a text story (Ask HN) and where the endpoint read only the title.",
          "format": "uri",
          "type": [
            "string",
            "null"
          ]
        },
        "points": {
          "description": "The story's points at fetch time.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "published_at": {
          "description": "When the story was submitted, RFC 3339 UTC.",
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        },
        "title": {
          "description": "The story's title, as Hacker News shows it beside the comment.",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "title",
        "link_url",
        "points",
        "comment_count",
        "published_at"
      ],
      "type": "object"
    },
    "InputRef": {
      "properties": {
        "id": {
          "description": "Platform-native ID of the item; null when it is only known after the fetch and the request failed.",
          "type": [
            "string",
            "null"
          ]
        },
        "kind": {
          "description": "What the input points to (profile, video, post, …). New values may be added; treat unknown values as other.",
          "type": "string"
        },
        "url": {
          "description": "Canonical URL of the item; null when unknown.",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "kind",
        "id",
        "url"
      ],
      "type": "object"
    },
    "InstagramCommentSpecific": {
      "properties": {
        "gif_url": {
          "description": "The GIF the comment is (Instagram's GIPHY picker; text is then usually empty), on Meta's CDN; the URL is signed and expires within days. null when the comment has no GIF or the source does not show it (the post page's first comments).",
          "format": "uri",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "gif_url"
      ],
      "type": "object"
    },
    "Link": {
      "properties": {
        "title": {
          "description": "Link label shown by the platform.",
          "type": [
            "string",
            "null"
          ]
        },
        "url": {
          "description": "Link target, absolute (https:// is added where the platform stores the link without a scheme).",
          "format": "uri",
          "type": "string"
        }
      },
      "required": [
        "url",
        "title"
      ],
      "type": "object"
    },
    "LinkedInCommentPost": {
      "properties": {
        "author": {
          "anyOf": [
            {
              "$ref": "#/$defs/ProfileRef"
            },
            {
              "type": "null"
            }
          ],
          "description": "The post's author."
        },
        "published_at": {
          "description": "When the post went public, RFC 3339 UTC.",
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        },
        "text": {
          "description": "The start of the post's text, as the list shows it beside the comment (listed in approximate_fields); null when it shows none.",
          "type": [
            "string",
            "null"
          ]
        },
        "url": {
          "description": "The post's link.",
          "format": "uri",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "url",
        "text",
        "author",
        "published_at"
      ],
      "type": "object"
    },
    "LinkedInCommentSpecific": {
      "properties": {
        "author_follower_count": {
          "description": "A Page commenter's exact follower count, the line LinkedIn shows under its name; null for a member.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "author_headline": {
          "description": "The headline LinkedIn shows under the commenter's name; null for a Page, whose line is its follower count, and when not shown.",
          "type": [
            "string",
            "null"
          ]
        },
        "post": {
          "anyOf": [
            {
              "$ref": "#/$defs/LinkedInCommentPost"
            },
            {
              "type": "null"
            }
          ],
          "description": "The post the comment is on, as the list names it beside the comment (a member's comments); null where the endpoint lists one post's comments, whose post_id says which."
        }
      },
      "required": [
        "author_headline",
        "author_follower_count",
        "post"
      ],
      "type": "object"
    },
    "Media": {
      "properties": {
        "alt_text": {
          "description": "Accessibility text provided by the author or platform.",
          "type": [
            "string",
            "null"
          ]
        },
        "duration_ms": {
          "description": "Duration in milliseconds (video and audio only).",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "expires_at": {
          "description": "When url stops working, RFC 3339 UTC, read from the platform's signed URL; null when unknown or when it does not expire.",
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        },
        "height": {
          "description": "Height in pixels.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "thumbnail_url": {
          "description": "Poster or preview image URL.",
          "format": "uri",
          "type": [
            "string",
            "null"
          ]
        },
        "type": {
          "description": "Kind of file. New values may be added; treat unknown values as other.",
          "enum": [
            "image",
            "video",
            "audio",
            "gif"
          ],
          "type": "string"
        },
        "url": {
          "description": "Direct file URL; null when the platform withholds it, or when the link would only work from SocialTap's network or with a login. Often signed and expiring: see expires_at.",
          "format": "uri",
          "type": [
            "string",
            "null"
          ]
        },
        "width": {
          "description": "Width in pixels.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "required": [
        "type",
        "url",
        "expires_at",
        "thumbnail_url",
        "width",
        "height",
        "duration_ms",
        "alt_text"
      ],
      "type": "object"
    },
    "PageInfo": {
      "properties": {
        "end_reason": {
          "description": "Why there are no more pages; null while has_more is true. end: the list ended, or reached since/until. platform_limit: the platform stops serving further pages although the list goes on. max_pages: SocialTap's cap on pages in one walk. New values may be added. A short or empty page is not the end: only has_more false is.",
          "enum": [
            "end",
            "platform_limit",
            "max_pages",
            null
          ],
          "type": [
            "string",
            "null"
          ]
        },
        "has_more": {
          "description": "True when another page exists; then next_cursor is set. An empty page with has_more true is not the end.",
          "type": "boolean"
        },
        "next_cursor": {
          "description": "Pass as cursor, with the same other parameters, to get the next page; null at the end.",
          "type": [
            "string",
            "null"
          ]
        },
        "next_cursor_expires_at": {
          "description": "When next_cursor stops working, RFC 3339 UTC; null at the end. Don't store cursors.",
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "has_more",
        "next_cursor",
        "next_cursor_expires_at",
        "end_reason"
      ],
      "type": "object"
    },
    "PostMetrics": {
      "properties": {
        "comment_count": {
          "description": "Comments and replies.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "like_count": {
          "description": "Likes, hearts, total reactions or upvotes; never negative. Null when hidden by the owner.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "quote_count": {
          "description": "Quote posts.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "repost_count": {
          "description": "Reposts, retweets or reshares.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "save_count": {
          "description": "Saves, bookmarks or favorites.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "share_count": {
          "description": "Shares or sends (not reposts).",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "view_count": {
          "description": "Views or plays.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "required": [
        "view_count",
        "like_count",
        "comment_count",
        "share_count",
        "repost_count",
        "quote_count",
        "save_count"
      ],
      "type": "object"
    },
    "ProfileMetrics": {
      "properties": {
        "follower_count": {
          "description": "Followers or subscribers.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "following_count": {
          "description": "Accounts this profile follows.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "post_count": {
          "description": "Posts or videos as the platform counts them on the profile (for a private account, posts the caller cannot see).",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "total_like_count": {
          "description": "Likes received across all of the profile's posts (not likes given).",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "total_view_count": {
          "description": "Lifetime views across all of the profile's posts.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "required": [
        "follower_count",
        "following_count",
        "post_count",
        "total_like_count",
        "total_view_count"
      ],
      "type": "object"
    },
    "ProfileRef": {
      "properties": {
        "avatar_url": {
          "description": "Profile picture URL. Platform CDN URLs can expire within hours.",
          "format": "uri",
          "type": [
            "string",
            "null"
          ]
        },
        "display_name": {
          "description": "Display name shown on the profile.",
          "type": [
            "string",
            "null"
          ]
        },
        "id": {
          "description": "Platform-native account ID; null when only the handle is known.",
          "type": [
            "string",
            "null"
          ]
        },
        "is_verified": {
          "description": "Platform verification badge; null where the platform has no badge.",
          "type": [
            "boolean",
            "null"
          ]
        },
        "url": {
          "description": "Canonical profile URL.",
          "format": "uri",
          "type": [
            "string",
            "null"
          ]
        },
        "username": {
          "description": "Handle without the @; null when the account has none.",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "id",
        "username",
        "display_name",
        "url",
        "avatar_url",
        "is_verified"
      ],
      "type": "object"
    },
    "RedditCommentPost": {
      "properties": {
        "comment_count": {
          "description": "Comments on the post.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "is_nsfw": {
          "description": "The post is marked NSFW (18+).",
          "type": [
            "boolean",
            "null"
          ]
        },
        "is_spoiler": {
          "description": "The post is marked as a spoiler.",
          "type": [
            "boolean",
            "null"
          ]
        },
        "published_at": {
          "description": "When the post was submitted, RFC 3339 UTC.",
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        },
        "score": {
          "description": "The post's net score as Reddit shows it (floored at 0 on display).",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "title": {
          "description": "The post's title.",
          "type": [
            "string",
            "null"
          ]
        },
        "url": {
          "description": "The post's permalink.",
          "format": "uri",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "title",
        "url",
        "score",
        "comment_count",
        "published_at",
        "is_nsfw",
        "is_spoiler"
      ],
      "type": "object"
    },
    "RedditCommentSpecific": {
      "properties": {
        "award_count": {
          "description": "Awards the comment received.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "depth": {
          "description": "How deep in the post's thread the comment is: 0 for a comment on the post, 1 for a reply to one, and so on.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "distinguished": {
          "description": "The role the author spoke in, when they marked the comment with it: moderator or admin; null for an ordinary comment.",
          "type": [
            "string",
            "null"
          ]
        },
        "is_collapsed": {
          "description": "Reddit shows the comment collapsed (a low score, a moderator's or crowd-control setting, or a subreddit's rule).",
          "type": [
            "boolean",
            "null"
          ]
        },
        "is_deleted": {
          "description": "The comment's body was deleted by its author or removed by a moderator or Reddit; text is then empty. Reddit keeps such a comment in the thread when it has replies.",
          "type": [
            "boolean",
            "null"
          ]
        },
        "more_replies_count": {
          "description": "Replies under this comment (with their own replies) that the page leaves out, as Reddit counts them in its \"N more replies\" link: request the comment's url to page through them. 0 when every reply Reddit has is included.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "post": {
          "anyOf": [
            {
              "$ref": "#/$defs/RedditCommentPost"
            },
            {
              "type": "null"
            }
          ],
          "description": "The post the comment is on, as Reddit shows it beside the comment (search results); null where the endpoint does not show it."
        },
        "reply_to_author": {
          "anyOf": [
            {
              "$ref": "#/$defs/ProfileRef"
            },
            {
              "type": "null"
            }
          ],
          "description": "The author of the comment this one replies to, where the list names them (a user's comments: Reddit's \"replied to u/…\"); null where Reddit does not name them (a comment on the post, a deleted parent account) and where parent_id places the comment in its thread."
        },
        "score": {
          "description": "Net score as Reddit shows it: upvotes minus downvotes, fuzzed by Reddit; negative for a comment most votes are against. Null when Reddit hides it (a subreddit that hides recent comments' scores, a deleted comment).",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "subreddit": {
          "anyOf": [
            {
              "$ref": "#/$defs/RedditSubredditRef"
            },
            {
              "type": "null"
            }
          ],
          "description": "The subreddit of the post the comment is on; for a post on a user's profile, the profile's own subreddit (u_<username>)."
        }
      },
      "required": [
        "subreddit",
        "score",
        "depth",
        "award_count",
        "distinguished",
        "is_collapsed",
        "is_deleted",
        "more_replies_count",
        "reply_to_author",
        "post"
      ],
      "type": "object"
    },
    "RedditSubredditRef": {
      "properties": {
        "id": {
          "description": "Reddit's subreddit ID (t5_…).",
          "type": [
            "string",
            "null"
          ]
        },
        "name": {
          "description": "The subreddit's name without r/.",
          "type": [
            "string",
            "null"
          ]
        },
        "url": {
          "description": "The subreddit's URL.",
          "format": "uri",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "id",
        "name",
        "url"
      ],
      "type": "object"
    },
    "ResponseMeta": {
      "properties": {
        "client_request_id": {
          "description": "Your x-client-request-id, echoed; null when you sent none.",
          "type": [
            "string",
            "null"
          ]
        },
        "credits_charged": {
          "description": "Credits charged for this request (0 for errors and cache hits).",
          "format": "int64",
          "type": "integer"
        },
        "credits_remaining": {
          "description": "Account balance after this request (the x-credits-remaining header); for a busy account an estimate that may not yet subtract concurrent requests (about a second of usage), never below the real balance; null when SocialTap could not read it.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "fetched_at": {
          "description": "When the data was fetched from the platform, RFC 3339 UTC (older than the request for cache hits).",
          "format": "date-time",
          "type": "string"
        },
        "input": {
          "anyOf": [
            {
              "$ref": "#/$defs/InputRef"
            },
            {
              "type": "null"
            }
          ],
          "description": "What the request's url or handle resolved to: kind, platform ID and canonical URL, so you can confirm what was fetched; null for searches."
        },
        "is_cached": {
          "description": "True when served from the cache (free); see max_age.",
          "type": "boolean"
        },
        "latency_ms": {
          "description": "Time SocialTap spent on the request, in milliseconds.",
          "format": "int64",
          "type": "integer"
        },
        "platform": {
          "description": "Platform ID of the endpoint (youtube, tiktok, …).",
          "type": "string"
        },
        "request_id": {
          "description": "Unique request ID; include it when contacting support.",
          "type": "string"
        },
        "source": {
          "description": "Which upstream strategy produced the data.",
          "type": "string"
        },
        "warnings": {
          "description": "Things to act on that did not fail the request: a deprecated endpoint, partial data, items a list's walk leaves out. [] when none.",
          "items": {
            "$ref": "#/$defs/Warning"
          },
          "type": "array"
        }
      },
      "required": [
        "request_id",
        "platform",
        "source",
        "is_cached",
        "credits_charged",
        "latency_ms",
        "fetched_at",
        "input",
        "credits_remaining",
        "client_request_id",
        "warnings"
      ],
      "type": "object"
    },
    "RumbleCommentSpecific": {
      "properties": {
        "author_badges": {
          "description": "The badges Rumble shows beside the commenter's name, by their label as Rumble writes it (seen: Verified, Admin, Moderator, Supporter, Supporter+, Supporter++, Sub, Locals Supporter; new labels may appear). [] when none.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "dislike_count": {
          "description": "Thumbs-down votes on the comment. Exact below 1,000; from 1,000 Rumble shows a label such as \"1.31K\", taken to be cut to three significant digits as Rumble's other counts are (not checked against an exact count), and listed in approximate_fields.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "required": [
        "dislike_count",
        "author_badges"
      ],
      "type": "object"
    },
    "SnapchatCommentSpecific": {
      "properties": {
        "author_user_id": {
          "description": "The commenter's user ID, the same as platform_specific.snapchat.user_id of their snapchat.profile. It stays when they replace their public profile, which changes author.id; null when Snapchat names no account for the comment.",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "author_user_id"
      ],
      "type": "object"
    },
    "ThreadsCommentSpecific": {
      "properties": {
        "language": {
          "description": "The reply's language as Threads detected it, a BCP-47 tag (en, pt, zh-TW); null when Threads could not tell (an emoji, a link, media only) or does not say.",
          "type": [
            "string",
            "null"
          ]
        },
        "quote_count": {
          "description": "Times the reply was quoted in another post; never negative.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "repost_count": {
          "description": "Times the reply was reposted; never negative.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "required": [
        "repost_count",
        "quote_count",
        "language"
      ],
      "type": "object"
    },
    "TikTokCommentSpecific": {
      "properties": {
        "author_sec_uid": {
          "description": "The commenter's secUid, TikTok's account key that survives a rename.",
          "type": [
            "string",
            "null"
          ]
        },
        "language": {
          "description": "The comment's language as TikTok detected it, an ISO 639-1 code (en, fr); null when TikTok could not tell (emoji, a name) or does not say.",
          "type": [
            "string",
            "null"
          ]
        },
        "thread_id": {
          "description": "For a reply: the ID of its top-level comment (parent_id may name another reply it answers); null for a top-level comment.",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "author_sec_uid",
        "language",
        "thread_id"
      ],
      "type": "object"
    },
    "Warning": {
      "properties": {
        "code": {
          "description": "Machine-readable warning code (see the warnings list). New codes may be added.",
          "type": "string"
        },
        "doc_url": {
          "description": "Where to read more (the changelog entry, the endpoint's docs).",
          "type": "string"
        },
        "fields": {
          "description": "partial_data: the output fields (catalog paths such as metrics.view_count) that are null or [] because part of the data could not be fetched; absent for other codes.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "message": {
          "description": "What to do about it.",
          "type": "string"
        }
      },
      "required": [
        "code",
        "message",
        "doc_url"
      ],
      "type": "object"
    },
    "XCard": {
      "properties": {
        "description": {
          "description": "Its description.",
          "type": [
            "string",
            "null"
          ]
        },
        "domain": {
          "description": "The domain of the linked page.",
          "type": [
            "string",
            "null"
          ]
        },
        "image_url": {
          "description": "Its largest image.",
          "format": "uri",
          "type": [
            "string",
            "null"
          ]
        },
        "title": {
          "description": "Its headline.",
          "type": [
            "string",
            "null"
          ]
        },
        "type": {
          "description": "X's name for the card (summary, summary_large_image, player, broadcast, …). New values may be added.",
          "type": [
            "string",
            "null"
          ]
        },
        "url": {
          "description": "Where the card leads, when X says.",
          "format": "uri",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "type",
        "url",
        "title",
        "description",
        "domain",
        "image_url"
      ],
      "type": "object"
    },
    "XCommentSpecific": {
      "properties": {
        "author_metrics": {
          "anyOf": [
            {
              "$ref": "#/$defs/ProfileMetrics"
            },
            {
              "type": "null"
            }
          ],
          "description": "The author's counts at fetch time (followers, following, posts), which X answers with the reply; null when the source does not show them."
        },
        "author_verified_type": {
          "description": "The kind of verified organization X says the author is (business: the gold check, government: the grey one); null when it is neither. New values may be added; treat unknown values as other.",
          "enum": [
            "business",
            "government",
            null
          ],
          "type": [
            "string",
            "null"
          ]
        },
        "card": {
          "anyOf": [
            {
              "$ref": "#/$defs/XCard"
            },
            {
              "type": "null"
            }
          ],
          "description": "The preview card the reply shows for a link; null when it has none."
        },
        "cashtags": {
          "description": "Cashtags in the reply, without the $, case kept; [] when none.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "conversation_id": {
          "description": "ID of the post that started the conversation; null when the source does not show it.",
          "type": [
            "string",
            "null"
          ]
        },
        "edit_post_ids": {
          "description": "IDs of every version of this reply, oldest first, the last one current; one ID when it was never edited, [] when the source does not show them.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "hashtags": {
          "description": "Hashtags in the reply, without the #; [] when none.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "is_author_blue_verified": {
          "description": "True when the author has the blue check of an X Premium subscription; null when unknown. author.is_verified is true for any check.",
          "type": [
            "boolean",
            "null"
          ]
        },
        "is_nsfw": {
          "description": "X marks the reply's media as possibly sensitive.",
          "type": [
            "boolean",
            "null"
          ]
        },
        "language": {
          "description": "The reply's language as X detected it, a BCP-47 tag (en, ja, pt); null when X could not tell (an emoji, a link, media only).",
          "type": [
            "string",
            "null"
          ]
        },
        "links": {
          "description": "The links in the reply, written out from X's t.co short links, each once; [] when none.",
          "items": {
            "$ref": "#/$defs/Link"
          },
          "type": "array"
        },
        "media": {
          "description": "The reply's photos, videos and GIFs; [] when none.",
          "items": {
            "$ref": "#/$defs/Media"
          },
          "type": "array"
        },
        "media_variants": {
          "description": "Every rendition X offers of the reply's videos and GIFs (MP4s by bitrate, the HLS playlist); media[].url is the best MP4. [] when it has none.",
          "items": {
            "$ref": "#/$defs/XMediaVariant"
          },
          "type": "array"
        },
        "mentions": {
          "description": "Accounts the reply mentions by username, the accounts it replies to first; [] when none.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "poll": {
          "anyOf": [
            {
              "$ref": "#/$defs/XPoll"
            },
            {
              "type": "null"
            }
          ],
          "description": "The poll in the reply, with exact vote counts; null when it has none."
        },
        "quote_count": {
          "description": "Times the reply was quoted in another post; never negative.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "quoted_post": {
          "anyOf": [
            {
              "$ref": "#/$defs/XEmbeddedPost"
            },
            {
              "type": "null"
            }
          ],
          "description": "The post this reply quotes, as X embeds it; null when it quotes none, or when the quoted post is no longer shown."
        },
        "quoted_post_id": {
          "description": "ID of the post this reply quotes; null when it quotes none.",
          "type": [
            "string",
            "null"
          ]
        },
        "reply_to_author": {
          "anyOf": [
            {
              "$ref": "#/$defs/ProfileRef"
            },
            {
              "type": "null"
            }
          ],
          "description": "The author of the post this reply answers (ID and username, when X says); null when X does not say."
        },
        "reply_to_post_id": {
          "description": "ID of the post this reply answers: post_id itself for a direct reply, another reply's ID (parent_id) further down a thread.",
          "type": [
            "string",
            "null"
          ]
        },
        "repost_count": {
          "description": "Times the reply was reposted; never negative.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "save_count": {
          "description": "Times the reply was bookmarked; never negative.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "source": {
          "description": "The client the reply was sent from, as X labels it; null when X does not say, as on most recent posts.",
          "type": [
            "string",
            "null"
          ]
        },
        "view_count": {
          "description": "Times the reply was viewed; null on replies older than X's view counts.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "required": [
        "view_count",
        "repost_count",
        "quote_count",
        "save_count",
        "language",
        "is_nsfw",
        "hashtags",
        "mentions",
        "cashtags",
        "links",
        "media",
        "media_variants",
        "is_author_blue_verified",
        "author_verified_type",
        "author_metrics",
        "conversation_id",
        "reply_to_post_id",
        "reply_to_author",
        "quoted_post_id",
        "quoted_post",
        "edit_post_ids",
        "source",
        "card",
        "poll"
      ],
      "type": "object"
    },
    "XEmbeddedPost": {
      "properties": {
        "author": {
          "$ref": "#/$defs/ProfileRef",
          "description": "Its author."
        },
        "id": {
          "description": "Its ID, as x.post takes it.",
          "type": [
            "string",
            "null"
          ]
        },
        "media": {
          "description": "Its attachments; [] for a text post.",
          "items": {
            "$ref": "#/$defs/Media"
          },
          "type": "array"
        },
        "metrics": {
          "$ref": "#/$defs/PostMetrics",
          "description": "Its counts at fetch time."
        },
        "published_at": {
          "description": "When it was posted, RFC 3339 UTC.",
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        },
        "text": {
          "description": "Its text, with the links written out.",
          "type": [
            "string",
            "null"
          ]
        },
        "url": {
          "description": "Its URL.",
          "format": "uri",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "id",
        "url",
        "text",
        "published_at",
        "author",
        "media",
        "metrics"
      ],
      "type": "object"
    },
    "XMediaVariant": {
      "properties": {
        "bitrate": {
          "description": "Bits per second; null for a playlist, which holds several.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "content_type": {
          "description": "Its type (video/mp4, application/x-mpegURL).",
          "type": [
            "string",
            "null"
          ]
        },
        "media_index": {
          "description": "Which item of media this is a rendition of, from 0.",
          "format": "int64",
          "type": "integer"
        },
        "url": {
          "description": "The file or playlist.",
          "format": "uri",
          "type": "string"
        }
      },
      "required": [
        "media_index",
        "url",
        "content_type",
        "bitrate"
      ],
      "type": "object"
    },
    "XPoll": {
      "properties": {
        "choices": {
          "description": "The choices, in the post's order.",
          "items": {
            "$ref": "#/$defs/XPollChoice"
          },
          "type": "array"
        },
        "duration_minutes": {
          "description": "How long voting runs, in minutes.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "ends_at": {
          "description": "When voting ends or ended, RFC 3339 UTC.",
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        },
        "is_final": {
          "description": "True when voting is over and the counts are final.",
          "type": [
            "boolean",
            "null"
          ]
        },
        "total_votes": {
          "description": "Votes across every choice; null when a choice's count is hidden.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "required": [
        "choices",
        "total_votes",
        "ends_at",
        "duration_minutes",
        "is_final"
      ],
      "type": "object"
    },
    "XPollChoice": {
      "properties": {
        "label": {
          "description": "The choice's text.",
          "type": [
            "string",
            "null"
          ]
        },
        "vote_count": {
          "description": "Exact votes for it; null when X does not show them.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "required": [
        "label",
        "vote_count"
      ],
      "type": "object"
    }
  }
}