RE: POI data model examples serialised as JSON, XML, HTML5 & KML

I've created an example02 draft to integrate some of the feedback and to
make some updates on things that didn't quite look right.

http://mob-labs.com/poiwg/example02/index.html

I've changed the json example to add a top level key called pois and
turned what was the pois array into a poi object were each poi inside it
is keyed by id.  Some people like to repeat the id inside the object
too.  This seems like data duplication to me but I'd be interested in
people's thoughts here.

I've updated the html5 embedded example to make the location elements
work in what looks like a better way.  Let me know what you think of
this new structure.

And I've tidied up the kml example by adding a poi: namespace too which
had already been used for poi:title.  I think this would be a pretty
simple namespace, but this is probably more correct to separate them out
into pois and poi.  Thoughts?

I'll leave this as a standalone draft until I've received feedback and
had a chance to see if there's any other things that still need a bit of
refinement.  Then I'll merge the changes into the examples on the wiki.
http://www.w3.org/2010/POI/wiki/Data_Model_Examples 


roBman

Received on Monday, 26 September 2011 18:21:24 UTC