Skip to content

Instantly share code, notes, and snippets.

@apoikola
Created May 3, 2015 19:37
Show Gist options
  • Save apoikola/5b63003d4b2ce8197ebf to your computer and use it in GitHub Desktop.
Save apoikola/5b63003d4b2ce8197ebf to your computer and use it in GitHub Desktop.
Tentative structure for a Service Contract template (SCT), all fields will be defined in later versions of this architecture document.
---
actor_id: {} # GUID used to identify the MyData actor globally
endpoint_uri: {} # for the source or sink API
scopes:
role: {} # default:source / sink / both
legal_role: {} # default:controller / processor
contract_terms: {} # default:none / URI (may be legacy or MyData consent)
intended_use: {} # default:free / comm-sell / comm-keep / anon-research /…
usage_rule_set:
validity_period: {} # default:auto_renew / valid_until
auth_proposal: {} # default:for_data_sink / experimental / standard
user_id: {} # default:not_defined (Local identifier of the Account Owner
# at the sink or source service. Acquired M2M from each service
# only at the registration phase.
status: {} # default:not_defined / active / passive / revoked / void
created: {} # UTC_timestamp
audit_log: {} # UTC_timestamp + log_content (vocabulary to be specified)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment