Reference ns.json as registry definition.
authorGregg Kellogg <gregg@kellogg-assoc.com>
Fri, 18 Nov 2011 14:37:05 -0800
changeset 37 bc71644684d3
parent 36 9acf3892d8d2
child 38 d2b7c65dd941
Reference ns.json as registry definition.
microdata-namespace/ns.json
microdata-rdf/index.html
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/microdata-namespace/ns.json	Fri Nov 18 14:37:05 2011 -0800
@@ -0,0 +1,39 @@
+{
+  "http://schema.org/": {
+    "propertyURI":    "vocabulary",
+    "multipleValues": "unordered",
+    "properties": {
+      "blogPosts": {"multipleValues": "list"},
+      "breadcrumb": {"multipleValues": "list"},
+      "byArtist": {"multipleValues": "list"},
+      "creator": {"multipleValues": "list"},
+      "episodes": {"multipleValues": "list"},
+      "events": {"multipleValues": "list"},
+      "founders": {"multipleValues": "list"},
+      "itemListElement": {"multipleValues": "list"},
+      "musicGroupMember": {"multipleValues": "list"},
+      "performerIn": {"multipleValues": "list"},
+      "performers": {"multipleValues": "list"},
+      "producer": {"multipleValues": "list"},
+      "recipeInstructions": {"multipleValues": "list"},
+      "seasons": {"multipleValues": "list"},
+      "subEvents": {"multipleValues": "list"},
+      "tracks": {"multipleValues": "list"}
+    }
+  },
+  "http://microformats.org/profile/hcard": {
+    "propertyURI":    "vocabulary",
+    "multipleValues": "unordered"
+  },
+  "http://microformats.org/profile/hcalendar#": {
+    "propertyURI":    "vocabulary",
+    "multipleValues": "unordered",
+    "properties": {
+      "categories": {"multipleValues": "list"}
+    }
+  },
+  "http://n.whatwg.org/work": {
+    "propertyURI":    "contextual",
+    "multipleValues": {"multipleValues": "list"}
+  }
+}
--- a/microdata-rdf/index.html	Fri Nov 18 14:33:05 2011 -0800
+++ b/microdata-rdf/index.html	Fri Nov 18 14:37:05 2011 -0800
@@ -1449,49 +1449,8 @@
   <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": {"multipleValues": "list"},
-      "breadcrumb": {"multipleValues": "list"},
-      "byArtist": {"multipleValues": "list"},
-      "creator": {"multipleValues": "list"},
-      "episodes": {"multipleValues": "list"},
-      "events": {"multipleValues": "list"},
-      "founders": {"multipleValues": "list"},
-      "itemListElement": {"multipleValues": "list"},
-      "musicGroupMember": {"multipleValues": "list"},
-      "performerIn": {"multipleValues": "list"},
-      "performers": {"multipleValues": "list"},
-      "producer": {"multipleValues": "list"},
-      "recipeInstructions": {"multipleValues": "list"},
-      "seasons": {"multipleValues": "list"},
-      "subEvents": {"multipleValues": "list"},
-      "tracks": {"multipleValues": "list"}
-    }
-  },
-  "http://microformats.org/profile/hcard": {
-    "propertyURI":    "vocabulary",
-    "multipleValues": "unordered"
-  },
-  "http://microformats.org/profile/hcalendar#": {
-    "propertyURI":    "vocabulary",
-    "multipleValues": "unordered",
-    "properties": {
-      "categories": {"multipleValues": "list"}
-    }
-  },
-  "http://n.whatwg.org/work": {
-    "propertyURI":    "contextual",
-    "multipleValues": {"multipleValues": "list"}
-  }
-}
--->
-  </pre>
+  <pre class="example" data-include="../microdata-namespace/ns.json">
+  <pre>
 </p>
 
 <section class="appendix informative">