-
Notifications
You must be signed in to change notification settings - Fork 19
/
pc23-odrl-obtain-consent-example.json
73 lines (68 loc) · 2.4 KB
/
pc23-odrl-obtain-consent-example.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"@type": "vcard:Individual",
"@id": "http://example.com/person/sara",
"vcard:fn": "Sara",
"vcard:hasEmail": "sara@example.com"
}
{
"@type": "dc:Dataset",
"@id": "http://example.com/asset:sara-data.json",
"dc:title": "Sara's health data",
"dc:fileFormat": "application/json",
"odrl:partOf": "http://example.com/ids/data/health-data-collection1"
}
{
"@type": "vcard:Individual",
"@id": "http://example.com/ids/party/john",
"vcard:fn": "John",
"vcard:hasEmail": "john@example.com"
}
{
"@type": "dc:Dataset",
"@id": "http://example.com/asset:john-data.json",
"dc:title": "John's health data",
"dc:fileFormat": "application/json",
"odrl:partOf": "http://example.com/ids/data/health-data-collection1"
}
{
"@type": "vcard:Organization",
"@id": "http://example.com/organization/org1",
"vcard:fn": "org 1",
"vcard:hasEmail": "org1@example.com",
"odrl:partOf": "http://example.com/ids/party/dataprovider1",
"vcard:hasCountryName": "Germany",
"vcard:hasGeo": "http://ontologi.es/place/DE"
}
{
"@context": [
"http://www.w3.org/ns/odrl.jsonld",
{ "dc": "http://purl.org/dc/terms/",
"ids":"https://w3id.org/idsa/core/",
"idsc" : "https://w3id.org/idsa/code/" }
],
"@type": "Agreement",
"uid": "http://example.com/policy/obtain-consent/12",
"profile": "http://www.w3.org/ns/odrl/2/core",
"dc:creator": "Data Provider 123",
"dc:description": "this policy restricts the usage of the data to obtaining consent from the Data Provider/Owner.",
"dc:issued": "2022-05-25T12:00",
"ids:provider": "http://example.com/ids/party/dataprovider1",
"ids:consumer": "http://example.com/ids/party/456",
"permission": [{
"target": "http://example.com/ids/data/health-data-collection1",
"assigner": "http://example.com/ids/party/dataprovider1",
"assignee": "http://example.com/ids/party/456",
"action": "use",
"duty": [{
"action": [{
"rdf:value": { "@id": "odrl:obtainConsent" }
}],
"consentingParty": ["http://example.com/person/sara","http://example.com/ids/party/john"],
"constraint": [{
"leftOperand": "event",
"operator": "lt",
"rightOperand": { "@id": "odrl:policyUsage" }
}]
}]
}]
}