/
pc24-odrl-restrict-data-classification-example.json
59 lines (58 loc) · 2.12 KB
/
pc24-odrl-restrict-data-classification-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
{
"@type": "dc:Dataset",
"@id": "http://example.com/asset:111.json",
"dc:title": "treatment plan",
"dc:fileFormat": "application/json",
"odrl:partOf": "http://example.com/ids/data/789",
"skos:concept": ["health", "confidential"]
}
{
"@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/restrict-artifact-state/42",
"profile": "http://www.w3.org/ns/odrl/2/core",
"dc:creator": "Data Provider 123",
"dc:description": "This policy restrict the data usage to specific data classifications.",
"dc:issued": "2022-05-19T12:00",
"permission": [{
"assigner": "http://example.com/ids/party/123",
"assignee": "http://example.com/ids/party/456",
"action": "distribute"
"target": {
"@type": "AssetCollection",
"source": "http://example.com/ids/data/789",
"refinement": [{
"leftOperand": "skos:concept",
"operator": "isNoneOf",
"rightOperand": [
{ "@value": "health", "@type": "xsd:string" },
{ "@value": "confidential", "@type": "xsd:string" },
{ "@value": "automotive", "@type": "xsd:string" }
]
}]
}
}],
"permission": [{
"assigner": "http://example.com/ids/party/123",
"assignee": "http://example.com/ids/party/456",
"action": "use"
"target": {
"@type": "AssetCollection",
"source": "http://example.com/ids/data/789",
"refinement": [{
"leftOperand": "skos:concept",
"operator": "isPartOf",
"rightOperand": [
{ "@value": "health", "@type": "xsd:string" },
{ "@value": "confidential", "@type": "xsd:string" },
{ "@value": "automotive", "@type": "xsd:string" }
]
}]
}
}]
}