Changed xsd:anyURI to @iri.
authorDave Longley <dlongley@digitalbazaar.com>
Thu, 25 Aug 2011 14:16:30 -0400
changeset 184 92d373fbc22f
parent 183 e1166a3c1f4c
child 185 2486995b62b4
Changed xsd:anyURI to @iri.
playground/playground-examples.js
--- a/playground/playground-examples.js	Tue Aug 23 22:31:59 2011 -0400
+++ b/playground/playground-examples.js	Thu Aug 25 14:16:30 2011 -0400
@@ -24,7 +24,7 @@
          "xsd": "http://www.w3.org/2001/XMLSchema#",
          "@coerce":
          {
-            "xsd:anyURI": ["homepage"]
+            "@iri": ["homepage"]
          }
       }
    };
@@ -51,7 +51,7 @@
          "xsd": "http://www.w3.org/2001/XMLSchema#",
          "@coerce":
          {
-            "xsd:anyURI": ["image"],
+            "@iri": ["image"],
             "xsd:float": ["latitude", "longitude"]
          }
       }
@@ -102,7 +102,7 @@
          "xsd": "http://www.w3.org/2001/XMLSchema#",
          "@coerce":
          {
-            "xsd:anyURI": ["foaf:page", "gr:acceptedPaymentMethods", "gr:hasBusinessFunction"],
+            "@iri": ["foaf:page", "gr:acceptedPaymentMethods", "gr:hasBusinessFunction"],
             "xsd:float": ["gr:hasCurrencyValue"]
          }
       }
@@ -182,7 +182,7 @@
       {
          "@coerce": 
          {
-            "xsd:anyURI": "ex:contains"
+            "@iri": "ex:contains"
          },
          "dc": "http://purl.org/dc/elements/1.1/",
          "ex": "http://example.org/vocab#",