Agreement http://example.com/policy:4444
An agreement.
- Written to the profile http://example.com/odrl:profile:12.
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-party | Example Use Case: The target Asset http://example.com/myPhotos:BdayParty is a set of photos posted to a social network site by the assigner of the photos http://example.com/user44. The assignee source is a PartyCollection http://example.com/user44/friends and represents all the friends of the assigner. The assignee also has a refinement that indicates only members of the collection over the foaf:age of 18 will be assigned the ex:view permission (defined by the Profile). |
{
"@context": "http://www.w3.org/ns/odrl.jsonld",
"@type": "Agreement",
"uid": "http://example.com/policy:4444",
"profile": "http://example.com/odrl:profile:12",
"permission": [
{
"target": "http://example.com/myPhotos:BdayParty",
"assigner": "http://example.com/user44",
"assignee": {
"@type": "PartyCollection",
"source": "http://example.com/user44/friends",
"refinement": [
{
"leftOperand": "foaf:age",
"operator": "gt",
"rightOperand": {
"@value": "17",
"@type": "xsd:integer"
}
}
]
},
"action": {
"@id": "ex:view"
}
}
]
}
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.