-
Notifications
You must be signed in to change notification settings - Fork 19
/
pc15-odrl-log-usage-information-example.json
34 lines (34 loc) · 1.27 KB
/
pc15-odrl-log-usage-information-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
{
"@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/log-usage-information/42",
"profile": "http://www.w3.org/ns/odrl/2/core",
"dc:creator": "Data Provider 123",
"dc:description": "This policy demands to log the Data Usage information either locally or on the Clearing House.",
"dc:issued": "2022-05-19T12:00",
"permission": [{
"target": "http://example.com/ids/data/789",
"assigner": "http://example.com/ids/party/123",
"assignee": "http://example.com/ids/party/456",
"action": "use",
"duty": [{
"action": [{
"rdf:value": { "@id": "idsc:log" },
"refinement": [{
"leftOperand": "systemDevice",
"operator": "eq",
"rightOperand": { "@value": "ch-ids.aisec.fraunhofer.de", "@type": "xsd:anyURI" }
},{
"leftOperand": "idsc:LOG_LEVEL",
"operator": "eq",
"rightOperand": { "@value": "idsc:ON_ALLOW", "@type": "xsd:string" }
}]
}]
}]
}]
}