substance / data

A uniform interface for domain data (deprecated)
http://code.substance.io/docs/substance-manual/
MIT License
655 stars 44 forks source link

Consider adopting JSON-LD syntax #35

Open bergie opened 12 years ago

bergie commented 12 years ago

Now Data.js follows CouchDB-esque data format with _id, type, etc. It might make sense to go to JSON-LD instead, as that is already a (in-progress) standard for JSON-encoding graph data:

http://json-ld.org/

michael commented 12 years ago

Yeah, I'm aware of that. However with Data.js, there's a focus on a stripped down lightweight API. It deliberately breaks with existing standards, such as RDF or JSON-Id. We don't even use fully qualified ids in favor of prettier ones (that just need to be unique in an application context). It is a question of taste to some degree, but there have been many reasons for us to go with our own syntax.