Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ESSIF-Lab
interoperability
WP-VUI-DataAgreement
Commits
bf51162e
Commit
bf51162e
authored
Jan 14, 2022
by
Jose San Juan
Browse files
Updated data agreement model
parent
61235c7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface-specs/data-agreement-schema/v1/dataAgreement.json
View file @
bf51162e
...
...
@@ -4,28 +4,25 @@
"version"
:
"v1.0"
,
"template_id"
:
"91be609a-4acd-468f-b37a-0f379893b65c"
,
"template_version"
:
"v1.0"
,
"pii_controller"
:{
"data_subject"
:
"did:example:987"
,
"data_holder"
:
"did:example:8173"
,
"data_receiver"
:{
"id"
:
"did:example:123"
,
"name"
:
"Happy Shopping AB"
,
"url"
:
"www.happyshopping.com"
,
"data_receiver"
:
{
"id"
:
"did:example:123"
,
"url"
:
""
,
"postal"
:
""
,
//optional
"email"
:
""
,
//optional
"phone"
:
""
//optional
},
"service"
:
"Example Service"
,
//Description
of
the
service
provided
with
the
usage
of
this
data
"consent_duration"
:
365
,
//optional
"service"
:
"Example Service"
,
"consent_duration"
:
365
,
"form_of_consent"
:
"explicit | implicit"
},
"termination_timestamp"
:
"1660992340"
,
"termination_timestamp"
:
1660992340
,
"purposes"
:
[{
"id"
:
"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>"
,
"purpose_category"
:
"Service Personalisation"
,
"legal_basis"
:
"consent|legal_obligation|contract|vital_interest|public_task|legitimate_interest"
,
"method_of_use"
:
"null|data-source|data-using-service"
,
"data_policy"
:
{
"policy_URL"
:
"https://happyshoping.com/privacy-policy/"
,
"jurisdictions"
:
[
"Sweden"
],
...
...
@@ -36,8 +33,6 @@
}
}],
"data_subject"
:
"did:example:987"
,
"data_holder"
:
"did:example:8173"
,
"personal_data"
:
[{
"attribute_id"
:
"f216cb1-aedb-571e-46f7-2fef51dedb54"
,
"attribute_name"
:
"Name"
,
...
...
@@ -59,17 +54,13 @@
"event"
:
[{
"time-stamp"
:
"2021-05-08T08:41:59+0000"
,
"principle-did"
:
"did:mydata:1:<sender_did_value>"
,
"state"
:
"<Definition/Prepration/Capture>"
,
//Requirement:
Usage
of
linked
data
proofs
for
validation
"state"
:
"Definition|Preparation|Capture|Modification|Revocation"
,
"proof"
:
{
"type"
:
"RsaSignature2018"
,
"created"
:
"2017-06-18T21:19:10Z"
,
"proofPurpose"
:
"assertionMethod"
,
"verificationMethod"
:
"https://example.edu/issuers/keys/1"
,
"jws"
:
"eyJhbGciOiJSUzI1NiIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..TCYt5X
sITJX1CxPCT8yAV - TVkIEq_PbChOMqsLfRoPsnsgw5WEuts01mq - pQy7UJiN5mgRxD - WUc
X16dUEMGlv50aqzpqh4Qktb3rk - BuQy72IFLOqV0G_zS245 - kronKb78cPN25DGlcTwLtj
PAYuNzVBAh4vGHSrQyHUdBBPM "
"jws"
:
"eyJhbGciOiJSUzI1NiIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..TCYt5XsITJX1CxPCT8yAV-TVkIEq_PbChOMqsLfRoPsnsgw5WEuts01mq-pQy7UJiN5mgRxD-WUcX16dUEMGlv50aqzpqh4Qktb3rk-BuQy72IFLOqV0G_zS245-kronKb78cPN25DGlcTwLtjPAYuNzVBAh4vGHSrQyHUdBBPM"
}
},
{
...
...
@@ -81,12 +72,8 @@
"created"
:
"2018-06-18T21:19:10Z"
,
"proofPurpose"
:
"assertionMethod"
,
"verificationMethod"
:
"https://example.com/jdoe/keys/1"
,
"jws"
:
"eyJhbGciOiJQUzI1NiIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..DJBMvvFAIC00nSGB6Tn0XKbbF9XrsaJZREWvR2aONYTQQxnyXirtXnlewJMB
Bn2h9hfcGZrvnC1b6PgWmukzFJ1IiH1dWgnDIS81BH - IxXnPkbuYDeySorc4
QU9MJxdVkY5EL4HYbcIfwKj6X4LBQ2_ZHZIu1jdqLcRZqHcsDF5KKylKc1TH
n5VRWy5WhYg_gBnyWny8E6Qkrze53MR7OuAmmNJ1m1nN8SxDrG6a08L78J0 -
Fbas5OjAQz3c17GY8mVuDPOBIOVjMEghBlgl3nOi1ysxbRGhHLEK4s0KKbeR
ogZdgt1DkQxDFxxn41QWDw_mmMCjs9qxg0zcZzqEJw "
"jws"
:
"eyJhbGciOiJSUzI1NiIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..TCYt5XsITJX1CxPCT8yAV-TVkIEq_PbChOMqsLfRoPsnsgw5WEuts01mq-pQy7UJiN5mgRxD-WUcX16dUEMGlv50aqzpqh4Qktb3rk-BuQy72IFLOqV0G_zS245-kronKb78cPN25DGlcTwLtjPAYuNzVBAh4vGHSrQyHUdBBPM"
}
}
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment