diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e43b0f9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.DS_Store diff --git a/README.md b/README.md index 97f7244..4f07078 100644 --- a/README.md +++ b/README.md @@ -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)
2. [Interface specification](https://github.com/decentralised-dataexchange/automated-data-agreements/blob/main/docs/interface_specification.md)
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
2. [Data Agreement specification](https://github.com/decentralised-dataexchange/automated-data-agreements/blob/main/docs/data-agreement-specification.md)
3. [Data Agreement DID method specficication](https://github.com/decentralised-dataexchange/automated-data-agreements/blob/main/docs/did-spec.md)
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
2. [Data Agreement specification](https://github.com/decentralised-dataexchange/automated-data-agreements/blob/main/docs/data-agreement-specification.md)
3. [Data Agreement DID method specficication](https://github.com/decentralised-dataexchange/automated-data-agreements/blob/main/docs/did-spec.md)
4. [Data Agreement DIDComm protocol specification](https://github.com/decentralised-dataexchange/automated-data-agreements/blob/main/docs/didcomm-protocol-spec.md)
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
2. Project report | ## Contributing diff --git a/interface-specs/data-agreement-schema.json b/interface-specs/data-agreement-schema.json new file mode 100644 index 0000000..0cbed4a --- /dev/null +++ b/interface-specs/data-agreement-schema.json @@ -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": "", + "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": "" + }, + + "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:", + "preparation-time-stamp": "2021-05-08T08:41:59+0000", + "prepartion_signature": "", + }, + + "recipient_metadata": { + "recipient-did": "did:mydata:1:", + "capture_signature": "", + "capture-time-stamp": "2021-05-08T08:41:59+0000" + } +} diff --git a/interface-specs/generic-data-agreement.yaml b/interface-specs/generic-data-agreement.yaml new file mode 100644 index 0000000..e69de29