A playlist resource represents a YouTube playlist.
Type: objectProperties: 6Required: 2
GoogleMediaSocialStreamingVideoVideos
Playlist is a JSON Structure definition published by Youtube, describing 6 properties, of which 2 are required. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.
{
"type": "object",
"description": "A playlist resource represents a YouTube playlist.",
"name": "Playlist",
"properties": {
"kind": {
"type": "string",
"description": "Identifies the API resource's type. Value is youtube#playlist."
},
"etag": {
"type": "string",
"description": "The Etag of this resource."
},
"id": {
"type": "string",
"description": "The ID that YouTube uses to uniquely identify the playlist."
},
"snippet": {
"type": "object",
"description": "Basic details about the playlist such as its title, description, and thumbnails.",
"properties": {
"publishedAt": {
"type": "datetime",
"description": "The date and time that the playlist was created."
},
"channelId": {
"type": "string",
"description": "The ID of the channel that published the playlist."
},
"title": {
"type": "string",
"description": "The playlist title."
},
"description": {
"type": "string",
"description": "The playlist description."
},
"thumbnails": {
"type": "object",
"description": "A map of thumbnail images associated with the playlist."
},
"channelTitle": {
"type": "string",
"description": "The channel title of the channel that the video belongs to."
},
"tags": {
"type": "array",
"description": "Keyword tags associated with the playlist.",
"items": {
"type": "string"
}
},
"defaultLanguage": {
"type": "string",
"description": "The language of the text in the playlist resource's snippet.title and snippet.description properties."
}
}
},
"status": {
"type": "object",
"description": "The status object contains status information for the playlist.",
"properties": {
"privacyStatus": {
"type": "string",
"description": "The playlist's privacy status.",
"enum": [
"private",
"public",
"unlisted"
]
}
}
},
"contentDetails": {
"type": "object",
"description": "The contentDetails object contains information about the playlist content.",
"properties": {
"itemCount": {
"type": "integer",
"description": "The number of videos in the playlist."
}
}
}
},
"required": [
"kind",
"etag"
],
"$schema": "https://json-structure.org/draft/2020-12/schema"
}