-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: George J Padayatti <george.padayatti@igrant.io>
- Loading branch information
1 parent
61a1517
commit 0fd57c5
Showing
6 changed files
with
109 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
@startuml Consent | ||
@startjson | ||
{ | ||
"@context": [ | ||
"https://raw.githubusercontent.com/decentralised-dataexchange/data-exchange-agreements/main/interface-specs/jsonld/contexts/dexa-context.jsonld", | ||
"https://w3id.org/security/v2" | ||
], | ||
"@id": "urn:uuid:consent-id", | ||
"@type": [ | ||
"Consent" | ||
], | ||
"permission": "<allow/disallow>", | ||
"dataSourceId": "urn:uuid:data-source-id", | ||
"dataUsingServiceId": "urn:uuid:data-using-service-id", | ||
"dataAttributeId": "urn:uuid:data-attribute-id", | ||
"dataAgreementId": "urn:uuid:data-agreement-id", | ||
"proof": { | ||
"type": "Ed25519Signature2018", | ||
"created": "2017-06-18T21:19:10Z", | ||
"verificationMethod": "did:key:abc", | ||
"proofPurpose": "authentication", | ||
"proofValue": "x.y.z" | ||
} | ||
} | ||
@endjson | ||
|
||
@enduml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
@startuml "Data agreement" | ||
|
||
@startjson | ||
{ | ||
"@context": [ | ||
"https://raw.githubusercontent.com/decentralised-dataexchange/data-exchange-agreements/main/interface-specs/jsonld/contexts/dexa-context.jsonld", | ||
"https://w3id.org/security/v2" | ||
], | ||
"@id": "urn:uuid:xyz", | ||
"@type": [ | ||
"DataAgreement" | ||
], | ||
"language": "en", | ||
"version": "0.0.1", | ||
"templateId": "urn:uuid:abc", | ||
"templateVersion": "0.0.1", | ||
"dataControllerName": "Happy Shopping AB", | ||
"dataControllerUrl": "https://www.happyshopping.com", | ||
"dataPolicy": { | ||
"policyUrl": "https://happyshoping.com/privacy-policy/", | ||
"jurisdiction": "Sweden", | ||
"industrySector": "Retail", | ||
"dataRetentionPeriod": 30, | ||
"geographicRestriction": "Europe", | ||
"storageLocation": "Europe", | ||
"thirdPartyDataSharing": false | ||
} | ||
, | ||
"purpose": "Customized shopping experience", | ||
"purposeDescription": "Collecting user data for offering custom tailored shopping experience", | ||
"lawfulBasis": "consent", | ||
"methodOfUse": "data-using-service", | ||
"personalData": [ | ||
"urn:uuid:data-attribute-id-1", | ||
"urn:uuid:data-attribute-id-2" | ||
], | ||
"dpia": { | ||
"dpiaDate": "2021-05-08T08:41:59+0000", | ||
"dpiaSummaryUrl": "https://org.com/dpia_results.html" | ||
} | ||
, | ||
"proofChain": [ | ||
{ | ||
"id": "did:key:z6MkiTBz1ymuepAQ4HEHYSF1H8quG5GLVVQR3djdX3mDooWp#1", | ||
"type": "Ed25519Signature2020", | ||
"created": "2021-05-08T08:41:59+0000", | ||
"verificationMethod": "did:key:z6MkiTBz1ymuepAQ4HEHYSF1H8quG5GLVVQR3djdX3mDooWp", | ||
"proofPurpose": "contractAgreement", | ||
"proofValue": "z6MkwW6aqMnjgrhJXFUko3NnZPGzVpkNzhYK7yEhnsibmLwLz6MkwW6aqMnjgrhJXFUko3NnZPGzVpkNzhYK7yEhnsibmLwL" | ||
} | ||
], | ||
"dataSubjectDid": "did:mydata:z6MkGskxnGjLrk3gKS2mesDpuwRBokeWcmrgHxUXfnncxiZP" | ||
} | ||
@endjson | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
@startuml "Personal data" | ||
|
||
@startjson | ||
{ | ||
"@context": [ | ||
"https://raw.githubusercontent.com/decentralised-dataexchange/data-exchange-agreements/main/interface-specs/jsonld/contexts/dexa-context.jsonld", | ||
"https://w3id.org/security/v2" | ||
], | ||
"@id": "urn:uuid:data-attribute-id", | ||
"@type": [ | ||
"DataAttribute" | ||
], | ||
"dataSourceId": "urn:uuid:data-source-id", | ||
"attributeId": "f216cb1-aedb-571e-46f7-2fef51dedb54", | ||
"attributeName": "Name", | ||
"attributeSensitive": true, | ||
"attributeCategory": "Name", | ||
"attributeDescription": "Name of the individual", | ||
"proof": { | ||
"type": "Ed25519Signature2018", | ||
"created": "2017-06-18T21:19:10Z", | ||
"verificationMethod": "did:key:abc", | ||
"proofPurpose": "authentication", | ||
"proofValue": "x.y.z" | ||
} | ||
} | ||
@endjson |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.