{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/creatordb-app/json-schema/creatordb-app-tiktok-content-detail-data-schema.json",
  "title": "TiktokContentDetailData",
  "description": "The TikTok content information.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/creatordb-app-tiktok-api-openapi.yml#/components/schemas/TiktokContentDetailData",
  "type": "object",
  "properties": {
    "recentVideos": {
      "type": "array",
      "description": "Data of recent TikTok videos.",
      "items": {
        "type": "object",
        "description": "A recent TikTok video.",
        "properties": {
          "publishTime": {
            "type": "integer",
            "description": "Publish time, represented as a Unix timestamp in milliseconds."
          },
          "contentId": {
            "type": "string",
            "description": "The unique identifier. Represented as follows: `https://www.tiktok.com/@{uniqueId}/video/{contentId}`"
          },
          "description": {
            "type": "string",
            "description": "The video caption, including emojis, hashtags, and line breaks."
          },
          "coverImageUrl": {
            "type": "string",
            "description": "URL of the video cover image or thumbnail."
          },
          "isAd": {
            "type": "boolean",
            "description": "`true` if it is an ad."
          },
          "length": {
            "type": "integer",
            "description": "Video length in seconds.",
            "minimum": 0
          },
          "likes": {
            "type": "integer",
            "description": "Number of likes.",
            "minimum": 0
          },
          "comments": {
            "type": "integer",
            "description": "Number of comments.",
            "minimum": 0
          },
          "views": {
            "type": "integer",
            "description": "Number of views.",
            "minimum": 0
          },
          "shares": {
            "type": "integer",
            "description": "Number of shares.",
            "minimum": 0
          },
          "engagementRate": {
            "type": "number",
            "description": "Engagement rate of the video, rounded to 4th decimal place. <br /> - *Engagement Rate &#61; (Likes + Comments + Shares)/ Views*"
          },
          "hashtags": {
            "type": "array",
            "description": "Keywords used in the video caption or description.",
            "items": {
              "type": "string"
            }
          },
          "audioId": {
            "type": "string",
            "description": "Unique identifier of the audio track in the content."
          },
          "audioTitle": {
            "type": "string",
            "description": "Title of the audio track."
          },
          "audioAuthor": {
            "type": "string",
            "description": "Artist of the audio track."
          },
          "audioAlbum": {
            "type": "string",
            "description": "Album name of the audio track."
          },
          "isDuetEnabled": {
            "type": "boolean",
            "description": "`true` if duet is enabled."
          }
        },
        "required": [
          "publishTime",
          "contentId",
          "description",
          "coverImageUrl",
          "isAd",
          "length",
          "likes",
          "comments",
          "views",
          "shares",
          "engagementRate",
          "hashtags",
          "audioId",
          "audioTitle",
          "audioAuthor",
          "audioAlbum",
          "isDuetEnabled"
        ]
      }
    }
  }
}