-
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.
Updated to align with the ISO standards (decentralised-dataexchange#8)
* Updated to align with the ISO standards after couple of reviews Signed-off-by: Lal Chandran <[email protected]>
- Loading branch information
Showing
1 changed file
with
34 additions
and
40 deletions.
There are no files selected for viewing
74 changes: 34 additions & 40 deletions
74
interface-specs/data-agreement-schema/v1/data-agreement-schema.json
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 |
---|---|---|
@@ -1,57 +1,51 @@ | ||
{ | ||
"@context": "https://schema.igrant.io/data-agreements/v1", | ||
"data_agreement_id": "d7216cb1-aedb-471e-96f7-7fef51dedb76", | ||
"data_agreement_version": "v1.0", | ||
"data_agreement_template_id": "91be609a-4acd-468f-b37a-0f379893b65c", | ||
"data_agreement_template_version": "v1.0", | ||
"usage_purpose": "Customized shopping experience", | ||
"usage_purpose_description": "Collecting user data for offering custom tailored shopping experience", | ||
"legal_basis": "<consent/legal_obligation/contract/vital_interest/public_task/legitimate_interest>", | ||
|
||
"id": "d7216cb1-aedb-471e-96f7-7fef51dedb76", | ||
"version": "v1.0", | ||
"template_id": "91be609a-4acd-468f-b37a-0f379893b65c", | ||
"template_version": "v1.0", | ||
"pii_controller_name": "Happy Shopping AB", | ||
"pii_controller_url": "www.happyshopping.com", | ||
"data_policy": { | ||
"policy_URL": "https://clarifyhealth.com/privacy-policy/", | ||
"jurisdiction": "Stockholm, Sweden", | ||
"industry_scope": "Healthcare", | ||
"data_retention_period": "3", | ||
"geographic_restriction": "Europe, Not restricted", | ||
"geo_location": "Europe" | ||
}, | ||
|
||
"data_sharing": { | ||
"exchange": true, | ||
"role": "<null/issuer/verifier>" | ||
"jurisdiction": "Sweden", | ||
"industry_scope": "Retail", | ||
"data_retention_period": "30", | ||
"geographic_restriction": "Europe", | ||
"storage_location": "Europe" | ||
}, | ||
|
||
"personal_data":[ | ||
"purpose": "Customized shopping experience", | ||
"purpose_description": "Collecting user data for offering custom tailored shopping experience", | ||
"legal_basis": "<consent/legal_obligation/contract/vital_interest/public_task/legitimate_interest>", | ||
"method_of_use": "<null/data-source/data-using-service>", | ||
"personal_data": [ | ||
{ | ||
"attribute_id": "f216cb1-aedb-571e-46f7-2fef51dedb54", | ||
"attribute_name": "Name", | ||
"attribute_mandatory": false, | ||
"attribute_category": "General" | ||
"attribute_sensitive": "True" | ||
}, | ||
{ | ||
"attribute_id": "f216cb1-aedb-571e-46f7-2fef51dedb54", | ||
"attribute_name": "Age", | ||
"attribute_mandatory": true, | ||
"attribute_category": "General" | ||
"attribute_sensitive": "True" | ||
} | ||
], | ||
|
||
"dpia": { | ||
"dpia_done": true, | ||
"dpia_date": "2021-05-08T08:41:59+0000", | ||
"dpia_verification_url": "https://org.com/dpia_results.html" | ||
}, | ||
|
||
"sender_metadata": { | ||
"sender-did": "did:mydata:0:<sender_did_value>", | ||
"preparation-time-stamp": "2021-05-08T08:41:59+0000", | ||
"prepartion_signature": "<signature>" | ||
"dpia_summary_url": "https://org.com/dpia_results.html" | ||
}, | ||
|
||
"recipient_metadata": { | ||
"recipient-did": "did:mydata:1:<sender_did_value>", | ||
"capture_signature": "<signature>", | ||
"capture-time-stamp": "2021-05-08T08:41:59+0000" | ||
} | ||
} | ||
"event": [ | ||
{ | ||
"time-stamp": "2021-05-08T08:41:59+0000", | ||
"principle-did": "did:mydata:1:<sender_did_value>", | ||
"state": "<Definition/Prepration/Capture>", | ||
"authenticity": "<signature>" | ||
}, | ||
{ | ||
"time-stamp": "2021-05-08T08:41:59+0000", | ||
"principle-did": "did:mydata:1:<sender_did_value>", | ||
"state": "<Definition/Prepration/Capture>", | ||
"authenticity": "<signature>" | ||
} | ||
] | ||
} |