Policy Rule Composition (id24)

A policy from the W3C ODRL examples. The table gives the source and what the policy shows, in the source's words.

SourceWhat it shows
model#compositionThe below example Policy includes two target Assets and two actions in the same permission Rule.

Policy #

{
  "@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",
        "http://example.com/music/PurpleRain.mp3"
      ],
      "assigner": "http://example.com/org/sony-music",
      "action": [
        "play",
        "stream"
      ]
    }
  ]
}

Reading #

The sentences OdrlProse writes for this policy, without a profile.

Policy set http://example.com/policy:8888

A set of rules.

  • Written to the profile http://example.com/odrl:profile:20.
  1. Anyone may play and stream 1999.mp3 and PurpleRain.mp3, as permitted by the assigner sony-music.

The renderer raised no warning for this policy.

Back to the W3C ODRL examples or the catalog.