Agreement http://example.com/policy:777
An agreement.
- Written to the profile http://example.com/odrl:profile:05.
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#function | Example Use Case: The Policy shows an Agreement with two Parties with the functional roles of the assigner and the assignee. The assigner grants the assignee the use of the target asset. In this case, the assigner is explicitly declared as a Party as well as a vcard:Organisation and some additional external properties. The assignee is explicitly declared as a PartyCollection as well as a vcard:Group and some additional external properties. This implies that all the entities that are identified as http://example.com/team/A will each have the same granted action |
{
"@context": [
"http://www.w3.org/ns/odrl.jsonld",
{
"vcard": "http://www.w3.org/2006/vcard/ns#"
}
],
"@type": "Agreement",
"uid": "http://example.com/policy:777",
"profile": "http://example.com/odrl:profile:05",
"permission": [
{
"target": "http://example.com/looking-glass.ebook",
"assigner": {
"@type": [
"Party",
"vcard:Organization"
],
"uid": "http://example.com/org/sony-books",
"vcard:fn": "Sony Books LCC",
"vcard:hasEmail": "sony-contact@example.com"
},
"assignee": {
"@type": [
"PartyCollection",
"vcard:Group"
],
"uid": "http://example.com/team/A",
"vcard:fn": "Team A",
"vcard:hasEmail": "teamA@example.com"
},
"action": "use"
}
]
}
The sentences OdrlProse writes for this policy, without a profile.
An agreement.
The renderer raised no warning for this policy.
Back to the W3C ODRL examples or the catalog.