forked from eclipse-edc/Samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontract-request.json
35 lines (35 loc) · 984 Bytes
/
contract-request.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": {
"edc": "https://w3id.org/edc/v0.0.1/ns/",
"odrl": "http://www.w3.org/ns/odrl/2/"
},
"@type": "NegotiationInitiateRequestDto",
"connectorId": "provider",
"consumerId": "consumer",
"providerId": "provider",
"connectorAddress": "http://localhost:19194/protocol",
"protocol": "dataspace-protocol-http",
"offer": {
"offerId": "1:test-document:3a75736e-001d-4364-8bd4-9888490edb58",
"assetId": "test-document",
"policy": {
"@id": "1:test-document:13dce0f1-52ed-4554-a194-e83e92733ee5",
"@type": "Set",
"odrl:permission": [
{
"odrl:action": "use",
"odrl:target": "test-document",
"odrl:constraint": {
"@type": "AtomicConstraint",
"odrl:leftOperand": "location",
"odrl:operator": {
"@id": "odrl:eq"
},
"odrl:rightOperand": "eu"
}
}
],
"odrl:target": "test-document"
}
}
}