-
Notifications
You must be signed in to change notification settings - Fork 19
/
pc16-ids-notify-party-example.json
51 lines (51 loc) · 1.45 KB
/
pc16-ids-notify-party-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
{
"@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/production-plan"
},
"ids:action": [{
"@id":"idsc:USE"
}],
"ids:postDuty": [{
"@type":"ids:Duty",
"ids:action": [{
"@id":"idsc:NOTIFY",
"ids:refinement": [{
"@type":"ids:Constraint",
"ids:leftOperand": { "@id":"idsc:NOTIFICATION_LEVEL"},
"ids:operator": { "@id": "idsc:DEFINES_AS"},
"ids:rightOperand": {
"@value": "idsc:ON_ALLOW",
"@type": "xsd:string"}
},{
"@type":"ids:Constraint",
"ids:leftOperand":{"@id":"idsc:RECIPIENT"},
"ids:operator": { "@id": "idsc:DEFINES_AS"},
"ids:rightOperand": {
"@value":"http://example.com/ids/party/my-party",
"@type": "xsd:anyURI"}
}] ,
"ids:pxpEndpoint":{
"@type":"ids:PXP",
"ids:interfaceDescription":{
"@value":"https://example.com/ids/PXP/id/notify",
"@type":"xsd:anyURI"
},
"ids:endpointURI":{
"@value":"https://provider.org/ep/notify",
"@type":"xsd:anyURI"
}
}
}]
}]
}]
}