-
Notifications
You must be signed in to change notification settings - Fork 19
/
pc20-ids-restrict-payment-rent-example.json
40 lines (40 loc) · 1.1 KB
/
pc20-ids-restrict-payment-rent-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
{
"@context": {
"ids":"https://w3id.org/idsa/core/",
"idsc" : "https://w3id.org/idsa/code/"
},
"@type": "ids:ContractOffer",
"@id": "http://example.com/policy/restrict-data-consumer/12",
"profile": "http://example.com/ids-profile",
"ids:provider": "http://example.com/party/my-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:PAYMENT"},
"ids:operator": { "@id": "idsc:EQ"},
"ids:rightOperand": {
"@value": "?fee",
"@type": "http://www.w3.org/2001/XMLSchema#double"
},
"ids:contract": "http://dbpedia.org/page/Rent",
"ids:unit": "http://dbpedia.org/resource/Euro",
"ids:frequency": {"@id":"idsc:ANNUAL" },
"ids:pipEndpoint":{
"ids:interfaceDescription":{
"@value":"https://example.com/ids/pip/id/payment",
"@type":"xsd:anyURI"
},
"ids:endpointURI":{
"@value":"https://provider.org/pip/ep/payment",
"@type":"xsd:anyURI"
}
}
}]
}]
}