直播电视的内容标记属性

本部分详细介绍了 BroadcastService 实体类型的内容标记属性。

规范表

属性 预期类型 说明
@context Text 必需 - 始终设置为 ["http://schema.org", {"@language": "xx"}]
  • xx 替换为 BCP 47 格式格式的实体语言代码,例如“en”。
@type Text 必需 - 对于直播电视,应始终设置为 BroadcastService
@id 网址 必需 - 内容的标识符(采用 URI 格式),例如 https://example.com/1234abc
@id必须满足以下要求:
  • 在整个目录中具有全局唯一性
  • 静态;ID 应保持稳定,不应随着时间的推移而发生变化(即使节目的网址属性发生变化)。它会被视为不透明字符串,且不必是有效链接。
  • 采用统一资源标识符 (URI) 的形式
  • @id 值使用的域名必须归贵组织所有。
由于某个实体的 url 满足作为标识符的所有要求,因此我们建议您将该实体的 url 用作 @id。如需了解详情,请参阅标识符部分。
url 网址 必需 - 内容的规范网址,Google 会使用该网址将 Feed 中的内容与 Google 数据库中的内容进行匹配。
url必须满足以下要求:
  • url 必须是全局唯一的
  • url 必须包含一个 Google 可抓取的有效规范网址。
。如需了解播放的深层链接,请参阅目标对象的 urlTemplate 属性。
name Text 必需 - 广告资源网的名称。
broadcastDisplayName Text 必需 - 用户通常在收视指南等位置看到的网络显示名。该值可能与名称值相同。
potentialAction WatchAction 必需 - 操作标记对象,提供操作的详细信息。如需了解详情,请参阅操作标记属性
sameAs 网址 指向可标识网络的参考网页的网址;例如,网络的维基百科网页。此属性必须与 url 属性不同。
image ImageObject 与直播电视服务相关的图片。最小宽度为 140 像素,最小高度为 210 像素,宽高比为 2:3。提供最高分辨率的 PNG 或 JPG 图片。
identifier PropertyValue 强烈建议原因- 明确标识此实体的外部 ID 或其他 ID。允许使用多个标识符。如需了解详情,请参阅标识符属性部分。

示例

{
  "@context": ["http://schema.org", {"@language": "en"}],
  "@type": "BroadcastService",
  "@id": "http://www.example.com/livestream",
  "url": "http://www.example.com/livestream",
  "sameAs": "https://en.wikipedia.org/wiki/example_tv_station_(TV_channel)",
  "name": "Example TV Station",
  "broadcastDisplayName": "ABC-D",
  "potentialAction": {
    "@type": "WatchAction",
    "target": {
      "@type": "EntryPoint",
      "urlTemplate": "http://www.example.com/livestream",
      "actionPlatform": [
        "http://schema.org/DesktopWebPlatform",
        "http://schema.org/MobileWebPlatform",
        "http://schema.org/AndroidPlatform",
        "http://schema.org/AndroidTVPlatform",
        "http://schema.org/IOSPlatform",
        "http://schema.googleapis.com/GoogleVideoCast"
      ]
    },
    "actionAccessibilityRequirement": {
      "@type": "ActionAccessSpecification",
      "category": "externalsubscription",
      "availabilityStarts": "2017-07-21T10:35:29Z",
      "availabilityEnds": "2018-10-21T10:35:29Z",
      "requiresSubscription": {
        "@type": "MediaSubscription",
        "@id": "http://www.example.com/subscription",
        "name": "AMC",
        "sameAs": "http://www.example.com/subscription",
        "authenticator": {
          "@type": "Organization",
          "name": "TVE"
        }
      },
      "eligibleRegion": [
        {
          "@type": "Country",
          "name": "US"
        },
        {
          "@type": "Country",
          "name": "CA"
        }
      ]
    }
  },
  "identifier": [
    {
      "@type": "PropertyValue",
      "propertyID": "IMDB_ID",
      "value":  "co0019701"
    }
  ]
}

请查看以下页面,了解与这些属性相关的主题: