-
Notifications
You must be signed in to change notification settings - Fork 19
/
pc3-ids-restrict-application-example.json
42 lines (42 loc) · 1.17 KB
/
pc3-ids-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
36
37
38
39
40
41
42
{
"@context": {
"ids":"https://w3id.org/idsa/core/",
"idsc" : "https://w3id.org/idsa/code/"
},
"@type": "ids:ContractAgreement",
"@id": "http://example.com/policy/restrict-data-consumer/12",
"profile": "http://example.com/ids-profile",
"ids:provider": "http://example.com/party/my-party",
"ids:consumer": "http://example.com/ids/party/consumer-party",
"ids:permission": [{
"ids:target": {
"@id":"http://example.com/ids/data/d1234"
},
"ids:action": [{
"@id":"idsc:USE"
}],
"ids:constraint": [{
"@type":"ids:Constraint",
"ids:leftOperand": { "@id": "idsc:APPLICATION"},
"ids:operator": { "@id": "idsc:IN"},
"ids:rightOperand": [{
"@value": "http://example.com/ids/application/smart-app1",
"@type": "xsd:anyURI"
},{
"@value": "http://example.com/ids/application/smart-app2",
"@type": "xsd:anyURI"
}],
"ids:pipEndpoint":{
"@type":"ids:PIP",
"ids:interfaceDescription":{
"@value":"https://example.com/ids/pip/id/application",
"@type":"xsd:anyURI"
},
"ids:endpointURI":{
"@value":"https://consumer.org/pip/ep/application",
"@type":"xsd:anyURI"
}
}
}]
}]
}