Re: Review: JSON-LD Syntax

Syntax error:

second example of 4.3 has several missing or misplaced commas:

{
   "@context":
   [
     "http://json-ld.org/contexts/person.jsonld",
     {
       "foaf": "http://xmlns.com/foaf/0.1/"
     },
     "http://json-ld.org/contexts/event.jsonld" ,
                                        Remove:^^^
   ] ,
Add^^^
   "name": "Manu Sporny",
   "homepage": "http://manu.sporny.org/",
   "depiction": "http://twitter.com/account/profile_image/manusporny" ,
                                                                  Add^^^
   "celebrates":
   {
     "@type": "Event",
     "description": "International Talk Like a Pirate Day",
     "date": "R/2011-09-19"
   }
}

and it does not use "foaf:" which is a bit confusing.

  Andy

Received on Monday, 18 June 2012 08:23:08 UTC