Skip to content
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

fix(dt): policy in example #1092

Merged
merged 3 commits into from
Nov 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DEPENDENCIES
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ npm/npmjs/-/cose-base/2.2.0, MIT, approved, clearlydefined
npm/npmjs/-/cosmiconfig/6.0.0, MIT, approved, clearlydefined
npm/npmjs/-/cosmiconfig/7.1.0, MIT, approved, #4975
npm/npmjs/-/cross-fetch/3.1.5, MIT, approved, clearlydefined
npm/npmjs/-/cross-spawn/7.0.3, MIT, approved, clearlydefined
npm/npmjs/-/cross-spawn/7.0.3, MIT, approved, #17146
npm/npmjs/-/crypto-js/4.1.1, MIT AND BSD-2-Clause, approved, #6630
npm/npmjs/-/crypto-random-string/2.0.0, MIT, approved, clearlydefined
npm/npmjs/-/css-declaration-sorter/6.3.1, ISC, approved, clearlydefined
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -480,14 +480,14 @@ differences are the changed typization. `proxyPath` parameter should be set `"tr
### Usage Policies

For Digital Twin Registries, Data Providers are encouraged to only extend Data Offers that make no explicit checks to
use-case frameworks (formerly known as `FrameworkAgreements`. The DTR is an Enablement Service that should only be
use-case frameworks (formerly known as `FrameworkAgreement`s). The DTR is an Enablement Service that should only be
visible once to every Data Consumer in the DSP-Catalog because it is a meta-data broker for data from multiple
use-cases. Registering it with a Constraint that's specific to a particular use-case would restrict it only to a small
subset of the dataspace. Of course, the DTR could be registered once per use-case but that's not recommended as it
bloats the catalog and requires a lot of consumer-side processing. That's why Offers for a DTR should always
be extended to the dataspace using the at least two Constraints:

1. Check for an active `Membership` credential. This is agnostic to use-cases but still ensures that a Consumer's VP
1. Check for an active `DataExchangeGovernanceCredential` credential. This is agnostic to use-cases but still ensures that a Consumer's VP
is valid and issued by a common trust-anchor.
2. using the DTR as a roadsign in the discovery process is legitimate but requires a set of predefined behavior which
is why there's a `purpose` for the DTR.
Expand All @@ -497,10 +497,7 @@ Here's an example
````json
{
"@context": [
"https://www.w3.org/ns/odrl.jsonld",
{
"cx-policy": "https://w3id.org/catenax/policy/"
}
"https://www.w3.org/ns/odrl.jsonld"
],
"@type": "Policy",
"permission": [
Expand All @@ -509,12 +506,12 @@ Here's an example
"constraint": {
"and": [
{
"leftOperand": "cx-policy:Membership",
"leftOperand": "https://w3id.org/catenax/policy/Framework",
"operator": "eq",
"rightOperand": "active"
"rightOperand": "DataExchangeGovernance:1.0"
},
{
"leftOperand": "cx-policy:UsagePurpose",
"leftOperand": "https://w3id.org/catenax/policy/UsagePurpose",
"operator": "eq",
"rightOperand": "cx.core.digitalTwinRegistry:1"
}
Expand Down
Loading