International-Data-Spaces-Association / ids-specification

The Dataspace Protocol is a set of specifications designed to facilitate interoperable data sharing between entities governed by usage control and based on Web technologies. These specifications define the schemas and protocols required for entities to publish data, negotiate Agreements, and access data in a data space
https://docs.internationaldataspaces.org/dataspace-protocol/
Apache License 2.0
26 stars 14 forks source link

feat: extend JSON-LD context and update examples #139

Closed mkollenstart closed 10 months ago

mkollenstart commented 11 months ago

This pull request adds an extended JSON-LD context to allow creation of more concise JSON-LD documents while preserving the meaning of the document.

Directives are added (in /common/schema/context.json) to:

Aspect that might need further discussion:

The @context references to https://w3id.org/dspace/v0.8/context.json are replaced by https://raw.githubusercontent.com/International-Data-Spaces-Association/ids-specification/main/common/schema/context.json to allow JSON-LD algorithms to resolve the context (after this pull request has been merged). This is done for all references to this context, so also in the figures and schemas. This should be reverted to a stable link in the future.

Closes #132 Closes #125

ssteinbuss commented 10 months ago

blocked by #142

contentwise good and currently no comments, but we have an open issue with the github raw links that need to be resolved first (see #142 )

mkollenstart commented 10 months ago

I've added a commit reverting back to the w3id link for the context references. This will require implementations in the time between having the w3id setup (as discussed in #142) to manually override the context loading of JSON-LD libraries.