diff --git a/cx/credentials/schema/context/policy.context.json b/cx/credentials/schema/context/policy.context.json index a435cd0..a4d09fc 100644 --- a/cx/credentials/schema/context/policy.context.json +++ b/cx/credentials/schema/context/policy.context.json @@ -4,19 +4,19 @@ "@protected": true, "cred": "https://www.w3.org/2018/credentials#", "xsd": "http://www.w3.org/2001/XMLSchema#", - "tx-policy": "https://w3id.org/tractusx/policy/", - "Dismantler": "tx-policy:Dismantler", - "Dismantler.activityType": "tx-policy:Dismantler.activityType", - "Dismantler.allowedBrands": "tx-policy:Dismantler.allowedBrands", - "Membership": "tx-policy:Membership", - "UsagePurpose": "tx-policy:UsagePurpose", - "ContractReference": "tx-policy:ContractReference", - "FrameworkAgreement": "tx-policy:FrameworkAgreement", - "FrameworkAgreement.behavioraltwin": "tx-policy:FrameworkAgreement.behavioraltwin", - "FrameworkAgreement.pcf": "tx-policy:FrameworkAgreement.pcf", - "FrameworkAgreement.quality": "tx-policy:FrameworkAgreement.quality", - "FrameworkAgreement.resiliency": "tx-policy:FrameworkAgreement.resiliency", - "FrameworkAgreement.sustainability": "tx-policy:FrameworkAgreement.sustainability", - "FrameworkAgreement.traceability": "tx-policy:FrameworkAgreement.traceability" + "cx-policy": "https://w3id.org/catenax/policy/", + "Dismantler": "cx-policy:Dismantler", + "Dismantler.activityType": "cx-policy:Dismantler.activityType", + "Dismantler.allowedBrands": "cx-policy:Dismantler.allowedBrands", + "Membership": "cx-policy:Membership", + "UsagePurpose": "cx-policy:UsagePurpose", + "ContractReference": "cx-policy:ContractReference", + "FrameworkAgreement": "cx-policy:FrameworkAgreement", + "FrameworkAgreement.behavioraltwin": "cx-policy:FrameworkAgreement.behavioraltwin", + "FrameworkAgreement.pcf": "cx-policy:FrameworkAgreement.pcf", + "FrameworkAgreement.quality": "cx-policy:FrameworkAgreement.quality", + "FrameworkAgreement.resiliency": "cx-policy:FrameworkAgreement.resiliency", + "FrameworkAgreement.sustainability": "cx-policy:FrameworkAgreement.sustainability", + "FrameworkAgreement.traceability": "cx-policy:FrameworkAgreement.traceability" } } \ No newline at end of file diff --git a/cx/credentials/specs/specification.changes.md b/cx/credentials/specs/specification.changes.md index d106484..abbf742 100644 --- a/cx/credentials/specs/specification.changes.md +++ b/cx/credentials/specs/specification.changes.md @@ -3,7 +3,7 @@ 1. Remove `startTime`, `memberOf`, and `status` from the `Membership` credential 2. Remove `credentialSubject` and `type` attributes from all credentials 3. Create separate credential context using the URI: https://w3id.org/catenax/credentials/v1.0.0 -4. Create separate policy context using the URI: https://w3id.org/tractusx/policy/v1.0.0 +4. Create separate policy context using the URI: https://w3id.org/catenax/policy/v1.0.0 5. Create JSON Schema definitions for all credentials using the URI: https://w3id.org/catenax/schemas/v1.0.0/ 6. Adopt JWT-based VCs using JWS algorithm `ES256K` and JWK curve `secp256k1` 7. Separate namespaces for `tractusx` and `catenax` diff --git a/cx/policy/samples/policy.sample.playground.json b/cx/policy/samples/policy.sample.playground.json index eeb31f8..b77f3fc 100644 --- a/cx/policy/samples/policy.sample.playground.json +++ b/cx/policy/samples/policy.sample.playground.json @@ -6,20 +6,20 @@ "@protected": true, "cred": "https://www.w3.org/2018/credentials#", "xsd": "http://www.w3.org/2001/XMLSchema#", - "tx-policy": "https://w3id.org/tractusx/policy/", - "Dismantler": "tx-policy:Dismantler", - "Dismantler.activityType": "tx-policy:Dismantler.activityType", - "Dismantler.allowedBrands": "tx-policy:Dismantler.allowedBrands", - "Membership": "tx-policy:Membership", - "UsagePurpose": "tx-policy:UsagePurpose", - "ContractReference": "tx-policy:ContractReference", - "FrameworkAgreement": "tx-policy:FrameworkAgreement", - "FrameworkAgreement.behavioraltwin": "tx-policy:FrameworkAgreement.behavioraltwin", - "FrameworkAgreement.pcf": "tx-policy:FrameworkAgreement.pcf" , - "FrameworkAgreement.quality": "tx-policy:FrameworkAgreement.quality", - "FrameworkAgreement.resiliency": "tx-policy:FrameworkAgreement.resiliency", - "FrameworkAgreement.sustainability": "tx-policy:FrameworkAgreement.sustainability", - "FrameworkAgreement.traceability": "tx-policy:FrameworkAgreement.traceability" + "cx-policy": "https://w3id.org/catenax/policy/", + "Dismantler": "cx-policy:Dismantler", + "Dismantler.activityType": "cx-policy:Dismantler.activityType", + "Dismantler.allowedBrands": "cx-policy:Dismantler.allowedBrands", + "Membership": "cx-policy:Membership", + "UsagePurpose": "cx-policy:UsagePurpose", + "ContractReference": "cx-policy:ContractReference", + "FrameworkAgreement": "cx-policy:FrameworkAgreement", + "FrameworkAgreement.behavioraltwin": "cx-policy:FrameworkAgreement.behavioraltwin", + "FrameworkAgreement.pcf": "cx-policy:FrameworkAgreement.pcf" , + "FrameworkAgreement.quality": "cx-policy:FrameworkAgreement.quality", + "FrameworkAgreement.resiliency": "cx-policy:FrameworkAgreement.resiliency", + "FrameworkAgreement.sustainability": "cx-policy:FrameworkAgreement.sustainability", + "FrameworkAgreement.traceability": "cx-policy:FrameworkAgreement.traceability" } ], "@id": "definition-id", diff --git a/cx/policy/specs/policy.definitions.md b/cx/policy/specs/policy.definitions.md index 1b54071..3903081 100644 --- a/cx/policy/specs/policy.definitions.md +++ b/cx/policy/specs/policy.definitions.md @@ -42,7 +42,7 @@ be used. ### 1.3 A Note on Json-Ld Prefixes Json-Ld prefixes are not show in the examples since the Json-Ld context includes term aliases that make prefixes -optional for known constraint types. For example, assuming the `tx` prefix, `Membership` and `tx-policy:Membership` are equal +optional for known constraint types. For example, assuming the `cx` prefix, `Membership` and `cx-policy:Membership` are equal and will be processed in the same way. # 2. Membership Constraint