From 5865f6fbf940478b944f6d914e5a2f78c828e67a Mon Sep 17 00:00:00 2001 From: Lal Chandran Date: Sun, 26 Sep 2021 18:07:11 +0200 Subject: [PATCH] Updated to support consent standards based on review (#5) --- .../v1/data-agreement-schema.json | 26 ++++++++++++++----- 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/interface-specs/data-agreement-schema/v1/data-agreement-schema.json b/interface-specs/data-agreement-schema/v1/data-agreement-schema.json index f31028c..58272a3 100644 --- a/interface-specs/data-agreement-schema/v1/data-agreement-schema.json +++ b/interface-specs/data-agreement-schema/v1/data-agreement-schema.json @@ -1,27 +1,41 @@ { "@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": "", + "data_policy": { "policy_URL": "https://clarifyhealth.com/privacy-policy/", "jurisdiction": "Stockholm, Sweden", "industry_scope": "Healthcare", "data_retention_period": "3", - "geographic_restriction": "Europe, Not restricted" + "geographic_restriction": "Europe, Not restricted", + "geo_location": "Europe" }, "data_sharing": { "exchange": true, "role": "" }, - - "personal_data": { - "attribute_names": ["Name", "Age"] - }, + + "personal_data":[ + { + "attribute_id": "f216cb1-aedb-571e-46f7-2fef51dedb54", + "attribute_name": "Name", + "attribute_mandatory": false, + "attribute_category": "General" + }, + { + "attribute_id": "f216cb1-aedb-571e-46f7-2fef51dedb54", + "attribute_name": "Age", + "attribute_mandatory": true, + "attribute_category": "General" + } + ], "dpia": { "dpia_done": true, @@ -32,7 +46,7 @@ "sender_metadata": { "sender-did": "did:mydata:0:", "preparation-time-stamp": "2021-05-08T08:41:59+0000", - "prepartion_signature": "", + "prepartion_signature": "" }, "recipient_metadata": {