Function Property (eg8)

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#functionExample 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 play action over the target asset.

Policy #

{
  "@context": "http://www.w3.org/ns/odrl.jsonld",
  "@type": "Agreement",
  "uid": "http://example.com/policy:8888",
  "profile": "http://example.com/odrl:profile:04",
  "permission": [
    {
      "target": "http://example.com/music/1999.mp3",
      "assigner": "http://example.com/org/sony-music",
      "assignee": "http://example.com/people/billie",
      "action": "play"
    }
  ]
}

Reading #

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

Agreement http://example.com/policy:8888

An agreement.

  • Written to the profile http://example.com/odrl:profile:04.
  1. billie may play 1999.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.