Offer http://example.com/policy:88
An offer.
- Written to the profile http://example.com/odrl:profile:10.
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#constraint-action | Example Use Case:The Policy below shows a permission to reproduce the target asset either via online media or print media but not both. This is expressed as a Logical Constraint (with the xone operand) referring to two existing Constraints declared elsewhere. |
{
"@context": "http://www.w3.org/ns/odrl.jsonld",
"@graph": [
{
"permission": [
{
"target": "http://example.com/book/1999",
"assigner": "http://example.com/org/paisley-park",
"action": [
{
"rdf:value": {
"@id": "odrl:reproduce"
},
"refinement": {
"xone": {
"@list": [
{
"@id": "http://example.com/p:88/C1"
},
{
"@id": "http://example.com/p:88/C2"
}
]
}
}
}
]
}
],
"@type": "Offer",
"uid": "http://example.com/policy:88",
"profile": "http://example.com/odrl:profile:10"
},
{
"rightOperand": {
"@value": "online",
"@type": "xsd:string"
},
"@type": "Constraint",
"uid": "http://example.com/p:88/C1",
"leftOperand": "media",
"operator": "eq"
},
{
"rightOperand": {
"@value": "print",
"@type": "xsd:string"
},
"@type": "Constraint",
"uid": "http://example.com/p:88/C2",
"leftOperand": "media",
"operator": "eq"
}
]
}
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.