Youtube · Schema

VideoStatistics

Statistics about the video such as the number of times the video has been viewed or liked.

GoogleMediaSocialStreamingVideoVideos

Properties

Name Type Description
viewCount string The number of times the video has been viewed.
likeCount string The number of users who have indicated that they liked the video.
dislikeCount string The number of users who have indicated that they disliked the video.
favoriteCount string The number of users who have added the video to their favorites list.
commentCount string The number of comments for the video.
View JSON Schema on GitHub

JSON Schema

youtube-data-video-statistics-schema.json Raw ↑
{
  "type": "object",
  "description": "Statistics about the video such as the number of times the video has been viewed or liked.",
  "properties": {
    "viewCount": {
      "type": "string",
      "description": "The number of times the video has been viewed.",
      "example": 42
    },
    "likeCount": {
      "type": "string",
      "description": "The number of users who have indicated that they liked the video.",
      "example": 42
    },
    "dislikeCount": {
      "type": "string",
      "description": "The number of users who have indicated that they disliked the video.",
      "example": 42
    },
    "favoriteCount": {
      "type": "string",
      "description": "The number of users who have added the video to their favorites list.",
      "example": 42
    },
    "commentCount": {
      "type": "string",
      "description": "The number of comments for the video.",
      "example": 42
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "VideoStatistics",
  "x-schema-source": "openapi",
  "x-source-url": "openapi/youtube-data-api-openapi.yml"
}