final hacking (nothing very substantive, lots of workarounds for fact that this patches existing vocab)
authordanbri <danbri@google.com>
Mon, 11 Nov 2013 17:11:34 +0100
changeset 134 9de607435e64
parent 133 fc09e465d53f
child 135 6746f4353abb
final hacking (nothing very substantive, lots of workarounds for fact that this patches existing vocab)
schema.org/ext/tvradio.html
--- a/schema.org/ext/tvradio.html	Sat Nov 09 19:35:48 2013 +0100
+++ b/schema.org/ext/tvradio.html	Mon Nov 11 17:11:34 2013 +0100
@@ -118,7 +118,10 @@
     <div typeof="rdf:Property" resource="http://schema.org/startDate">
       <span class="h" property="rdfs:label">start date</span>
       <!-- More precise description of the property -->
-      <span property="rdfs:comment">The first time that the initial episode of the Series or Season is broadcast.</span>
+
+      <!-- We wanted to say this, but due to flat namespace we have to wait for site tools to offer type-specific documentation strings.
+       <span property="rdfs:comment">The first time that the initial episode of the Series or Season is broadcast.</span> -->
+
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Series">Series</a></span>
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Season">Season</a></span>
       <span>Range: <a property="http://schema.org/range" href="http://schema.org/Date">Date</a></span>
@@ -127,7 +130,10 @@
     <div typeof="rdf:Property" resource="http://schema.org/endDate">
       <span class="h" property="rdfs:label">end date</span>
       <!-- More precise description of the property -->
-      <span property="rdfs:comment">The last time that the final episode of the Series or Season is broadcast.</span>
+
+      <!-- We wanted to say this, but due to flat namespace we have to wait for site tools to offer type-specific documentation strings.
+      <span property="rdfs:comment">The last time that the final episode of the Series or Season is broadcast.</span> -->
+
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Series">Series</a></span>
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Season">Season</a></span>
       <span>Range: <a property="http://schema.org/range" href="http://schema.org/Date">Date</a></span>
@@ -136,8 +142,12 @@
     <div typeof="rdf:Property" resource="http://schema.org/partOfSeason">
       <span class="h" property="rdfs:label">part of season</span>
       <span property="rdfs:comment">The season to which this episode belongs.</span>
-      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Clip">Clip</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Clip">Clip</a></span> <!-- we list all for a site implementation back-compatibility reason -->
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/TVClip">TVClip</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/RadioClip">RadioClip</a></span>
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Episode">Episode</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/TVEpisode">TVEpisode</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/RadioEpisode">RadioEpisode</a></span>
       <span>Range: <a property="http://schema.org/range" href="http://schema.org/Season">Season</a></span>
     </div>
 
@@ -146,18 +156,28 @@
     <div typeof="rdf:Property" resource="http://schema.org/partOfSeries">
       <span class="h" property="rdfs:label">part of series</span>
       <span property="rdfs:comment">The series to which this episode or season belongs.</span>
-      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Clip">Clip</a></span>
+
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Clip">Clip</a></span> <!-- we list all for a site implementation back-compatibility reason -->
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/TVClip">TVClip</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/RadioClip">RadioClip</a></span>
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Episode">Episode</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/TVEpisode">TVEpisode</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/RadioEpisode">RadioEpisode</a></span>
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Season">Season</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/TVSeason">TVSeason</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/RadioSeason">RadioSeason</a></span>
+
       <span>Range: <a property="http://schema.org/range" href="http://schema.org/Series">Series</a></span>
     </div>
 
     <div typeof="rdf:Property" resource="http://schema.org/partOfTVSeries">
       <span class="h" property="rdfs:label">part of TV series</span>
       <span property="rdfs:comment">The TV series to which this episode or season belongs. (legacy form; partOfSeries is preferred)</span>
+
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/TVClip">TVClip</a></span>
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/TVEpisode">TVEpisode</a></span>
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/TVSeason">TVSeason</a></span>
+
       <span>Range: <a property="http://schema.org/range" href="http://schema.org/TVSeries">TVSeries</a></span>
       <span>isReplacedBy: <a property="dct:isReplacedBy" href="http://schema.org/partOfSeries">partOfSeries</a></span>
     </div>
@@ -173,14 +193,14 @@
       <span class="h" property="rdfs:label">clip number</span>
       <span property="rdfs:comment">Position of the clip within an ordered group of clips.</span>
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Clip">Clip</a></span>
-      <span>Range: <a property="http://schema.org/range" href="http://schema.org/Integer">Number</a></span>
+      <span>Range: <a property="http://schema.org/range" href="http://schema.org/Integer">Integer</a></span>
     </div>
 
     <div typeof="rdf:Property" resource="http://schema.org/seasonNumber">
       <span class="h" property="rdfs:label">season number</span>
       <span property="rdfs:comment">Position of the season within an ordered group of seasons.</span>
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Season">Season</a></span>
-      <span>Range: <a property="http://schema.org/range" href="http://schema.org/Integer">Number</a></span>
+      <span>Range: <a property="http://schema.org/range" href="http://schema.org/Integer">Integer</a></span>
     </div>
 
     <div typeof="rdf:Property" resource="http://schema.org/position">
@@ -291,9 +311,14 @@
     <div typeof="rdf:Property" resource="http://schema.org/actor">
       <span class="h" property="rdfs:label">actor</span>
       <span property="rdfs:comment">A cast member of the movie, tv/radio series, season, episode, or video.</span>
+
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Movie">Movie</a></span>
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Series">Series</a></span>
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Episode">Episode</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/RadioSeries">RadioSeries</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/RadioEpisode">RadioEpisode</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/TVSeries">TVSeries</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/TVEpisode">TVEpisode</a></span>
       <span>Range: <a property="http://schema.org/range" href="http://schema.org/Person">Person</a></span>
     </div>
 
@@ -303,6 +328,10 @@
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Movie">Movie</a></span>
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Series">Series</a></span>
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Episode">Episode</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/RadioSeries">RadioSeries</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/RadioEpisode">RadioEpisode</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/TVSeries">TVSeries</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/TVEpisode">TVEpisode</a></span>
       <span>Range: <a property="http://schema.org/range" href="http://schema.org/Person">Person</a></span>
       <span>isReplacedBy: <a property="dct:isReplacedBy" href="http://schema.org/actor">actor</a></span>
     </div>
@@ -316,6 +345,10 @@
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Movie">Movie</a></span>
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Series">Series</a></span>
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Episode">Episode</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/RadioSeries">RadioSeries</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/RadioEpisode">RadioEpisode</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/TVSeries">TVSeries</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/TVEpisode">TVEpisode</a></span>
       <span>Range: <a property="http://schema.org/range" href="http://schema.org/Person">Person</a></span>
     </div>
 
@@ -325,6 +358,10 @@
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Movie">Movie</a></span>
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Series">Series</a></span>
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Episode">Episode</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/RadioSeries">RadioSeries</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/RadioEpisode">RadioEpisode</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/TVSeries">TVSeries</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/TVEpisode">TVEpisode</a></span>
       <span>Range: <a property="http://schema.org/range" href="http://schema.org/Person">Person</a></span>
       <span>isReplacedBy: <a property="dct:isReplacedBy" href="http://schema.org/director">director</a></span>
     </div>
@@ -337,6 +374,10 @@
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Movie">Movie</a></span>
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Series">Series</a></span>
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Episode">Episode</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/RadioSeries">RadioSeries</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/RadioEpisode">RadioEpisode</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/TVSeries">TVSeries</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/TVEpisode">TVEpisode</a></span>
       <span>Range: <a property="http://schema.org/range" href="http://schema.org/Person">Person</a></span>
       <span>Range: <a property="http://schema.org/range" href="http://schema.org/MusicGroup">MusicGroup</a></span>
     </div>
@@ -349,6 +390,10 @@
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Series">Series</a></span>
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Season">Season</a></span>
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Episode">Episode</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/RadioSeries">RadioSeries</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/RadioEpisode">RadioEpisode</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/TVSeries">TVSeries</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/TVEpisode">TVEpisode</a></span>
       <span>Range: <a property="http://schema.org/range" href="http://schema.org/Person">Person</a></span>
     </div>
 
@@ -360,6 +405,12 @@
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Series">Series</a></span>
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Season">Season</a></span>
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Episode">Episode</a></span>
+
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/RadioSeries">RadioSeries</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/RadioEpisode">RadioEpisode</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/TVSeries">TVSeries</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/TVEpisode">TVEpisode</a></span>
+
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/MediaObject">MediaObject</a></span>
       <span>Range: <a property="http://schema.org/range" href="http://schema.org/Organization">Organization</a></span>
     </div>
@@ -384,17 +435,21 @@
     <!-- episode / episodes -->
     <div typeof="rdf:Property" resource="http://schema.org/episode">
       <span class="h" property="rdfs:label">episode</span>
-      <span property="rdfs:comment">An episode of a TV series or season.</span>
+      <span property="rdfs:comment">An episode of a TV/radio series or season.</span>
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Series">Series</a></span>
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Season">Season</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/RadioSeries">RadioSeries</a></span> <!-- adding as a work-around because we already show TV as a domain, for back compatibility reasons. -->
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/RadioSeason">RadioSeason</a></span>
       <span>Range: <a property="http://schema.org/range" href="http://schema.org/Episode">Episode</a></span>
     </div>
 
     <div typeof="rdf:Property" resource="http://schema.org/episodes">
       <span class="h" property="rdfs:label">episodes</span>
-      <span property="rdfs:comment">An episode of a TV series or season. (legacy spelling; see singular form, episode)</span>
+      <span property="rdfs:comment">An episode of a TV/radio series or season. (legacy spelling; see singular form, episode)</span>
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Series">Series</a></span>
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Season">Season</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/RadioSeries">RadioSeries</a></span> <!-- adding as a work-around because we already show TV as a domain, for back compatibility reasons. -->
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/RadioSeason">RadioSeason</a></span>
       <span>Range: <a property="http://schema.org/range" href="http://schema.org/Episode">Episode</a></span>
       <span>isReplacedBy: <a property="dct:isReplacedBy" href="http://schema.org/episode">episode</a></span>
     </div>
@@ -406,6 +461,8 @@
       <span class="h" property="rdfs:label">season</span>
       <span property="rdfs:comment">A season in a tv/radio series.</span>
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Series">Series</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/TVSeries">TVSeries</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/RadioSeries">RadioSeries</a></span>
       <span>Range: <a property="http://schema.org/range" href="http://schema.org/Season">Season</a></span>
     </div>
 
@@ -413,6 +470,8 @@
       <span class="h" property="rdfs:label">seasons</span>
       <span property="rdfs:comment">A season in a tv/radio series. (legacy spelling; see singular form, season)</span>
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Series">Series</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/TVSeries">TVSeries</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/RadioSeries">RadioSeries</a></span>
       <span>Range: <a property="http://schema.org/range" href="http://schema.org/Season">Season</a></span>
       <span>isReplacedBy: <a property="dct:isReplacedBy" href="http://schema.org/season">season</a></span>
     </div>
@@ -422,9 +481,19 @@
       <span class="h" property="rdfs:label">trailer</span>
       <span property="rdfs:comment">The trailer of a movie or tv/radio series, season, or episode.</span>
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Movie">Movie</a></span>
+
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Series">Series</a></span>
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Season">Season</a></span>
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Episode">Episode</a></span>
+
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/TVSeries">TVSeries</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/TVSeason">TVSeason</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/TVEpisode">TVEpisode</a></span>
+
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/RadioSeries">RadioSeries</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/RadioSeason">RadioSeason</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/RadioEpisode">RadioEpisode</a></span>
+
       <span>Range: <a property="http://schema.org/range" href="http://schema.org/VideoObject">VideoObject</a></span>
     </div>