| 1 | { |
| 2 | "@context": { |
| 3 | "edc": "https://w3id.org/edc/v0.0.1/ns/", |
| 4 | "@vocab": "http://www.w3.org/ns/odrl.jsonld" |
| 5 | }, |
| 6 | "@type": "Offer", |
| 7 | "@id": "a343fcbf-99fc-4ce8-8e9b-148c97605aab", |
| 8 | "permission": [ |
| 9 | { |
| 10 | "action": "use", |
| 11 | "constraint": { |
| 12 | "and": [ |
| 13 | { |
| 14 | "leftOperand": "edc:inForceDate", |
| 15 | "operator": "gte", |
| 16 | "rightOperand": { |
| 17 | "@value": "contractAgreement", |
| 18 | "@type": "edc:dateExpression" |
| 19 | } |
| 20 | }, |
| 21 | { |
| 22 | "leftOperand": "edc:inForceDate", |
| 23 | "operator": "lte", |
| 24 | "rightOperand": { |
| 25 | "@value": "contractAgreement + 100d", |
| 26 | "@type": "edc:dateExpression" |
| 27 | } |
| 28 | } |
| 29 | ] |
| 30 | } |
| 31 | } |
| 32 | ] |
| 33 | } |