-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RFC: Introduce a 'Policy Repository' #77
Comments
Summary of the discussion in the weekly meeting:
Thanks for the discussion during the meeting, |
This discussion in ODRL might be also relevant: |
Adding my two (three) cents:
Should be something to consider in my view as the (http) protocol binding should make an either-or decision:
For now, option 1 is described, therefore the size of the body can be a factor.
Putting additional information (like type declarations or other things like a content hash) is, if I remember correctly, regarded as a not-so-good pattern in the RDF/Linked Data world. I don't remember all details but most likely it boils down that the referenced JSON document usually (always?) needs to contain the identifier itself:
In that case, "cdfd26aaf5b1fdc6d71af7c1349869f9314b67626bc1eec44e64af674e357eed" cannot be the hash of the JSON document as it would need to contain itself...
I'd like to see it in the schemas, either "only expect '@id' here" (reference case) or "expect a full odrl:Offer object here" to reduce the degree of freedom for the individual implementations / increase their interoperability. But this makes it more complicated for different data spaces as they would need deviating schema files, manage their versions accordingly, ... |
After some discussion over the last weeks regarding json-ld and how arrays and timestamps are represented (#139 and #125) and the resulting new jsonld context file proposed here: #132 (comment) Luckily, @mkollenstart could also spend some time and we had some deeper discussions on the matter and came up with potential options to go forward with: Option 1: Currently we don't see a way to express this in a Json-LD context directly, so I think it should be described in the text. Option 2: An advantage of Option 2 is, that Also, the references can be I think a dataspace might also define such a policy and rules repository and also might define separate authentication mechanisms for it, e.g. checking a dataspace Membership Credential. But I think this is out of scope for the DSP spec itself. Any further thoughts on this? Let's discuss this tomorrow in our weekly meeting. -- Matthias Binzer |
Having this would remove a lot of constraints that the DSP places on the usage of Linked Data. I'm unsure having json-schemas in addition to shacl shapes would even be feasible in that case. Also, there hasn't been any progress on this in ten months, so I suggest to close this ticket. |
I would consider this as a potential optimization of the DSP and we just didn't work on this to get the initial version 0.8 released. How to deal with such open topics? We should not just close it. |
I'm opposed to increased flexibility in the protocol's message payloads. But yea, perhaps there should be a structured WG decision on this. @ssteinbuss - WDYT? |
Work on DSP is now moved to Eclipse. We should raise new issues in the Eclipse WG. |
That was discussed in our last call on Thursday. We will assess each issue in this repo and decide which to move to the Eclipse Project. I doubt that we should bring each issue of the project to the Working Group level. |
I want to kindly ask to give feedback regarding the following proposal:
Example snippet from the catalog example:
https://raw.githubusercontent.com/International-Data-Spaces-Association/ids-specification/71f06f718147f12a4d333e9a9e604d13944882b1/catalog/message/catalog.json
Since this is very redundant, because many of those policies / offers are very similar, I think it would be also allowed to use IDs as a reference instead of the entire node of the object, meaning:
At least that is my - still limited - understanding of:
https://www.w3.org/TR/vocab-dcat-3/#conformance
and if this is the case, I would even slightly change the id of the policy and make it a "content addressable storage" by using the hash of the policy itself (as a URL) to reference it. So it would look like:
where the
cdfd26aaf5b1fdc6d71af7c1349869f9314b67626bc1eec44e64af674e357eed
is a sha256 hash of the policy itself. Serialization / canonicalization details need to apply of course.That means there would be a new endpoint containing all possible policies: a
policy repository
under/policies/{hash}
The only way that this is possible at all, is because of the separate profile which says:
https://github.com/International-Data-Spaces-Association/ids-specification/blob/main/catalog/catalog.protocol.md#5-dcat-and-odrl-profiles
because hashing the policy WITH a
target
wouldn't work :-)The advantages would be:
Possible DISadvantages:
Any thoughts on this?
The text was updated successfully, but these errors were encountered: