Policy set http://example.com/policy:8888
A set of rules.
- Written to the profile http://example.com/odrl:profile:20.
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#composition | The above example can then be reduced to four atomic permission Rules. Each permission Rule will include a single target and a single action. |
{
"@context": "http://www.w3.org/ns/odrl.jsonld",
"@type": "Policy",
"uid": "http://example.com/policy:8888",
"profile": "http://example.com/odrl:profile:20",
"permission": [
{
"target": "http://example.com/music/1999.mp3",
"assigner": "http://example.com/org/sony-music",
"action": "play"
},
{
"target": "http://example.com/music/1999.mp3",
"assigner": "http://example.com/org/sony-music",
"action": "stream"
},
{
"target": "http://example.com/music/PurpleRain.mp3",
"assigner": "http://example.com/org/sony-music",
"action": "play"
},
{
"target": "http://example.com/music/PurpleRain.mp3",
"assigner": "http://example.com/org/sony-music",
"action": "stream"
}
]
}
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.