Added whitespace to examples to make them easier to read.
authorMarkus Lanthaler <mark_lanthaler@gmx.net>
Mon, 07 Nov 2011 13:19:25 +0800
changeset 263 ecca6311be8b
parent 262 abb798ef8a55
child 264 dab6f514cdc4
Added whitespace to examples to make them easier to read.
spec/latest/json-ld-syntax/index.html
--- a/spec/latest/json-ld-syntax/index.html	Mon Nov 07 13:10:51 2011 +0800
+++ b/spec/latest/json-ld-syntax/index.html	Mon Nov 07 13:19:25 2011 +0800
@@ -754,7 +754,7 @@
 <pre class="example" data-transform="updateExample">
 <!--
 {
-  ****"@context": ["http://example.org/json-ld-contexts/person", "http://example.org/json-ld-contexts/event"]****
+  ****"@context": [ "http://example.org/json-ld-contexts/person", "http://example.org/json-ld-contexts/event" ]****
   "name": "Manu Sporny",
   "homepage": "http://manu.sporny.org/",
   "avatar": "http://twitter.com/account/profile_image/manusporny"
@@ -870,7 +870,7 @@
 <pre class="example" data-transform="updateExample">
 <!--
 {
-  "****@context****": {"****name****": "****http://xmlns.com/foaf/0.1/name****"},
+  "****@context****": { "****name****": "****http://xmlns.com/foaf/0.1/name****" },
 ...
   "****name****": "Manu Sporny",
 ...
@@ -884,7 +884,7 @@
 <pre class="example" data-transform="updateExample">
 <!--
 {
-  "****@context****": {"****foaf****": "****http://xmlns.com/foaf/0.1/****"},
+  "****@context****": { "****foaf****": "****http://xmlns.com/foaf/0.1/****" },
 ...
   "****foaf:name****": "Manu Sporny",
 ...
@@ -1172,7 +1172,7 @@
 {
 ...
   "@subject": "http://example.org/people#joebob",
-  "nick": ****["joe", "bob", "jaybee"]****,
+  "nick": ****[ "joe", "bob", "jaybee" ]****,
 ...
 }
 -->
@@ -1250,7 +1250,7 @@
   {
   ...
     "@subject": "http://example.org/people#joebob",
-    "nick": ****["joe", "bob", "jaybee"]****,
+    "nick": ****[ "joe", "bob", "jaybee" ]****,
   ...
   }
   -->
@@ -1268,7 +1268,7 @@
   {
   ...
     "@subject": "http://example.org/people#joebob",
-    "foaf:nick": ****{"@list": ["joe", "bob", "jaybee"]}****,
+    "foaf:nick": ****{ "@list": [ "joe", "bob", "jaybee" ] }****,
   ...
   }
   -->
@@ -1284,12 +1284,12 @@
     ****"@context": {****
       ...
       ****"@coerce": {****
-        ****"@list": ["foaf:nick"]****
+        ****"@list": [ "foaf:nick" ]****
       ****}****
     ****}****,
   ...
     "@subject": "http://example.org/people#joebob",
-    "foaf:nick": ****["joe", "bob", "jaybee"]****,
+    "foaf:nick": ****[ "joe", "bob", "jaybee" ]****,
   ...
   }
   -->
@@ -1341,7 +1341,7 @@
 <pre class="example" data-transform="updateExample">
 <!--
 {
-  ****"@context": { "@base": "http://manu.sporny.org/"}****,
+  ****"@context": { "@base": "http://manu.sporny.org/" }****,
   "@subject": "about/",
   "http://xmlns.com/foaf/0.1/name": "Manu Sporny",
   "http://xmlns.com/foaf/0.1/homepage: ""
@@ -1399,7 +1399,7 @@
 <pre class="example" data-transform="updateExample">
 <!--
 {
-  ****"@context": { "@language": "ja"}****,
+  ****"@context": { "@language": "ja" }****,
 ...
   "name": ****"花澄"****
 ...
@@ -1618,7 +1618,7 @@
     ****"@coerce": {
       "age": "xsd:integer",
       "homepage": "@iri",
-      "currentProject": ["@iri", "@list"]
+      "currentProject": [ "@iri", "@list" ]
      }****
   },
   ...
@@ -1636,9 +1636,9 @@
     "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
     "xsd": "http://www.w3.org/2001/XMLSchema#",
     "name": "http://xmlns.com/foaf/0.1/name",
-    "age": ****{"@iri": "http://xmlns.com/foaf/0.1/age", "@coerce": "xsd:integer"}****,
-    "homepage": ****{"@iri": "http://xmlns.com/foaf/0.1/age", "@coerce": "@iri"}****,
-    "currentProject": ****{"@iri": "http://xmlns.com/foaf/0.1/currentProject", "@coerce": ["@iri", "@list"]}****,
+    "age": ****{ "@iri": "http://xmlns.com/foaf/0.1/age", "@coerce": "xsd:integer" }****,
+    "homepage": ****{ "@iri": "http://xmlns.com/foaf/0.1/age", "@coerce": "@iri" }****,
+    "currentProject": ****{ "@iri": "http://xmlns.com/foaf/0.1/currentProject", "@coerce": [ "@iri", "@list" ] }****,
   },
   ...
 }
@@ -1796,7 +1796,7 @@
   "@subject":       "#me",
   "@type":          "foaf:Person",
   "foaf:name":      "Manu Sporny",
-  "foaf:homepage":  {"@iri": ""}
+  "foaf:homepage":  { "@iri": "" }
 }
 -->
 </pre>
@@ -1829,7 +1829,7 @@
   "@subject":       "#me",
   "@type":          "foaf:Person",
   "foaf:name":      "Manu Sporny",
-  "foaf:knows":  {
+  "foaf:knows": {
     "@type":          "foaf:Person",
     "foaf:name":      "Gregg Kellogg"
   }
@@ -1860,7 +1860,7 @@
   "@subject":       "http://example.org/people#joebob",
   "@type":          "foaf:Person",
   "foaf:name":      "Joe Bob",
-  "foaf:nick":      {"@list": ["joe", "bob", "jaybe"]}
+  "foaf:nick":      { "@list": [ "joe", "bob", "jaybe" ] }
 }
 -->
 </pre>
@@ -1899,26 +1899,26 @@
 <pre class="example" data-transform="updateExample">
 <!--
 {
-  "@context": { "foaf": "http://xmlns.com/foaf/0.1/"},
+  "@context": { "foaf": "http://xmlns.com/foaf/0.1/" },
   "@subject": [
-   {
-     "@subject": "_:bnode1",
-     "@type": "foaf:Person",
-     "foaf:homepage": "http://example.com/bob/",
-     "foaf:name": "Bob"
-   },
-   {
-     "@subject": "_:bnode2",
-     "@type": "foaf:Person",
-     "foaf:homepage": "http://example.com/eve/",
-     "foaf:name": "Eve"
-   },
-   {
-     "@subject": "_:bnode3",
-     "@type": "foaf:Person",
-     "foaf:homepage": "http://example.com/manu/",
-     "foaf:name": "Manu"
-   }
+    {
+      "@subject": "_:bnode1",
+      "@type": "foaf:Person",
+      "foaf:homepage": "http://example.com/bob/",
+      "foaf:name": "Bob"
+    },
+    {
+      "@subject": "_:bnode2",
+      "@type": "foaf:Person",
+      "foaf:homepage": "http://example.com/eve/",
+      "foaf:name": "Eve"
+    },
+    {
+      "@subject": "_:bnode3",
+      "@type": "foaf:Person",
+      "foaf:homepage": "http://example.com/manu/",
+      "foaf:name": "Manu"
+    }
   ]
 }
 -->
@@ -2013,7 +2013,7 @@
     "http://purl.org/dc/terms/title": "Just a Geek",
     "http://purl.org/dc/terms/creator": "Whil Wheaton",
     "http://purl.org/vocab/frbr/core#realization":
-      ["http://purl.oreilly.com/products/9780596007683.BOOK", "http://purl.oreilly.com/products/9780596802189.EBOOK"]
+      [ "http://purl.oreilly.com/products/9780596007683.BOOK", "http://purl.oreilly.com/products/9780596802189.EBOOK" ]
   },
   {
     "@subject": "http://purl.oreilly.com/products/9780596007683.BOOK",