/
pc3-odrl-restrict-application-example.json
35 lines (35 loc) · 1.44 KB
/
pc3-odrl-restrict-application-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
{
"@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-application/12",
"profile": "http://www.w3.org/ns/odrl/2/core",
"dc:creator": "Data Provider 123",
"dc:description": "The Application-restricted Data Usage policy restricts the usage of the data to a specific application inside an IDS connector.",
"dc:issued": "2022-05-19T12:00",
"ids:provider": "http://example.com/ids/party/123",
"ids:consumer": "http://example.com/ids/party/456",
"permission": [{
"target": "http://example.com/ids/data/789",
"assigner": "http://example.com/ids/party/123",
"assignee": "http://example.com/ids/party/456",
"action": [ "execute", "display" ],
"constraint": [{
"leftOperand": "idsc:APPLICATION",
"operator": "isPartOf",
"rightOperand": [
{ "@value": "?DataAppURI", "@type": "xsd:anyURI" },
{ "@value": "?DataAppURI", "@type": "xsd:anyURI" }
],
"ids:pipEndpoint": [{
"@type":"ids:PIP",
"ids:interfaceDescription":{ "@value":"?interfaceURI", "@type":"xsd:anyURI" },
"ids:endpointURI":{ "@value":"?endPointURI", "@type":"xsd:anyURI" }
}]
}]
}]
}