Encje wydarzeń telewizyjnych na żywo umożliwiają Google identyfikowanie treści Media Actions, które są emitowane na kanale telewizyjnym lub transmitowane na żywo w internecie. Dzięki informacjom o wydarzeniach w telewizji na żywo Google może pomagać użytkownikom w przeglądaniu, odkrywaniu i oglądaniu programów telewizyjnych, filmów, codziennych wiadomości i innych wydarzeń na żywo, które są transmitowane w czasie rzeczywistym w Twojej aplikacji lub na Twojej platformie. Google TV wyświetla ten elektroniczny przewodnik po programach w różnych miejscach, np. na karcie „Teraz w telewizji”.
Jeśli na przykład Google wie, że MójUlubionyFilm, MójUlubionySerial i mecz MojejUlubionejDrużynyKoszykarskiej są transmitowane na kanale telewizyjnym, może lepiej rozpoznać kontekst tych zapytań i skierować użytkowników do Twojej aplikacji lub platformy:
- „OK Google, włącz MyFavoriteMovie”
- „OK Google, włącz MyFavoriteTVShow”
- „OK Google, włącz mecz MyFavoriteBasketballTeam”
Typy elementów wydarzeń telewizji na żywo
Encja BroadcastEvent to reprezentacja schema.org przedziału czasowego programu w kanale telewizyjnym lub w internecie. Zawiera harmonogram emisji programu (Movie, TVSeries lub TVEpisode) lub SportsEvent oraz inne szczegóły, takie jak czas rozpoczęcia i zakończenia oraz kanał, na którym treści będą emitowane (jeśli dotyczy). Może to być na przykład przedział czasowy od 18:00 do 21:00 w czwartek na kanale telewizyjnym „24 Hour Free Movies”, gdy emitowany jest film „X-Men”.
Rysunek 1 pokazuje, jak element BroadcastEvent łączy się z pozostałymi elementami w pliku danych.
W zależności od typu treści i medium, w którym są nadawane, musisz użyć innego zestawu właściwości w BroadcastEvent, aby podać szczegóły treści i zidentyfikować precyzyjny link. Rozważmy te 3 scenariusze:
| Scenariusz | Przykład |
|---|---|
Scenario 1 |
Program telewizyjny lub film jest emitowany na kanale telewizyjnym. |
Scenario 2 |
Wydarzenie sportowe (np. mecz piłki nożnej na żywo) jest transmitowane na żywo na kanale telewizyjnym. |
Scenario 3 |
Wydarzenie sportowe jest transmitowane na żywo w internecie. |
Opis treści
Oprócz rejestrowania czasu wydarzenia i kanału, na którym będzie ono transmitowane, element BroadcastEvent odwołuje się również (za pomocą właściwości workPerformed lub broadcastOfEvent) do elementu najwyższego poziomu TVSeries, TVEpisode, Movie lub SportsEvent ze szczegółowymi metadanymi. Google może wykorzystywać informacje o tych elementach, aby zwiększyć wygodę użytkowników. Google może na przykład wykorzystać image lub contentRatings podane w tych elementach, aby wzbogacić kartę Na żywo w Google TV.
Jeśli treścią jest serial, program telewizyjny lub film, użyj właściwości
workPerformed, aby uwzględnić elementMovie,TVSerieslubTVEpisode(scenariusz 1)."workPerformed": { "@type": "TVEpisode", "@id": "http://example.com/tv_series/my_favorite_tv_series/s6/e2_three_mice" }Jeśli treści dotyczą wydarzenia sportowego, użyj właściwości
broadcastOfEvent, aby uwzględnić elementSportsEvent(scenariusz 2 i 3)."broadcastOfEvent": { "@type": "SportsEvent", "@id": "http://example.com/basketball/professional/final_game_6" }Jeśli kanał nie nadaje między wydarzeniami lub na początku i na końcu harmonogramu, ustaw właściwość
offAirnatrue, aby wskazać, że w danym przedziale czasowym nie ma żadnych programów i kanał nie nadaje. Ustaw też encjenameidescriptionna"Off Air". Gdy właściwośćoffAirma wartośćtrue, nie jest wymagana właściwośćworkPerformedanibroadcastOfEvent. Każdy interwałoffAirmusi wynosić maksymalnie 4 godziny (nie emituj 24-godzinnych bloków ciągłych). Jeśli kanał nie nadaje przez ponad 4 godziny, podaj kilka ciągłych, niepokrywających się elementówBroadcastEvent, z których każdy trwa maksymalnie 4 godziny, aby każdy elementBroadcastServicezachował pełny harmonogram 24/7 w całym oknie kanału (i zachowaj wydarzenia, które są nadal emitowane na początku okna kanału, przez nakładanie się, a nie filtrowanie ściśle wedługstartDate)."name": "Off Air", "description": "Off Air", "offAir": trueJeśli wiesz, że kanał nie jest wyłączony, ale nie znasz programu dla danego przedziału czasowego, ustaw właściwość
contentToBeAnnouncednatrue, aby wskazać, że nie ma dostępnych informacji o danym przedziale czasowym. Ustaw też encjenameidescriptionjako „Treści, które zostaną ogłoszone”. Gdy właściwośćcontentToBeAnnouncedma wartość „true”, właściwościworkPerformedibroadcastOfEventnie są wymagane."name": "Content To Be Announced", "description": "Content To Be Announced", "contentToBeAnnounced": trueJeśli nie masz wystarczającej ilości metadanych, aby utworzyć encję najwyższego poziomu, do której można się odwoływać za pomocą właściwości
workPerformedlubbroadcastOfEvent, możesz utworzyć encjęBroadcastEventbez podawania właściwościworkPerformed,broadcastOfEvent,offAiranicontentToBeAnnounced. W takich przypadkach elementBroadcastEventpowinien zawierać jak najwięcej dostępnych informacji. Na przykład, jeśli nie ma wystarczającej ilości metadanych do utworzenia elementuMovie, do którego można się odwołać w elemencieBroadcastEvent, elementcontentRatinglubimagemożna dodać bezpośrednio do elementuBroadcastEvent.
Medium nadawcze
Treści mogą być transmitowane na kanale telewizyjnym (BroadcastService) lub transmitowane na żywo w internecie (WatchAction):
Kanał telewizyjny: jeśli treści są emitowane na kanale telewizyjnym, użyj właściwości
publishedOn, aby uwzględnić elementBroadcastService(scenariusz 1 i 2)."publishedOn": { "@type": "BroadcastService", "@id": "http://example.com/stations/example_tv" }Wydarzenie bez kanału (samodzielne): jeśli
SportsEventjest transmitowane na żywo online bez telewizji linearnej (scenariusz 3), pomiń właściwośćpublishedOnwBroadcastEventi podaj precyzyjny link (potentialAction) bezpośrednio w encjiSportsEvent(nigdy wBroadcastEvent). Zobacz przykład SportsEvent – mecz bokserski (wydarzenie transmitowane). (PodajBroadcastEvent.potentialActiontylko w przypadku samodzielnych transmisji na żywo bez kanału, które nie odwołują się doSportsEvent, takich jak treści dodatkowe na żywo).
Przykłady
Transmisja filmu na kanale telewizyjnym
Film jest emitowany w sieci telewizyjnej Example TV (BroadcastService) 12 lipca 2019 r. między 17:00 a 19:00 czasu pacyficznego.
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-07:00",
"endDate": "2019-07-12T19:00-07: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",
"@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",
"identifier": "example.com:basic",
"commonTier": false
},
"eligibleRegion": [
{
"@type": "Country",
"name": "US"
}
]
}
}
}
Film
{
"@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"
}
]
}
Transmisja filmu, który jest też dostępny na żądanie, na kanale telewizyjnym
Film jest emitowany w sieci telewizyjnej Example TV (BroadcastService) 12 lipca 2019 r. między 17:00 a 19:00. Film jest też dostępny na żądanie
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",
"@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",
"identifier": "example.com:basic",
"commonTier": false
},
"eligibleRegion": [
{
"@type": "Country",
"name": "US"
}
]
}
}
}
Film
{
"@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",
"potentialAction": {
"@type": "WatchAction",
"target": {
"@type": "EntryPoint",
"urlTemplate": "http://www.example.com/my_favorite_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",
"availabilityStarts": "2018-07-21T10:35:29Z",
"availabilityEnds": "2019-10-21T10:35:29Z",
"requiresSubscription": {
"@type": "MediaSubscription",
"name": "Example Package",
"commonTier": true,
"@id": "http://www.example.com/example_package"
},
"eligibleRegion": [
{
"@type": "Country",
"name": "US"
},
{
"@type": "Country",
"name": "CA"
}
]
}
},
"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"
}
]
}
Emisja odcinka serialu telewizyjnego na kanale telewizyjnym
Odcinek serialu telewizyjnego jest emitowany w sieci telewizyjnej Example TV (BroadcastService) 12 października 2019 r. między 21:00 a 21:30.
BroadcastEvent
{
"@context": ["http://schema.org", {"@language": "en"}],
"@type": "BroadcastEvent",
"@id": "http://example.com/live/event/my_favorite_tv_series/new_episode",
"name": "My Favorite TV Series - Season 6 - Episode 2 - Three Mice",
"description": "Three mice leave the town and the trip turns into something more.",
"startDate": "2019-10-12T21:00-08:00",
"endDate": "2019-10-12T21:30-08:00",
"videoFormat": "HD",
"isLiveBroadcast": false,
"publishedOn": {
"@type": "BroadcastService",
"@id": "http://example.com/stations/example_tv"
},
"workPerformed": {
"@type": "TVEpisode",
"@id": "http://www.example.com/my_favorite_tv_show/s6/e2"
}
}
BroadcastService
{
"@context":"http://schema.org",
"@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",
"identifier": "example.com:basic",
"commonTier": false
},
"eligibleRegion": [
{
"@type": "Country",
"name": "US"
}
]
}
}
}
TVEpisode
{
"@context": ["http://schema.org", {"@language": "en"}],
"@type": "TVEpisode",
"@id": "http://www.example.com/my_favorite_tv_show/s6/e2",
"url": "http://www.example.com/my_favorite_tv_show/s6/e2",
"name": "My Favorite TV Series - Season 6 - Episode 2 - Three Mice",
"sameAs": "https://en.wikipedia.org/wiki/my_favorite_show/s6/e2",
"episodeNumber": 2,
"partOfSeason": {
"@type": "TVSeason",
"@id": "http://www.example.com/my_favorite_tv_show/s6",
"seasonNumber": 6
},
"partOfSeries": {
"@type": "TVSeries",
"@id": "http://www.example.com/my_favorite_tv_show",
"name": "My Favorite TV Show",
"sameAs": "https://en.wikipedia.org/wiki/my_favorite_tv_show"
},
"releasedEvent": {
"@type": "PublicationEvent",
"startDate": "2014-01-09",
"location": {
"@type": "Country",
"name": "US"
}
},
"popularityScore": {
"@type": "PopularityScoreSpecification",
"value": 3.9,
"eligibleRegion": "EARTH"
},
"description": "Three Mice return to the village three years after his disappearance.",
"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": "tt3453320"
}
}
Transmisja codziennych wiadomości na kanale telewizyjnym
Codzienny program informacyjny, który można przedstawić jako encję TVSeries bez odcinków, jest transmitowany na żywo w sieci telewizyjnej Example TV (BroadcastService).
BroadcastEvent
{
"@context": ["http://schema.org", {"@language": "en"}],
"@type": "BroadcastEvent",
"@id": "http://example.com/live/news/my_favorite_daily_news",
"name": "My Favorite Daily News",
"description": "Example TV's daily evening news program.",
"startDate": "2019-07-12T20:00-08:00",
"endDate": "2019-07-12T21:00-08:00",
"videoFormat": "HD",
"isLiveBroadcast": true,
"publishedOn": {
"@type": "BroadcastService",
"@id": "http://example.com/stations/example_tv"
},
"workPerformed": {
"@type": "TVSeries",
"@id": "http://example.com/news/my_favorite_daily_news"
}
}
BroadcastService
{
"@context":"http://schema.org",
"@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",
"identifier": "example.com:basic",
"commonTier": false
},
"eligibleRegion": [
{
"@type": "Country",
"name": "US"
}
]
}
}
}
TVSeries
{
"@context": ["http://schema.org", {"@language": "en"}],
"@type": "TVSeries",
"@id": "http://example.com/news/my_favorite_daily_news",
"url": "http://example.com/news/my_favorite_daily_news",
"name": "My Favorite Daily News",
"description": "Example TV's daily evening news program.",
"sameAs": "https://en.wikipedia.org/wiki/my_favorite_daily_news",
"popularityScore": {
"@type": "PopularityScoreSpecification",
"value": 4.1,
"eligibleRegion": [
{
"@type": "Country",
"name": "US"
},
{
"@type": "Country",
"name": "CA"
}
]
},
"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": "tt0903747"
}
]
}
Transmisja meczu koszykówki na kanale telewizyjnym
Mecz mistrzowski profesjonalnej ligi koszykówki jest transmitowany na żywo w sieci telewizyjnej Example TV (BroadcastService).
BroadcastEvent
{
"@context": ["http://schema.org", {"@language": "en"}],
"@type": "BroadcastEvent",
"@id": "http://example.com/live/event/basketball/final_game_6",
"name": "2019 Professional Basketball Finals, Game 6: Team A at Team B",
"startDate": "2019-06-16T20:00-08:00",
"endDate": "2019-06-16T23:00-08:00",
"videoFormat": "HD",
"isLiveBroadcast": true,
"publishedOn": {
"@type": "BroadcastService",
"@id": "http://example.com/stations/example_tv"
},
"broadcastOfEvent": {
"@type": "SportsEvent",
"@id": "http://example.com/basketball/professional/final_game_6"
},
"location": {
"@type": "Country",
"name": "US"
}
}
SportsEvent
{
"@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 at 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."
},
{
"@language": "es",
"@value": "Finales de Baloncesto Profesional 2019, Juego 6: Equipo A contra Equipo B."
}
],
"startDate": "2019-06-16T20:00-08:00",
"endDate": "2019-06-16T23:00-08:00",
"homeTeam": {
"@type": "SportsTeam",
"name": "Team B",
"sport": "https://en.wikipedia.org/wiki/Basketball",
"parentOrganization": {
"@type": "SportsOrganization",
"name": "Professional Basketball League",
"sameAs": "https://en.wikipedia.org/wiki/National_Basketball_Association"
},
"athlete": [
{
"@type": "Person",
"name": "John Doe"
}
]
},
"awayTeam": {
"@type": "SportsTeam",
"name": "Team A",
"sport": "https://en.wikipedia.org/wiki/Basketball",
"parentOrganization": {
"@type": "SportsOrganization",
"name": "Professional Basketball League",
"sameAs": "https://en.wikipedia.org/wiki/National_Basketball_Association"
},
"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"
}
}
}
BroadcastService
{
"@context":"http://schema.org",
"@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",
"identifier": "example.com:basic",
"commonTier": false
},
"eligibleRegion": [
{
"@type": "Country",
"name": "US"
}
]
}
}
}
Transmisja meczu bokserskiego w internecie
Popularny mecz bokserski jest transmitowany na żywo w internecie jako wydarzenie bez kanału, a precyzyjny link WatchAction jest umieszczony w encji SportsEvent.
BroadcastEvent
{
"@context": ["http://schema.org", {"@language": "en"}],
"@type": "BroadcastEvent",
"@id": "http://example.com/live/event/20190616/johndoe_vs_janedoe",
"name": "2019 Professional Boxing - John Doe vs Jane Doe",
"startDate": "2019-06-16T21:00-08:00",
"endDate": "2019-06-16T23:30-08:00",
"videoFormat": "HD",
"isLiveBroadcast": true,
"broadcastOfEvent": {
"@type": "SportsEvent",
"@id": "http://example.com/boxing/johndoe_vs_janedoe_2019"
},
"location": {
"@type": "Country",
"name": "US"
}
}
SportsEvent
{
"@context": ["http://schema.org", {"@language": "en"}],
"@type": "SportsEvent",
"@id": "http://example.com/boxing/johndoe_vs_janedoe_2019",
"name": "2019 Professional Boxing - John Doe vs Jane Doe",
"sport": "https://en.wikipedia.org/wiki/Boxing",
"description": "World champion Jane Doe fights undefeated John Doe at the Example Arena in Mountain View, California.",
"startDate": "2019-06-16T21:00-08:00",
"endDate": "2019-06-16T23:30-08:00",
"competitor": [
{
"@type": "Person",
"name": "Jane Doe",
"birthDate": "1977-12-14",
"gender": "F",
"nationality": "US"
},
{
"@type": "Person",
"name": "John Doe",
"birthDate": "1978-10-17",
"gender": "M",
"nationality": "GB"
}
],
"location": {
"@type": "Place",
"name": "Example Arena",
"address": {
"@type": "PostalAddress",
"streetAddress": "1600 Amphitheatre Pkwy",
"addressLocality": "Mountain View",
"addressRegion": "CA",
"postalCode": "94043",
"addressCountry": "US"
}
},
"potentialAction": {
"@type": "WatchAction",
"target": {
"@type": "EntryPoint",
"urlTemplate": "http://www.example.com/premium/johndoe_vs_janedoe",
"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": "2019-06-02T21:00-08:00",
"availabilityEnds": "2019-06-17T02:30-08:00",
"requiresSubscription": {
"@type": "MediaSubscription",
"@id": "http://www.example.com/premium_subscription",
"name": "Example Premium",
"sameAs": "http://www.example.com/premium_subscription",
"commonTier": true
},
"eligibleRegion": [
{
"@type": "Country",
"name": "US"
},
{
"@type": "Country",
"name": "CA"
}
]
}
}
}