Offer http://example.com/policy:88
An offer.
- Written to the profile http://example.com/odrl:profile:09.
A policy from the W3C ODRL examples. The table gives the source and what the policy shows, in the source's words.
| Source | What it shows |
|---|---|
| model#duty-perm | Example Use Case: The Party http://example.com/assigner:sony makes an Offer to play the target asset http://example.com/music/1999.mp3. The permission includes a duty for the compensate action that has a refinement of payAmount of $EU5.00. The duty also has a constraint of event is less than policyUsage, meaning the duty rule must be exercised (ie the compensation) before the permission rule can be exercised. |
{
"@context": "http://www.w3.org/ns/odrl.jsonld",
"@type": "Offer",
"uid": "http://example.com/policy:88",
"profile": "http://example.com/odrl:profile:09",
"permission": [
{
"assigner": "http://example.com/assigner:sony",
"target": "http://example.com/music/1999.mp3",
"action": "play",
"duty": [
{
"action": [
{
"rdf:value": {
"@id": "odrl:compensate"
},
"refinement": [
{
"leftOperand": "payAmount",
"operator": "eq",
"rightOperand": {
"@value": "5.00",
"@type": "xsd:decimal"
},
"unit": "http://dbpedia.org/resource/Euro"
}
]
}
],
"constraint": [
{
"leftOperand": "event",
"operator": "lt",
"rightOperand": {
"@id": "odrl:policyUsage"
}
}
]
}
]
}
]
}
The sentences OdrlProse writes for this policy, without a profile.
An offer.
The renderer raised no warning for this policy.
Back to the W3C ODRL examples or the catalog.