3 ms·
Have you thought about JSON-LD ? Having some semantic web meaning on top of it would be really cool !
by thesorrow 12y ago
Have you thought about JSON-LD ? Having some semantic web meaning on top of it would be really cool !
- swannodette 12y agoYes comparisons to JSON-LD has come up a few times and semantic web & HATEOAS are the reasons why the Transit spec includes the link type. JSON-LD looks interesting but it does not seem to address the basic performance concerns that Transit does.
- thesorrow 12y agoThanks for your answer. Can I create extensions for Schema.org types then ?
- swannodette 12y agoI don't see why not - I mean these are unlikely to get included in the official Transit spec, but sure, being able to build a common set of shared extensions seems mighty powerful to me - I had a bit of fun with this today when putting together the example for the blogpost https://github.com/swannodette/transit-js-example/blob/master/shared/handlers.js#L40 https://github.com/swannodette/transit-js-example/blob/maste...