Added registry example.
authorGregg Kellogg <gregg@kellogg-assoc.com>
Thu, 17 Nov 2011 10:53:54 -0800
changeset 30 0d6b89f5befb
parent 29 1d432d306062
child 31 337fc1ad6526
Added registry example.
microdata-rdf/index.html
--- a/microdata-rdf/index.html	Thu Nov 17 10:06:17 2011 -0800
+++ b/microdata-rdf/index.html	Thu Nov 17 10:53:54 2011 -0800
@@ -412,14 +412,6 @@
     provides methods and attributes for retrieving microdata from the HTML DOM.
   <p>For reference, attributes used for specifying and retrieving HTML microdata are referenced here:</p>
   <dl>
-    <dt><adef>datetime</adef></dt><dd>
-      An attribute appropriate for use with the <code>time</code> element used to create an <tref>typed literal</tref>
-      value for
-      <code><cite><a href="http://www.w3.org/TR/2011/WD-microdata-20110525/#dom-itemvalue">element.itemValue</a></cite></code>
-      with a datatype depending on its syntax.
-      (See <cite><a href="http://dev.w3.org/html5/spec/Overview.html#the-time-element">The <code>time</code> element</a></cite>
-      in [[!HTML5]]).
-    </dd>
     <dt><adef>itemid</adef></dt><dd>
       An attribute containing a URL used to identify the subject of triples associated with this <tref>item</tref>.
       (See <cite><a href="http://www.w3.org/TR/2011/WD-microdata-20110525/#attr-itemid">Items</a></cite>
@@ -858,6 +850,7 @@
           <dd>
             The value is a <tref>URI reference</tref> created from <code><cite>
               <a href="http://www.w3.org/TR/2011/WD-microdata-20110525/#dom-itemvalue">element.itemValue</a></cite></code>.
+              (See relevant attribute descriptions in [[!HTML5]]).
           </dd>
           <dt>If the element is a <code>time</code> element.</dt>
           <dd>The value is a <tref>literal</tref> made from <code><cite>
@@ -905,6 +898,11 @@
                 of the property element.
               </dd>
             </dl>
+            <p>See
+              <cite><a href="http://dev.w3.org/html5/spec/Overview.html#the-time-element">
+                The <code>time</code> element
+              </a></cite>
+              in [[!HTML5]].</p>
             <div class="issue">
               The content model of the <code>time</code> element is subject to change, and may include
               more content types, such as <code>xsd:duration</code>, <code>xsd:gYear</code>, <code>xsd:gYearMonth</code>
@@ -1404,6 +1402,55 @@
 
 </section>
 
+<section calss="appendix informative">
+  <h1>Example <tref>registry</tref></h1>
+  <p>The following is an example <tref>registry</tref> in JSON format.</p>
+
+  <pre class="example" data-transform="updateExample">
+<!--
+{
+  "http://schema.org/": {
+    "propertyURI":    "vocabulary",
+    "multipleValues": "unordered",
+    "properties": {
+      "blogPosts": "list",
+      "breadcrumb": "list",
+      "byArtist": "list",
+      "creator": "list",
+      "episodes": "list",
+      "events": "list",
+      "founders": "list",
+      "itemListElement", "list",
+      "musicGroupMember": "list",
+      "performerIn": "list",
+      "performers": "list",
+      "producer": "list",
+      "recipeInstructions": "list",
+      "seasons": "list",
+      "subEvents": "list",
+      "tracks": "list"
+    }
+  },
+  "http://microformats.org/profile/hcard": {
+    "propertyURI":    "vocabulary",
+    "multipleValues": "unordered"
+  },
+  "http://microformats.org/profile/hcalendar#": {
+    "propertyURI":    "vocabulary",
+    "multipleValues": "unordered",
+    "properties": {
+      "categories": "list"
+    }
+  },
+  "http://n.whatwg.org/work": {
+    "propertyURI":    "contextual",
+    "multipleValues": "list"
+  }
+}
+-->
+  </pre>
+</p>
+
 <section class="appendix informative">
   <h1>Acknowledgements</h1>
   <p>Thanks to Richard Cyganiak for property URI and vocabulary terminology and the general excellent