Reference ns.json as registry definition.
--- /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">