部分實體類型會要求您為動態饋給中的內容建立關係。這些資訊有助於 Google 向使用者顯示正確的內容順序與結構,有助於在不明確的使用者查詢時識別正確的內容。
選取你提供的內容類型:
電視節目
如果你是電視節目供應商,就必須在媒體目錄動態饋給中加入 TVEpisode
、TVSeason
和 TVSeries
實體類型。如需這些實體的定義,請參閱「瞭解可用的實體類型」一節,篩選這些類型。
找出關係
請確保兩者之間建立了下列關係:
![](https://developers.google.cn/static/actions/media/images/image-media-actions-32.png?authuser=0000&hl=zh-tw)
partOfSeries
和 partOfSeason
屬性會連結電視節目實體類型。TVEpisode
實體要求您提供partOfSeries
屬性,以指定劇集TVSeries
實體的@id
和name
。"partOfSeries": { "@type": "TVSeries", "@id": "http://www.example.com/my_favorite_tv_show", "name": "My Favorite TV Show", },
如果動態饋給包含季別,您也必須在
partOfSeries
屬性中指定TVSeason
實體的TVSeries
實體。TVEpisode
實體要求您提供partOfSeason
屬性,以指定劇集TVSeason
實體的@id
和seasonNumber
。"partOfSeason": { "@type": "TVSeason", "@id": "http://www.example.com/my_favorite_tv_show/s7", "seasonNumber": 7 },
如果
TVEpisode
實體在動態饋給中沒有對應的TVSeason
實體,請按照下列步驟提供TVEpisode
實體的partOfSeason.@id
和partOfSeason.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
。- 擷取其
範例
TVSeries
我喜愛的電視節目
{
"@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":{ … },
...
}
TVSeason
My Favorite 電視節目 (第 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":{ … },
...
}
TVEpisode
《My Favorite TV》第 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": { … },
…
}
音樂
如果你是音樂串流供應商,就必須在媒體目錄動態饋給中加入 MusicGroup
、MusicAlbum
和 MusicRecording
實體類型。如需這些實體的定義,請參閱「瞭解可用的實體類型」一節,篩選這些類型。
播放種子實體的所有內容後,MusicGroup
、MusicAlbum
和 MusicRecording
可讓您的應用程式或平台播放播放清單 (MusicPlaylist
) 中的更多內容。請查看以下情境:
MusicAlbum
實體包含專輯 XYZ (種子實體) 中的歌曲清單。MusicPlaylist
實體包含與專輯 XYZ 中的歌曲類似的歌曲播放清單。MusicAlbum
實體包含MusicPlaylist
實體做為「實體種子動作」。
在此設定下,一旦播放 Album XYZ 中的所有歌曲,應用程式就能繼續播放 MusicPlaylist
實體提供的播放清單中的歌曲。
實體動作與實體種子動作
聆聽動作支援兩種動作:
- 實體動作:播放特定藝人、專輯或歌曲 (種子實體)。包括「
MusicGroup
」、「MusicAlbum
」和「MusicRecording
」。 - 實體種子動作:播放與種子實體相似的內容。其中包含「
MusicPlaylist
」。- 完成實體動作後,您的應用程式或平台可能會啟動實體種子動作。
- 實體種子動作包括播放種子實體的內容。
建議你在每個實體動作中加入實體種子動作。
找出關係
- 如果提供
MusicGroup
的實體種子動作,請找出MusicPlaylist
的@id
和name
。 - 對於
MusicAlbum
和MusicRecording
,您必須識別其所屬的MusicGroup
。- 識別其
MusicGroup
的@id
和name
。 - 如果提供實體種子動作,請找出其
MusicPlaylist
的@id
和name
。
- 識別其
- 針對
MusicPlaylist
,- 在適用情況下,請找出最能代表播放清單內容的
genre
。 - 如果播放清單是由手動收錄,請指明
numTracks
。- 缺少
numTracks
時,Google 就會知道這個播放清單是系統自動產生的無限播放清單。
- 缺少
- 在適用情況下,請找出最能代表播放清單內容的
範例
MusicGroup
- 藝人:我的最愛藝人
{
"@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":{ … },
},
...
}
MusicAlbum
- 專輯:我最愛的專輯
- 藝人:我的最愛藝人
{
"@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":{ … },
},
...
}
MusicRecording
- 歌曲: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":{ … },
},
...
}
MusicPlaylist
- 自訂播放清單:「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":{ … },
...
}
電視直播
如果你是直播電視供應商,就必須在媒體目錄動態饋給中加入 Organization
、BroadcastService
、CableOrSatelliteService
和 TelevisionChannel
實體類型來代表頻道首選頻道。您可能還需要提供 BroadcastEvent
、TVSeries
、TVEpisode
、Movie
和 SportsEvent
實體來代表相關的電子節目表 (電子節目規劃指南)。如需這些實體的定義,請參閱「瞭解可用的實體類型」一節,篩選這些類型。如需詳細說明,請前往「電視直播頻道」頁面。
代表直播電視頻道的實體之間的關係
下圖顯示 Organization
、BroadcastService
、CableOrSatelliteService
和 TelevisionChannel
實體的關聯性:
![直播電視頻道實體類型之間的連結](https://developers.google.cn/static/actions/media/images/image-live-tv-channel-01.jpg?authuser=0000&hl=zh-tw)
Organization
(運算子) 實體代表動態饋給供應商和CableOrSatelliteService
服務的上層機構,是使用CableOrSatelliteService
實體上的provider
屬性來連結。- 使用
BroadcastService
實體上的broadcastAffiliateOf
屬性連結與BroadcastService
實體相對應的Organization
實體。 TelevisionChannel
實體會使用inBroadcastLineup
屬性連線至代表其所屬首選頻道的CableOrSatelliteService
實體。TelevisionChannel
實體會使用providesBroadcastService
屬性,連結至頻道程式設計的BroadcastService
實體。
強烈建議你參閱「電視直播頻道」概念頁面,查看具體範例,瞭解須如何建立 BroadcastService 與 Organization 實體之間的關係。
頻道與節目規劃指南之間的關係 (EPG)
下圖顯示 BroadcastEvent
實體如何連結至動態饋給中其他實體。
![直播電視活動實體類型之間的連結](https://developers.google.cn/actions/media/images/image-live-tv-event-01.png?authuser=0000&hl=zh-tw)
BroadcastEvent
實體代表BroadcastService
的程式設計指南 (EPG),會透過BroadcastEvent
實體上的publishedOn
屬性與BroadcastService
實體連結。BroadcastEvent
實體也可以使用workPerformed
屬性連結至頂層TVEpisode
、TVSeries
、Movie
實體。BroadcastEvent
實體也可以使用broadcastOfEvent
屬性連結至頂層SportsEvent
實體。- 如果是線上串流無頻道活動,
BroadcastEvent
實體會根據正在進行的直播活動,透過workPerformed
或broadcastOfEvent
屬性與代表現場直播的實體建立關聯。在此情況下,不需要與頻道連線,因此不需要publishedOn
屬性。
範例
以下章節提供各種「觀看動作」用途的範例和程式碼片段。
網際網路上的全國電視服務供應商
組織
虛構的網際網路通訊協定電視服務供應商 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
這兩個 BroadcastService
實體針對虛構頻道 ExampleTV-Movie 和 ExampleTV-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
此 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
這 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
) 上播放。
BroadcastEvent
{
"@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"
}
}
BroadcastService
{
"@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"
}
]
}
如需更多範例,請參閱「電視直播活動範例」一節。
線上直播體育賽事直播
活動轉播
{
"@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"
}
]
}
如需更多範例,請參閱「運動範例」一節。