TypeScript and JSON-LD now both have type information, with TypeScript describing program APIs and JSON-LD describing Linked Open Data. Could TypeScript and JSON-LD work together to make these two play well with each other? This example is a start for exploring what that could look like. Possible applications:
- Notifications of type incompatibilities between a program and a REST API
- Code completion for editors/IDEs
- Documentation generation for both program and REST APIs
- ...
And now that AtScript and TypeScript have merged, it would be cool to see OData and JSON-LD work together for a similar merge in the future.
The JSON-LD is based on [this example](http://json-ld.org/playground/index.html#startTab=tab-expanded&json-ld=%7B%22%40context%22%3A%7B%22gr%22%3A%22http%3A%2F%2Fpurl.org%2Fgoodrelations%2Fv1%23%22%2C%22pto%22%3A%22http%3A%2F%2Fwww.productontology.org%2Fid%2F%22%2C%22foaf%22%3A%22http%3A%2F%2Fxmlns.com%2Ffoaf%2F0.1%2F%22%2C%22xsd%22%3