Policy Inheritance (eg31)
A policy from the W3C ODRL examples. The table gives the source and what the policy shows, in the source's words.
Policy #
{
"@context": "http://www.w3.org/ns/odrl.jsonld",
"@type": "Agreement",
"uid": "http://example.com/policy:4444",
"profile": "http://example.com/odrl:profile:30",
"inheritFrom": "http://example.com/policy:default",
"permission": [
{
"target": "http://example.com/asset:5555",
"action": "display",
"assigner": "http://example.com/org-01",
"assignee": "http://example.com/user:0001"
}
],
"obligation": [
{
"target": "http://example.com/asset:terms-and-conditions",
"action": "reviewPolicy",
"assigner": "http://example.com/org-01",
"assignee": "http://example.com/user:0001"
}
]
}
Reading #
The sentences OdrlProse writes for this policy, without a profile.
Agreement http://example.com/policy:4444
An agreement.
- Written to the profile http://example.com/odrl:profile:30.
- Inherits the rules of http://example.com/policy:default.
user:0001 may display asset:5555, as permitted by the assigner org-01.
user:0001 must review policy terms-and-conditions, as required by the assigner org-01.
The renderer raised no warning for this policy.
Back to the W3C ODRL examples or the catalog.