The Web Is Changing — From Strings to Things

8,361 views

Published on

Presented at APIdays 2014 in Paris, France.

Published in: Internet, Technology

The Web Is Changing — From Strings to Things

  1. <scripttype="application/ld+json"> { "@context": "http://schema.org", "@type": "MusicEvent", "name": "Preachers Son @ The Worksmans Club in Dublin…", "startDate": "2014-11-06T20:00:00", "location": { "@type": "Place", "name": "The Worksmans Club", "geo": { "@type": "GeoCoordinates", "latitude": 53.3848495, "longitude": -6.2614498 } }, "offers": ... ... } </script> { "@context": { "name": "http://schema.org/name", ... } }
  2. <scripttype="application/ld+json"> ... </script>
  3. http://example.com/events/apidays/attendees/ { "@context": "/context.jsonld", "@id": "/events/apidays/attendees/", "@type": "Collection", "member": [ ... ], ... "operation": { "@type": "http://schema.org/AddAction", } }
  4. { "@id": "Person", "@type": "Class", "supportedProperty": { "property": "name", "required": true } } http://example.com/events/apidays/attendees/ { "@context": "/context.jsonld", "@id": "/events/apidays/attendees/", "@type": "Collection", "member": [ ... ], ... "operation": { "@type": "AddAction", "method": "POST", "expects": "Person" } }

×