Youtube · Schema
VideoContentDetails
Information about the video content, including the length of the video and an indication of whether captions are available.
GoogleMediaSocialStreamingVideoVideos
Properties
| Name | Type | Description |
|---|---|---|
| duration | string | The length of the video in ISO 8601 format. |
| dimension | string | Indicates whether the video is available in 3D or in 2D. |
| definition | string | Indicates whether the video is available in high definition or standard definition. |
| caption | string | Indicates whether captions are available for the video. |
| licensedContent | boolean | Indicates whether the video represents licensed content, which means that the content has been claimed by a YouTube content partner. |
| contentRating | object | Specifies the ratings that the video received under various rating schemes. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/VideoContentDetails",
"title": "VideoContentDetails",
"type": "object",
"description": "Information about the video content, including the length of the video and an indication of whether captions are available.",
"properties": {
"duration": {
"type": "string",
"description": "The length of the video in ISO 8601 format.",
"example": "example_value"
},
"dimension": {
"type": "string",
"description": "Indicates whether the video is available in 3D or in 2D.",
"example": "example_value"
},
"definition": {
"type": "string",
"description": "Indicates whether the video is available in high definition or standard definition.",
"enum": [
"hd",
"sd"
],
"example": "hd"
},
"caption": {
"type": "string",
"description": "Indicates whether captions are available for the video.",
"enum": [
"false",
"true"
],
"example": "false"
},
"licensedContent": {
"type": "boolean",
"description": "Indicates whether the video represents licensed content, which means that the content has been claimed by a YouTube content partner.",
"example": true
},
"contentRating": {
"type": "object",
"description": "Specifies the ratings that the video received under various rating schemes.",
"example": "example_value"
}
}
}