本節將說明 BroadcastService、CableOrSatelliteService、TelevisionChannel、Organization 實體類型的內容標記屬性。如要進一步瞭解這些類型之間的關係,請參閱 LiveTV 頻道概念。
BroadcastService 規格表
| 屬性 | 預期類型 | 說明 | 
|---|---|---|
| @context | Text | 必要 - 一律設為 ["http://schema.org", {"@language": "xx"}]
 | 
| @type | Text | 必要:一律設為 BroadcastService。 | 
| @id | 網址 | 必填:內容的 ID,格式為 URI,例如 https://example.com/1234abc。 @id必須符合下列規定:
 url符合 ID 的所有必要條件,建議您將實體的url做為@id。詳情請參閱「識別碼」一節。 | 
| url | 網址 | 如適用,則為必要欄位:如果頻道可透過網際網路觀看,請提供廣播服務的標準網址。如透過有線/衛星/無線方式提供服務,則不必提供。Google 會使用這個網址,將動態饋給中的內容與 Google 資料庫中的內容進行比對。 url必須符合下列規定:
 urlTemplate屬性。 | 
| name | Text | 必填:網路名稱。 
 | 
| broadcastDisplayName | Text | 必填:使用者通常會在節目指南等地方看到的電視網顯示名稱。這個值可以與名稱值相同。 | 
| callSign | Text | 廣播服務的官方政府核發呼號。 | 
| inLanguage | Text 或 Language | 強烈建議頻道的主要播送語言。請使用 IETF BCP 47 標準中的其中一個語言代碼。 | 
| category | Text | 強烈建議商品類別。你可以使用大於號或斜線,非正式地指出類別階層,例如「體育、體育 > 足球、新聞、電影、音樂、紀錄片」。 | 
| contentRating | 文字或評分 | 僅限成人觀看的電視廣播服務必須填寫:頻道上播出的內容最嚴格的分級。如果內容分級是以文字字串的形式提供,則分級機構必須置於分級前方,中間以空格分隔;例如,美國機構「TVPG」的「TV-Y」分級,會以「TVPG TV-Y」表示。請參閱代理商清單。 
 | 
| contentRating.author | 機構組織 | 如果 contentRating使用Rating,則為必要屬性:評級機構名稱。 | 
| contentRating.ratingValue | Text | 如果 contentRating使用Rating,則為必要屬性 - 評分值。 | 
| contentRating.advisoryCode | Text | 內容的警示代碼。可接受的值包括 D、FV、L、S 和 V。D = 對話、FV = 奇幻暴力、L = 語言、S = 性內容、V = 暴力。 | 
| description | Text | 廣播服務的說明。長度上限為 300 個半形字元。使用陣列提供多種語言和/或不同長度的說明。 | 
| slogan | Text | 廣播服務的標語。 | 
| areaServed | 國家/地區、州/省、城市或GeoShape | 如適用,則為必要 - 如果頻道切換由電視服務供應商執行,則為必要 - 使用者可預期接收廣播服務的地區。請使用 ISO 3166-1 國家/地區代碼指定國家/地區。 | 
| logo | ImageObject | 如果與 GoogleTV 整合,則為必填屬性。否則強烈建議原因代表這項廣播服務的圖片。 
 | 
| potentialAction | WatchAction | 如適用,則為必要屬性:提供動作詳細資料的動作標記物件。詳情請參閱動作標記屬性。 | 
| videoFormat | Text | 這個廣播服務支援的最高畫質定義,例如 
 | 
| broadcastTimezone | Text | 這個廣播服務的時區,格式為 IANA 格式,例如 America/Los_Angeles。針對多個時區使用陣列。 | 
| broadcastAffiliateOf | 機構組織 | 必填:為這項廣播服務提供節目的電視聯播網,或這項廣播服務所屬的機構。 | 
| broadcastAffiliateOf.@id | Text | 必要:設為電視聯播網的 @id。 | 
| broadcastAffiliateOf.@type | Text | 必要:一律設為 Organization。 | 
| identifier | PropertyValue | 強烈建議- 可識別此實體的外部或其他 ID,例如 _PARTNER_ID_。可使用多個 ID。詳情請參閱「ID 屬性」一節。 | 
| popularityScore | PopularityScoreSpecification | 強烈建議Google 會使用這個分數和其他信號,判斷要為使用者播放哪些媒體。這個分數代表內容相對於目錄中其他內容的熱門程度,因此分數的評分標準必須在目錄中的所有實體和動態消息中保持一致。實體的熱門程度分數預設為 0。 | 
| popularityScore.@type | Text | 一律設為 PopularityScoreSpecification。 | 
| popularityScore.value | Number | 非負數值,表示實體的熱門程度;分數越高,代表熱門程度越高。 | 
| popularityScore.eligibleRegion | 國家/地區 | 這個熱門程度分數適用的區域。如果人氣分數適用於全球,請將其設為 EARTH。根據預設,此屬性會設為EARTH。Note: 當地特定熱門程度優先於全球 (EARTH) 熱門程度 | 
BroadcastService 範例
{
    "@context": [
        "http://schema.org",
        {
            "@language": "en"
        }
    ],
    "@type": "BroadcastService",
    "@id": "http://example.com/stations/example-tv",
    "name": "EXAMPLE-TV",
    "broadcastDisplayName": "ABCD",
    "url": "http://example.com/stations/example-tv",
    "callSign": "EXA-TV",
    "videoFormat": "SD",
    "inLanguage": "en",
    "broadcastTimezone": "America/Los_Angeles",
    "broadcastAffiliateOf": {
        "@type": "Organization",
        "@id": "http://example.com/networks/abcd-network"
    },
    "identifier": [
        {
            "@type": "PropertyValue",
            "propertyID": "TMS_ID",
            "value": "12258"
        },
        {
            "@type": "PropertyValue",
            "propertyID": "_PARTNER_ID_",
            "value": "exampletv-123456"
        }
    ],
    "popularityScore": {
        "@type": "PopularityScoreSpecification",
        "value": 178,
        "eligibleRegion": [
            {
                "@type": "Country",
                "name": "US"
            }
        ]
    },
    "potentialAction": {
        "@type": "WatchAction",
        "target": {
            "@type": "EntryPoint",
            "urlTemplate": "http://example.com/livestream",
            "actionPlatform": [
                "http://schema.org/DesktopWebPlatform",
                "http://schema.org/MobileWebPlatform",
                "http://schema.org/AndroidPlatform",
                "http://schema.org/IOSPlatform",
                "http://schema.googleapis.com/GoogleVideoCast",
                "http://schema.org/AndroidTVPlatform"
            ]
        },
        "actionAccessibilityRequirement": {
            "@type": "ActionAccessSpecification",
            "category": "externalsubscription",
            "availabilityStarts": "2018-07-21T10:35:29Z",
            "availabilityEnds": "2019-10-21T10:35:29Z",
            "requiresSubscription": {
                "@type": "MediaSubscription",
                "@id": "http://example.com/subscription",
                "name": "ABCD",
                "sameAs": "http://example.com/subscription",
                "authenticator": {
                    "@type": "Organization",
                    "name": "TVE"
                }
            },
            "eligibleRegion": [
                {
                    "@type": "Country",
                    "name": "US"
                }
            ]
        }
    },
    "logo": [
        {
            "@context": "http://schema.org",
            "@type": "ImageObject",
            "name": "Example Logo Light",
            "contentUrl": "http://example.com/images/example-logo-light.jpg",
            "additionalProperty": [
                {
                    "@type": "PropertyValue",
                    "name": "contentAttributes",
                    "value": [
                        "forLightBackground"
                    ]
                }
            ]
        },
        {
            "@context": "http://schema.org",
            "@type": "ImageObject",
            "name": "Example Logo Dark",
            "contentUrl": "http://example.com/images/example-logo-dark.jpg",
            "additionalProperty": [
                {
                    "@type": "PropertyValue",
                    "name": "contentAttributes",
                    "value": [
                        "forDarkBackground"
                    ]
                }
            ]
        }
    ]
}
CableOrSatelliteService 規格表
| 屬性 | 預期類型 | 說明 | 
|---|---|---|
| @context | Text | 必要 - 一律設為 ["http://schema.org", {"@language": "xx"}]
 | 
| @type | Text | 必要:一律設為 CableOrSatelliteService。 | 
| @id | 網址 | 必填:內容的 ID,格式為 URI,例如 https://example.com/1234abc。 @id必須符合下列規定:
 url符合 ID 的所有必要條件,建議您將實體的url做為@id。詳情請參閱「識別碼」一節。 | 
| name | Text | 必填:電視服務名稱。 
 | 
| areaServed | 國家/地區、州/省、城市或GeoShape | 必填:使用者可預期接收廣播服務的地區。 
 | 
| provider | 機構組織 | 必要:服務的父項供應商 (如適用)。舉例來說,ExampleTV 是ExampleTV 舊金山和ExampleTV 聖地牙哥的區域服務供應商。 | 
| provider.@id | Text | 必填:電視營運商的 ID。 | 
| provider.@type | Text | 必要:一律設為 Organization。 | 
| identifier | PropertyValue | 強烈建議- 可識別此實體的外部 ID 或其他 ID,例如廣播服務的 Gracenote TMS ID。可使用多個 ID。詳情請參閱「ID 屬性」一節。 | 
CableOrSatelliteService 範例
有線電視或衛星電視服務的範例:
{
  "@context":["http://schema.org", {"@language": "en"}],
  "@type":"CableOrSatelliteService",
  "@id":"http://example.com/provider-lineups/exampletv-san-francisco",
  "name":"ExampleTV San Francisco",
  "provider": {
    "@type": "Organization",
    "@id": "http://example.com/providers/exampletv"
  },
  "areaServed":[
    {
      "@type":"GeoShape",
      "@id": "http://example.com/area1"
    }
  ],
  "identifier": {
    "@type": "PropertyValue",
    "propertyID": "TMS_ID",
    "value": "12345"
  }
}
{
  "@type": "GeoShape",
  "@id": "http://example.com/area1",
  "addressCountry": "US",
  "postalCode": [
    "94118",
    "94119"
  ]
}
虛擬多頻道影片節目供應商 (vMVPD) 的範例:
{
  "@context":["http://schema.org", {"@language": "en"}],
  "@type":"CableOrSatelliteService",
  "@id":"http://example.com/providers/my-online-example-tv",
  "name":"My Online Example TV",
  "provider": {
    "@type": "Organization",
    "@id": "http://my-online-tv.com"
  },
  "areaServed":[
    {
      "@type":"Country",
      "name": "US",
    },
    {
      "@type":"Country",
      "name": "CA",
    }
  ]
}
TelevisionChannel 規格表
| 屬性 | 預期類型 | 說明 | 
|---|---|---|
| @context | Text | 必要 - 一律設為 ["http://schema.org", {"@language": "xx"}]
 | 
| @type | Text | 必要:一律設為 TelevisionChannel。 | 
| @id | 網址 | 必填:內容的 ID,格式為 URI,例如 https://example.com/1234abc。 @id必須符合下列規定:
 url符合 ID 的所有必要條件,建議您將實體的url做為@id。詳情請參閱「識別碼」一節。 | 
| broadcastChannelId | Text | 必填:這個 BroadcastService可透過這個唯一 ID 識別為有線、衛星或網路電視服務。
 | 
| channelOrder | Number | Google TV 專用,其他情況為選用:使用這個屬性,指出 Google TV 整合功能在電子節目指南中顯示頻道的順序。 channelOrder在動態饋給中的管道中不得重複,且最好從 1 開始。channelOrder不得為負值或 0。 | 
| broadcastServiceTier | Text | 請使用下列值: 
 | 
| inBroadcastLineup | CableOrSatelliteService | 必填:向觀眾提供這個頻道的 CableOrSatelliteService的@id。 | 
| providesBroadcastService | BroadcastService | 必要:頻道提供的節目所屬 BroadcastService的@id。 | 
TelevisionChannel 範例
有線電視或衛星電視頻道示例:
{
  "@context":["http://schema.org", {"@language": "en"}],
  "@type":"TelevisionChannel",
  "@id":"http://example.com/channels/exampleTV/example-tv-7",
  "broadcastChannelId":"7",
  "channelOrder": 1,
  "broadcastServiceTier":["Premium", "Standard"],
  "inBroadcastLineup":{
    "@type":"CableOrSatelliteService",
    "@id":"http://example.com/providers/exampleTV-san-francisco"
  },
  "providesBroadcastService":{
    "@type":"BroadcastService",
    "@id":"http://example.com/stations/example-tv"
  }
}
線上電視頻道示例:
{
  "@context":["http://schema.org", {"@language": "en"}],
  "@type":"TelevisionChannel",
  "@id":"http://example.com/channels/my-online-example-tv/sport-channel",
  "broadcastChannelId":"sport-channel",
  "channelOrder": 3,
  "broadcastServiceTier":"Premium",
  "inBroadcastLineup":{
    "@type":"CableOrSatelliteService",
    "@id":"http://example.com/providers/my-online-example-tv"
  },
  "providesBroadcastService":{
    "@type":"BroadcastService",
    "@id":"http://example.com/stations/sport-channel"
  }
}
機構規格表
| 屬性 | 預期類型 | 說明 | 
|---|---|---|
| @context | Text | 必要 - 一律設為 ["http://schema.org", {"@language": "xx"}]
 | 
| @type | Text | 必要:一律設為 Organization。 | 
| @id | 網址 | 必填:內容的 ID,格式為 URI,例如 https://example.com/1234abc。 @id必須符合下列規定:
 url符合 ID 的所有必要條件,建議您將實體的url做為@id。詳情請參閱「識別碼」一節。 | 
| name | Text | 必填:電視聯播網、電視內容供應商或電視營運商的名稱。 
 | 
| description | Text | 機構說明。長度上限為 300 個半形字元。使用陣列提供多種語言和/或不同長度的說明。 | 
| sameAs | 網址 | 強烈建議可識別電視網絡的維基百科網頁網址。這個屬性必須與 url 屬性不同。請只填入討論單一頻道/聯播網實體的 Wikipedia 頁面。請注意,維基百科頁面可能會使用「管道」一詞。 | 
| potentialAction | WatchAction | 如適用,則為必要屬性:如果您有多個頻道 (BroadcastService) 參照機構,則必須提供此屬性。提供動作詳細資料的動作標記物件。詳情請參閱動作標記屬性。 | 
| url | 網址 | 機構的網址。Google 會使用這個網址,將這個機構與 Google 資料庫中的機構進行準確比對。 | 
| identifier | PropertyValue | 強烈建議- 可識別此實體的外部 ID 或其他 ID,例如該機構的 TMS ID。可使用多個 ID。詳情請參閱「ID 屬性」一節。 | 
| popularityScore | PopularityScoreSpecification | 強烈建議Google 會使用這個分數,搭配其他信號,判斷要為使用者播放哪些媒體。這個分數代表內容相對於目錄中其他內容的熱門程度,因此分數的評分標準必須在目錄中的所有實體和動態消息中保持一致。實體的熱門程度分數預設為 0。 | 
| popularityScore.@type | Text | 一律設為 PopularityScoreSpecification。 | 
| popularityScore.value | Number | 非負數值,表示實體的熱門程度;分數越高,代表熱門程度越高。 | 
| popularityScore.eligibleRegion | 國家/地區 | 這個熱門程度分數適用的區域。如果人氣分數適用於全球,請將其設為 EARTH。根據預設,此屬性會設為EARTH。Note: 當地特定熱門程度優先於全球 (EARTH) 熱門程度 | 
機構範例
{
  "@context":["http://schema.org", {"@language": "en"}],
  "@type":"Organization",
  "@id":"http://example.com/networks/abcd-network",
  "name":"ABCD",
  "identifier": [
    {
      "@type": "PropertyValue",
      "propertyID": "TMS_ID",
      "value": "12345"
    },
    {
      "@type": "PropertyValue",
      "propertyID": "_PARTNER_ID_",
      "value": "exampletv-12345"
    }
  ],
  "potentialAction": {
    "@type": "WatchAction",
    "target": {
      "@type": "EntryPoint",
      "urlTemplate": "http://example.com/networkstream",
      "actionPlatform": [
        "http://schema.org/DesktopWebPlatform",
        "http://schema.org/MobileWebPlatform",
        "http://schema.org/AndroidPlatform",
        "http://schema.org/IOSPlatform",
        "http://schema.googleapis.com/GoogleVideoCast",
        "http://schema.org/AndroidTVPlatform"
      ]
    },
    "actionAccessibilityRequirement": {
      "@type": "ActionAccessSpecification",
      "category": "externalsubscription",
      "availabilityStarts": "2018-07-21T10:35:29Z",
      "availabilityEnds": "2050-10-21T10:35:29Z",
      "requiresSubscription": {
        "@type": "MediaSubscription",
        "@id": "http://example.com/subscription",
        "name": "ABCD",
        "sameAs": "http://example.com/subscription",
      },
      "eligibleRegion": [
        {
          "@type": "Country",
          "name": "US"
        }
      ]
    }
  },
  "popularityScore": {
    "@type": "PopularityScoreSpecification",
    "value": 178,
    "eligibleRegion": [
      {
        "@type": "Country",
        "name": "US"
      }
    ]
  }
}
相關網頁
如要瞭解與這些屬性相關的主題,請參閱下列頁面: