remotestorage / modules

DEPRECATED
18 stars 10 forks source link

What to publish for the JSON-LD context? #96

Open galfert opened 7 years ago

galfert commented 7 years ago

Decide what to publish in the location of the JSON-LD @context URL and implement automation for it

raucao commented 7 years ago

and implement automation for it

"it" being the auto-generated default URIs, because we can't automate what developers publish in case they use custom context URIs (e.g. we do that in the chat messages module with a Kosmos context).

galfert commented 7 years ago

For reference, the auto-generated URI is added in declareType when no other URI was given explicitly.

Currently, the URI is in the form http://remotestorage.io/spec/modules/<modulename>/<alias> (see https://github.com/remotestorage/remotestorage.js/blob/187f177f9d660dc696c6e3983952cd23c3f32b9e/src/types.js#L146)