Youtube · Schema

LiveBroadcast

A liveBroadcast resource represents an event that will be streamed, via live video, on YouTube.

GoogleMediaSocialStreamingVideoVideos

Properties

Name Type Description
kind string Identifies the API resource's type. Value is youtube#liveBroadcast.
etag string The Etag of this resource.
id string The ID that YouTube assigns to uniquely identify the broadcast.
snippet object
status object
contentDetails object
statistics object The statistics object contains info about the live broadcast.
View JSON Schema on GitHub

JSON Schema

youtube-livebroadcast-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/LiveBroadcast",
  "title": "LiveBroadcast",
  "type": "object",
  "description": "A liveBroadcast resource represents an event that will be streamed, via live video, on YouTube.",
  "required": [
    "kind",
    "etag"
  ],
  "properties": {
    "kind": {
      "type": "string",
      "description": "Identifies the API resource's type. Value is youtube#liveBroadcast.",
      "default": "youtube#liveBroadcast",
      "example": "youtube#video"
    },
    "etag": {
      "type": "string",
      "description": "The Etag of this resource.",
      "example": "XI7nbFXulYBIpL0ayR_gDh3eu1k"
    },
    "id": {
      "type": "string",
      "description": "The ID that YouTube assigns to uniquely identify the broadcast.",
      "example": "abc123def456"
    },
    "snippet": {
      "$ref": "#/components/schemas/LiveBroadcastSnippet"
    },
    "status": {
      "$ref": "#/components/schemas/LiveBroadcastStatus"
    },
    "contentDetails": {
      "$ref": "#/components/schemas/LiveBroadcastContentDetails"
    },
    "statistics": {
      "type": "object",
      "description": "The statistics object contains info about the live broadcast.",
      "properties": {
        "totalChatCount": {
          "type": "integer",
          "format": "int64",
          "description": "The number of live chat messages currently on the broadcast."
        }
      },
      "example": "example_value"
    }
  }
}