Skip to content

Commit

Permalink
Data Agreement swagger APIs release 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lalc committed Sep 20, 2021
1 parent 69e2fa5 commit f8096c2
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.DS_Store
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ The key deliverables of the project are as given. The table summarises the relea
| Milestone | Date | Deliverables |
|:-------------- |:------------------|:--------------------------------------------------------------------------------------------------------------------------------------------- |
| Milestone 01 | 15 May 2021 | 1. [Functional specification](https://github.com/decentralised-dataexchange/automated-data-agreements/blob/main/docs/functional_specification.md)<br>2. [Interface specification](https://github.com/decentralised-dataexchange/automated-data-agreements/blob/main/docs/interface_specification.md) <br>3. [Envisioned interoperability (eSSIF-Lab gitlab)](https://gitlab.grnet.gr/essif-lab/infrastructure_2/igrantio/deliverables/-/blob/master/envisioned_interoperability_with_others.md) |
| Milestone 02 | 15 November 2021 | 1. Interim demo<br>2. [Data Agreement specification](https://github.com/decentralised-dataexchange/automated-data-agreements/blob/main/docs/data-agreement-specification.md)<br>3. [Data Agreement DID method specficication](https://github.com/decentralised-dataexchange/automated-data-agreements/blob/main/docs/did-spec.md)<br>4. [Data Agreement DIDComm protocol specification](https://github.com/decentralised-dataexchange/automated-data-agreements/blob/main/docs/didcomm-protocol-spec.md) |
| Milestone 02 | 15 November 2021 | 1. Interim demo<br>2. [Data Agreement specification](https://github.com/decentralised-dataexchange/automated-data-agreements/blob/main/docs/data-agreement-specification.md)<br>3. [Data Agreement DID method specficication](https://github.com/decentralised-dataexchange/automated-data-agreements/blob/main/docs/did-spec.md)<br>4. [Data Agreement DIDComm protocol specification](https://github.com/decentralised-dataexchange/automated-data-agreements/blob/main/docs/didcomm-protocol-spec.md)<br>5. [Data Agreement APIs Rel. 1.0.1](https://app.swaggerhub.com/apis/LCubedAB/ADA/1.0.1) |
| Milestone 03 | 15 December 2021 | 1. Feasibility plan<br>2. Project report |

## Contributing
Expand Down
43 changes: 43 additions & 0 deletions interface-specs/data-agreement-schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"@context": "https://schema.igrant.io/data-agreements/v1",
"data_agreement_id": "d7216cb1-aedb-471e-96f7-7fef51dedb76",
"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>",
"data_policy": {
"policy_URL": "https://www.organisation.com/privacy-policy",
"jurisdiction": "Stockholm, Sweden",
"industry_scope": "Healthcare",
"data_retention_period": "3",
"geographic_restriction": "Europe, Not restricted"
},

"data_sharing": {
"exchange": true,
"role": "<null/issuer/verifier>"
},

"personal_data": {
"attribute_names": ["Name", "Age"]
},

"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>",
},

"recipient_metadata": {
"recipient-did": "did:mydata:1:<sender_did_value>",
"capture_signature": "<signature>",
"capture-time-stamp": "2021-05-08T08:41:59+0000"
}
}
Empty file.

0 comments on commit f8096c2

Please sign in to comment.