瞭解實體類型之間的關係

部分實體類型需要你在動態饋給中建立內容之間的關係。這項資訊有助於 Google 向使用者顯示內容的正確順序和結構,並在使用者提出含糊的查詢時,找出正確的內容。

選取您提供的內容類型:

如果您是電視節目供應商,請在媒體目錄動態饋給中新增 TVEpisodeTVSeasonTVSeries 實體類型。如要查看這些實體的定義,請在「瞭解可用的實體類型」一節中篩選這些類型。

找出關係

請確認在這些項目之間建立下列關係:

partOfSeriespartOfSeason 屬性會將電視節目實體類型連結在一起。
  • TVEpisode 實體需要您提供 partOfSeries 屬性,該屬性會指定劇集 TVSeries 實體的 @idname

    "partOfSeries": {
      "@type": "TVSeries",
      "@id": "http://www.example.com/my_favorite_tv_show",
      "name": "My Favorite TV Show",
    },
    
  • 如果動態饋給包含電視季數,TVSeason 實體也會要求您在 partOfSeries 屬性中指定其 TVSeries 實體。

  • TVEpisode 實體需要您提供 partOfSeason 屬性,該屬性會指定劇集 TVSeason 實體的 @idseasonNumber

    "partOfSeason": {
      "@type": "TVSeason",
      "@id": "http://www.example.com/my_favorite_tv_show/s7",
      "seasonNumber": 7
    },
    

    如果 TVEpisode 實體在動態饋給中沒有對應的 TVSeason 實體,請按照下列步驟為 TVEpisode 實體提供 partOfSeason.@idpartOfSeason.seasonNumber 屬性:

    • 請取出其 partofSeries.@id,並附加一個預留位置查詢欄位 (例如 ?season1),以建立專屬的 partOfSeason.@id (例如 http://www.example.com/my_favorite_tv_show?season1)。
    • partOfSeason.seasonNumber 設為 1。
    日後,如果您決定在動態饋給中提供電視季別,可以重複使用對應 TVSeason 實體的現有 partOfSeason.@id,或是將這個預留位置 partOfSeason.@id 替換為 TVSeason 實體的實際 @id

範例

我最愛的電視節目

{
  "@context": ["http://schema.org", {"@language": "en"}],
  "@type": "TVSeries",
  "@id": "http://www.example.com/my_favorite_tv_show",
  "url": "http://www.example.com/my_favorite_tv_show",
  "name": "My Favorite TV Show",
  "potentialAction":{  },
  ...
}

我最愛的電視節目 (第 7 季)

{
  "@context": ["http://schema.org", {"@language": "en"}],
  "@type": "TVSeason",
  "@id": "http://www.example.com/my_favorite_tv_show/s7",
  "url": "http://www.example.com/my_favorite_tv_show/s7",
  "name": "My Favorite TV Show, Season 7",
  "seasonNumber": 7,
  "partOfSeries": {
    "@type": "TVSeries",
    "@id": "http://www.example.com/my_favorite_tv_show",
    "name": "My Favorite TV Show",
  },
  "potentialAction":{  },
  ...
}

第 3 集「我最愛的電視節目」 (第 7 季)

{
  "@context": ["http://schema.org", {"@language": "en"}],
  "@type": "TVEpisode",
  "@id": "http://www.example.com/my_favorite_tv_show/s7/e3",
  "url": "http://www.example.com/my_favorite_tv_show/s7/e3",
  "name": "John Doe returns at night",
  "episodeNumber": 3,
  "partOfSeason": {
    "@type": "TVSeason",
    "@id": "http://www.example.com/my_favorite_tv_show/s7",
    "seasonNumber": 7
  },
  "partOfSeries": {
    "@type": "TVSeries",
    "@id": "http://www.example.com/my_favorite_tv_show",
    "name": "My Favorite TV Show",
  },
  "potentialAction":{  },
  ...
}

如果你是廣播電台供應商,請在媒體目錄動態饋給中新增 RadioBroadcastService 實體類型。如要查看這些實體的定義,請在「瞭解可用的實體類型」一節中篩選這類實體。

找出關係

由於這類整合只有一種實體類型,且不需要建立明確的關聯,請務必為 RadioBroadcastService 實體收集下列資訊:

  • description:電台的說明。
  • broadcastDisplayName:廣播電台的顯示名稱。
  • areaServed:廣播電台可播送的地區。
  • callSign:政府核發的廣播電台正式呼號。北美地區電台必須提供這個屬性。
  • broadcastFrequency:電台的頻率規格。
    • 對於地面式 AM/FM 電台,此屬性為必要屬性。
    • 如果是僅限線上串流的內容,則值設為 INTERNET_STREAM
  • broadcastAffiliateOf:這個電台提供節目的聯播網。如果電台不是任何聯盟的一部分,則不需要這項屬性。
  • broadcaster:擁有及經營電台的機構。
  • parentService:父項廣播電台。如果廣播電台是其他電台的轉播或轉譯電台,就必須提供這個屬性。

範例

{
  "@context": "http://schema.googleapis.com",
  "@type": "RadioBroadcastService",
  "@id": "https://www.example.com/stations?id=1",
  "url": "https://www.example.com/stations?id=1",
  "name": "KABC",
  "callSign": "KABC-FM",
  "broadcastDisplayName": "KABC",
  "description": "Local News & Information",
  "broadcastFrequency": {
    "@type": "BroadcastFrequencySpecification",
    "broadcastFrequencyValue": "89.5",
    "broadcastSignalModulation": "FM",
    "broadcastSubChannel": "HD1"
  },
  "areaServed": {
    "@type": "City",
    "name": "San Francisco, CA"
  },
  "broadcastAffiliateOf": [
    {
      "@id": "https://www.example.com/networks/xyz",
      "@type": "Organization",
      "name": "XYZ",
      "sameAs": "https://en.wikipedia.org/wiki/XYZ"
    },
    {
      "@id": "https://www.example.com/networks/efg",
      "@type": "Organization",
      "name": "EFG",
      "sameAs": "https://www.example.com/"
    }
  ],
  "broadcaster": [
    {
      "@type": "Organization",
      "name": "California Local Public Broadcasting",
      "sameAs": "https://www.example.org/w/clpb/"
    },
    {
      "@type": "Organization",
      "sameAs": "https://www.example.org/kabc",
      "name": "KABC Inc"
    }
  ],
  "potentialAction": {  },
  
}

如果你是音樂供應商,請在媒體目錄動態饋給中新增 MusicGroupMusicAlbumMusicRecording 實體類型。如要查看這些實體的定義,請在「瞭解可用的實體類型」一節中篩選這些類型。

MusicGroupMusicAlbumMusicRecording 可讓應用程式或平台在播放種子實體的所有內容後,播放播放清單 (MusicPlaylist) 中的更多內容。請參考下列情境:

  • MusicAlbum 實體包含 Album XYZ (種子實體) 的歌曲清單。
  • MusicPlaylist 實體包含與「專輯 XYZ」中的歌曲類型相同的歌曲播放清單。
  • MusicAlbum 實體會將 MusicPlaylist 實體納入實體種子動作

在這種設定中,一旦播放 Album XYZ 中的所有歌曲,應用程式就能繼續播放 MusicPlaylist 實體提供的播放清單中的歌曲。

實體動作和實體啟動的動作

收聽動作支援兩種類型的動作:

  • 實體動作:播放特定藝人、專輯或歌曲 (種子實體)。包括 MusicGroupMusicAlbumMusicRecording
  • 實體種子動作:播放與種子實體類似的內容。其中包含 MusicPlaylist
    • 完成實體動作後,應用程式或平台可能會啟動實體播種動作。
    • 實體啟動的動作可播放來自啟動實體的內容。

建議您在每個實體動作中加入實體種子動作。

找出關係

  • 針對 MusicGroup,如果您提供實體種子動作,請找出其 MusicPlaylist@idname
  • 針對 MusicAlbumMusicRecording,您需要識別它們屬於哪個 MusicGroup
    • 找出其 MusicGroup@idname
    • 如果您提供實體播放的動作,請找出其 MusicPlaylist@idname
  • 針對 MusicPlaylist
    • 如有需要,請找出最能代表播放清單內容的 genre
    • 如果播放清單是人工精選,請找出 numTracks
      • 如果沒有 numTracks,Google 就會知道播放清單是系統自動產生的無限播放清單。

範例

  • 藝人:我最喜歡的藝人
{
  "@context":"http://schema.googleapis.com/",
  "@type":"MusicGroup",
  "@id":"http://www.example.com/artist/my_favorite_artist/",
  "url":"http://www.example.com/artist/my_favorite_artist/",
  "name":"My Favorite Artist",
  "potentialAction":{  },
  "subjectOf": {
    "@type":"MusicPlaylist",
    "@id":"http://www.example.com/artist_mix/my_favorite_artist/",
    "url":"http://www.example.com/artist_mix/my_favorite_artist/",
    "name":"My Favorite Artist Mix",
    "potentialAction":{  },
  },
  ...
}
  • 專輯:我的最愛專輯
  • 藝人:我最喜歡的藝人
{
  "@context":"http://schema.googleapis.com/",
  "@type":"MusicAlbum",
  "@id":"http://www.example.com/album/my_favorite_album",
  "url":"http://www.example.com/album/my_favorite_album",
  "name":"My Favorite Album",
  "byArtist":{
    "@type":"MusicGroup",
    "@id": "http://www.example.com/artist/my_favorite_artist/",
    "name":"My Favorite Artist"
  },
  "potentialAction":{  },
  "subjectOf": {
    "@type":"MusicPlaylist",
    "@id":"http://www.example.com/album_mix/my_favorite_album",
    "url":"http://www.example.com/album_mix/my_favorite_album",
    "name":"My Favorite Album Mix",
    "potentialAction":{  },
  },
  ...
}
  • 歌曲:My Favorite Song
  • 藝人:我最喜歡的藝人
{
  "@context":"http://schema.googleapis.com/",
  "@type":"MusicRecording",
  "@id":"http://www.example.com/track/my_favorite_song",
  "url":"http://www.example.com/track/my_favorite_song",
  "name":"My Favorite Song",
  "byArtist":{
    "@type":"MusicGroup",
    "@id": "http://www.example.com/artist/my_favorite_artist/",
    "name":"My Favorite Artist"
  },
  "potentialAction":{  },
  "subjectOf": {
    "@type":"MusicPlaylist",
    "@id":"http://www.example.com/track_mix/my_favorite_song",
    "url":"http://www.example.com/track_mix/my_favorite_song",
    "name":"My Favorite Song Mix",
    "potentialAction":{  },
  },
  ...
}
  • 自訂播放清單:「2010 年代熱門流行歌曲」
{
  "@context":"http://schema.googleapis.com/",
  "@type":"MusicPlaylist",
  "@id":"http://www.example.com/playlist/top_pop_songs/",
  "url":"http://www.example.com/playlist/top_pop_songs/",
  "name":"Top Pop Songs of the 2010s",
  "genre": [
     "pop",
     "2010s"
  ],
  "numTracks":"46",
  "potentialAction":{  },
  ...
}

如果您是直播電視供應商,請在媒體目錄動態饋給中加入 OrganizationBroadcastServiceCableOrSatelliteServiceTelevisionChannel 實體類型,以代表您的頻道陣容。您可能還需要提供 BroadcastEventTVSeriesTVEpisodeMovieSportsEvent 實體,以代表相關的電子節目表 (EPG)。如要查看這些實體的定義,請在「瞭解可用的實體類型」一節中篩選這些類型。如需更詳細的說明,請參閱「直播電視頻道」頁面。

代表直播電視頻道的實體之間的關係

下圖顯示 OrganizationBroadcastServiceCableOrSatelliteServiceTelevisionChannel 實體的關係:

直播電視頻道實體類型之間的連結
:直播電視頻道實體類型之間的連結。

  • Organization (操作員) 實體代表動態饋給供應商,也是 CableOrSatelliteService 服務的父項組織,並使用 CableOrSatelliteService 實體上的 provider 屬性連結。
  • Organization 實體與 BroadcastService 實體相對應,並使用 BroadcastService 實體的 broadcastAffiliateOf 屬性進行連結。
  • TelevisionChannel 實體會使用 inBroadcastLineup 屬性連結至 CableOrSatelliteService 實體,代表它們所屬的陣容。
  • TelevisionChannel 實體會使用 providesBroadcastService 屬性連結至 BroadcastService 實體,這個實體的節目由這個頻道提供。

強烈建議您參閱「直播電視頻道」概念頁面,瞭解如何建立 BroadcastService 和 Organization 實體之間的關係。

頻道與節目指南 (EPG) 之間的關係

下圖顯示 BroadcastEvent 實體如何連結至動態消息中的其他實體。

電視直播活動實體類型之間的連結
:電視直播活動實體類型之間的連結。

  • BroadcastEvent 實體代表 BroadcastService 的節目指南 (EPG),會透過 BroadcastEvent 實體的 publishedOn 屬性與 BroadcastService 實體建立連結。
  • BroadcastEvent 實體也可以使用 workPerformed 屬性連結至頂層 TVEpisodeTVSeriesMovie 實體。
  • BroadcastEvent 實體也可以使用 broadcastOfEvent 屬性連結至頂層 SportsEvent 實體。
  • 對於透過網路直播的無頻道活動,BroadcastEvent 實體會根據直播內容,使用 workPerformedbroadcastOfEvent 屬性連結至代表直播活動的實體。在這種情況下,由於不需要連結至管道,因此不需要 publishedOn 屬性。

範例

以下各節提供各種 Watch Action 用途的範例和程式碼片段。

網路上的全國電視服務供應商

虛構的網路電視服務供應商 ExampleTV Digital Service (Organization) 在網路上提供電視直播服務,其中包含以下兩個頻道:ExampleTV-Movie (Organization) 和 ExampleTV-Comedy (Organization):

{
  "@context": ["http://schema.org", {"@language": "en"}],
  "@type":"Organization",
  "@id":"http://example.com/exampletv/digital",
  "name":"ExampleTV Digital Service",
  "sameAs": "https://en.wikipedia.org/wiki/exampletv_digital_service"
},
{
  "@context": ["http://schema.org", {"@language": "en"}],
  "@type":"Organization",
  "@id":"http://example.com/exampletv/movie",
  "name":"ExampleTV Movie",
  "sameAs": "https://en.wikipedia.org/wiki/exampletv_movie"
},
{
  "@context": ["http://schema.org", {"@language": "en"}],
  "@type":"Organization",
  "@id":"http://example.com/exampletv/comedy",
  "name":"ExampleTV Comedy",
  "sameAs": "https://en.wikipedia.org/wiki/exampletv_comedy"
}

這兩個 BroadcastService 實體會提供虛構頻道 ExampleTV-MovieExampleTV-Comedy 的深層連結和存取權要求詳細資料:

{
  "@context": ["http://schema.org", {"@language": "en"}],
  "@type":"BroadcastService",
  "@id":"https://www.example.com/exampletv/broadcast/movie",
  "name": "ExampleTV-Movie",
  "alternateName": [
    "Example Television Movie",
    "Example TV Movie"
  ],
  "description": "A fictional Internet Protocol TV movie channel.",
  "broadcastDisplayName":"ExampleTV-Movie",
  "broadcastAffiliateOf":{
    "@type":"Organization",
    "@id":"http://www.example.com/exampletv/movie"
  },
  "potentialAction": {
    "@type": "WatchAction",
    "target": {
      "@type": "EntryPoint",
      "urlTemplate": "http://www.example.com/exampletv/broadcast/movie?autoplay=true",
      "inLanguage": "en",
      "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": "subscription",
      "requiresSubscription": {
        "@type": "MediaSubscription",
        "@id": "http://www.example.com/exampletv/basic_subscription",
        "name": "Basic subscription",
        "identifier": "example.com:basic",
        "commonTier": true
      },
      "eligibleRegion": [
        {
          "@type": "Country",
          "name": "US"
        }
      ]
    }
  },
  "identifier": [
    {
      "@type": "PropertyValue",
      "propertyID": "TMS_ID",
      "value": "12345"
    },
    {
      "@type": "PropertyValue",
      "propertyID": "_PARTNER_ID_",
      "value": "exampletv-movie-33345"
    }
  ]
},
{
  "@context": ["http://schema.org", {"@language": "en"}],
  "@type":"BroadcastService",
  "@id":"https://www.example.com/exampletv/broadcast/comedy",
  "name": "ExampleTV-Comedy",
  "alternateName": [
    "Example Television Comedy",
    "Example TV Comedy"
  ],
  "description": "A fictional Internet Protocol TV comedy channel.",
  "broadcastDisplayName":"ExampleTV-Comedy",
  "broadcastAffiliateOf":{
    "@type":"Organization",
    "@id":"http://www.example.com/exampletv/comedy"
  },
  "potentialAction": {
    "@type": "WatchAction",
    "target": {
      "@type": "EntryPoint",
      "urlTemplate": "http://www.example.com/exampletv/broadcast/comedy?autoplay=true",
      "inLanguage": "en",
      "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": "subscription",
      "requiresSubscription": {
        "@type": "MediaSubscription",
        "@id": "http://www.example.com/exampletv/basic_subscription",
        "name": "Basic subscription",
        "identifier": "example.com:basic",
        "commonTier": true
      },
      "eligibleRegion": [
        {
          "@type": "Country",
          "name": "US"
        }
      ]
    }
  },
  "identifier": [
    {
      "@type": "PropertyValue",
      "propertyID": "TMS_ID",
      "value": "15555"
    },
    {
      "@type": "PropertyValue",
      "propertyID": "_PARTNER_ID_",
      "value": "exampletv-comedy-12323"
    }
  ]
}

這個 CableOrSatelliteService 會說明全國服務範圍的服務供應商 ExampleTV Digital Service

{
  "@context": ["http://schema.org", {"@language": "en"}],
  "@type":"CableOrSatelliteService",
  "@id":"http://example.com/example_iptv/us",
  "name":"Example TV Digital Service - US",
  "provider": {
    "@type": "Organization",
    "@id": "http://example.com/exampletv/digital",
  },
  "areaServed":[
    {
      "@type":"Country",
      "name": "US",
    }
  ]
}

這些 TelevisionChannel 實體表示 ExampleTV Digital Service IPTV 在頻道 ExTV-Movie 上有 ExampleTV Movie 節目,在頻道 ExTV-Comedy 上有 ExampleTV Comedy 節目:

{
  "@context": ["http://schema.org", {"@language": "en"}],
  "@type":"TelevisionChannel",
  "@id":"http://example.com/exampletv/extv-movie",
  "broadcastChannelId":"ExTV-Movie",
  "broadcastServiceTier":"Basic",
  "inBroadcastLineup":{
    "@type":"CableOrSatelliteService",
    "@id":"http://example.com/example_iptv/us"
  },
  "providesBroadcastService":{
    "@type":"BroadcastService",
    "@id":"https://www.example.com/exampletv/broadcast/movie"
  }
},
{
  "@context": ["http://schema.org", {"@language": "en"}],
  "@type":"TelevisionChannel",
  "@id":"http://example.com/exampletv/extv-comedy",
  "broadcastChannelId":"ExTV-Comedy",
  "broadcastServiceTier":"Basic",
  "inBroadcastLineup":{
    "@type":"CableOrSatelliteService",
    "@id":"http://example.com/example_iptv/us"
  },
  "providesBroadcastService":{
    "@type":"BroadcastService",
    "@id":"https://www.example.com/exampletv/broadcast/comedy"
  }
}

如需更多範例,請參閱「直播電視範例」一節。

在電視頻道上播放電影

電影在 2019 年 7 月 12 日下午 5 點至 7 點於電視網絡 Example TV (BroadcastService) 播出。

{
  "@context": ["http://schema.org", {"@language": "en"}],
  "@type": "BroadcastEvent",
  "@id": "http://example.com/live/movie/new_release",
  "name": "My Favorite Movie",
  "description": "John Doe spent years perfecting his survival skills in a tropical jungle.",
  "startDate": "2019-07-12T17:00-08:00",
  "endDate": "2019-07-12T19:00-08:00",
  "videoFormat": "HD",
  "isLiveBroadcast": "False",
  "publishedOn": {
    "@type": "BroadcastService",
    "@id": "http://example.com/stations/example_tv"
  },
  "workPerformed": {
    "@type": "Movie",
    "@id": "http://www.example.com/my_favorite_movie"
  }
}
{
  "@context": ["http://schema.org", {"@language": "en"}],
  "@type":"BroadcastService",
  "@id":"http://example.com/stations/example_tv",
  "name":"EXAMPLE-TV",
  "broadcastDisplayName":"ABCD",
  "callSign": "EXA-TV",
  "videoFormat":"SD",
  "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"
   }
  ],
  "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"
        }
      ]
    }
  }
}
{
  "@context": ["http://schema.org", {"@language": "en"}],
  "@type": "Movie",
  "@id": "http://www.example.com/my_favorite_movie",
  "url": "http://www.example.com/my_favorite_movie",
  "name": "My Favorite Movie",
  "sameAs": "https://en.wikipedia.org/wiki/my_favorite_movie",
  "releasedEvent": {
    "@type": "PublicationEvent",
    "startDate": "2008-01-20",
    "location": {
      "@type": "Country",
      "name": "US"
    }
  },
  "description": "John Doe spent years perfecting his survival skills in a tropical jungle.",
  "actor": [
    {
      "@type": "Person",
      "name": "John Doe",
      "sameAs": "https://en.wikipedia.org/wiki/John_Doe"
    },
    {
      "@type": "Person",
      "name": "Jane Doe",
      "sameAs": "https://en.wikipedia.org/wiki/Jane_Doe"
    }
  ],
  "identifier": [
    {
      "@type": "PropertyValue",
      "propertyID": "IMDB_ID",
      "value":  "tt0123456"
    }
  ]
}

如需更多範例,請參閱「Live TV Event 範例」一節。

線上串流播放的運動賽事直播


{
  "@context": ["http://schema.org", {"@language": "en"}],
  "@type": "BroadcastEvent",
  "@id": "http://example.com/live_eevent/basketball/professional/final_game_6",
  "name": "2019 Professional Basketball Finals, Game 6: Team A at Team B",
  "description": "Game 6 of the 2019 Professional Basketball Finals. Team A leads the series 3-2 against Team B.",
  "startDate": "2018-09-16T10:00-08:00",
  "endDate": "2018-09-16T13:00-08:00",
  "videoFormat": "HD",
  "isLiveBroadcast": "False",
  "potentialAction": {
    "@type": "WatchAction",
    "target": {
      "@type": "EntryPoint",
      "urlTemplate": "http://www.example.com/pbl_semis_game?autoplay=true",
      "inLanguage": "en",
      "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": "subscription",
      "availabilityStarts": "2018-09-16T10:00-08:00",
      "availabilityEnds": "2018-09-16T10:00-08:00",
      "requiresSubscription": {
        "@type": "MediaSubscription",
        "name": "Example Package",
        "commonTier": true,
        "@id": "http://www.example.com/example_package"
      },
      "eligibleRegion": [
        {
          "@type": "Country",
          "name": "US"
        }
      ]
    }
  },
  "broadcastOfEvent": {
    "@type": "SportsEvent",
    "@id": "http://example.com/basketball/professional/final_game_6"
  }
}

{
  "@context": ["http://schema.org", {"@language": "en"}],
  "@type":"SportsEvent",
  "@id": "http://example.com/basketball/professional/final_game_6",
  "name":"2019 Professional Basketball Finals, Game 6: Team A vs Team B",
  "sport":"https://en.wikipedia.org/wiki/Basketball",
  "description": {
      "@language": "en",
      "@value": "Game 6 of the 2019 Professional Basketball Finals. Team A leads the series 3-2 against Team B."
    },
  "startDate": "2019-09-16T10:00-08:00",
  "endDate": "2019-09-16T13:00-08:00",
  "homeTeam":{
    "@type":"SportsTeam",
    "name":"Team B",
    "sport":"https://en.wikipedia.org/wiki/Basketball",
    "parentOrganization":{
      "@type":"SportsOrganization",
      "name":"Professional Basketball League",
      "sameAs":"http://www.example.com/professional_basketball_league"
    },
    "athlete":[
      {
        "@type":"Person",
        "name":"John doe"
      }
    ]
  },
  "awayTeam":{
    "@type":"SportsTeam",
    "name":"Team A",
    "sport":"https://en.wikipedia.org/wiki/Basketball",
    "athlete":[
      {
        "@type":"Person",
        "name":"Jane Doe"
      }
    ]
  },
  "location":{
    "@type":"Place",
    "name":"Example Stadium",
    "address":{
      "@type":"PostalAddress",
      "streetAddress":"1600 Amphitheatre Pkwy",
      "addressLocality":"Mountain View",
      "addressRegion":"CA",
      "postalCode":"94043",
      "addressCountry":"US"
    }
  },
  "identifier": [
    {
      "@type": "PropertyValue",
      "propertyID": "TMS_ID",
      "value":  "TMS ID of this game"
    }
  ]
}

如需更多範例,請參閱「運動相關範例」一節。