Copying some properties from existing types
authorYves Raimond <yves.raimond@bbc.co.uk>
Tue, 11 Dec 2012 14:04:53 +0000
changeset 46 f5a30bc1c1ca
parent 45 ce9b81b6e780
child 47 fc5258fcfcb5
Copying some properties from existing types
schema.org/ext/tvradio.html
--- a/schema.org/ext/tvradio.html	Tue Dec 11 11:58:58 2012 +0000
+++ b/schema.org/ext/tvradio.html	Tue Dec 11 14:04:53 2012 +0000
@@ -77,5 +77,34 @@
       <span>Subclass of: <a property="rdfs:subClassOf" href="http://schema.org/Series">Series</a></span>
     </div>
 
+    <!-- Properties borrowed from existing schema.org types -->
+
+    <!-- leaving actor, actors, director, musicBy out for now as we need to generalise them to radio -->
+    <!-- leaving partofTVSeries out as it should be superseeded by partOfSeries -->
+
+    <div typeof="rdf:Property" resource="http://schema.org/episodeNumber">
+      <span class="h" property="rdfs:label">episode number</span>
+      <span property="rdfs:comment">The episode number.</span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Episode">Episode</a></span>
+      <span>Range: <a property="http://schema.org/range" href="http://schema.org/Integer">Number</a></span>
+    </div>
+
+    <div typeof="rdf:Property" resource="http://scheam.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/Episode">Episode</a></span>
+      <span>Range: <a property="http://schema.org/range" href="http://schema.org/Season">Season</a></span>
+    </div>
+
+    <!-- New properties on episode, series and seasons -->
+
+    <div typeof="rdf:Property" resource="http://scheam.org/partOfSeries">
+      <span class="h" property="rdfs:label">part of series</span>
+      <span property="rdfs:comment">The season to which this episode or season belongs.</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/Season">Season</a></span>
+      <span>Range: <a property="http://schema.org/range" href="http://schema.org/Series">Series</a></span>
+    </div>
+
   </body>
 </html>