Policy set http://example.com/policy:0001
A set of rules.
- Written to the profile http://example.com/odrl:profile:40.
- If a permission and a prohibition conflict, the permission wins.
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#conflict | Example Use Case: Two Policies are associated to the same target Asset http://example.com/asset:1212. The first Policy http://example.com/policy:0001 allows to use the Asset. The second Policy http://example.com/policy:0002 allows for the display of the Asset, but it prohibits print. Both policies explicitly state how to deal with conflicts through the conflict property being set to perm. Hence the Permissions will always override any Prohibitions. In this use case, since the print Action is a specialisation of the use Action, there could be a conflict. However, the perm conflict strategy means that the use Permission will override the print Prohibition. |
{
"@context": "http://www.w3.org/ns/odrl.jsonld",
"@type": "Policy",
"uid": "http://example.com/policy:0001",
"profile": "http://example.com/odrl:profile:40",
"conflict": "perm",
"permission": [
{
"target": "http://example.com/asset:1212",
"action": "use",
"assigner": "http://example.com/owner:181"
}
]
}
The sentences OdrlProse writes for this policy, without a profile.
A set of rules.
The renderer raised no warning for this policy.
Back to the W3C ODRL examples or the catalog.