Prohibition Class (eg14)

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#prohibitionExample Use Case: The assigner of a target Asset http://example.com/photoAlbum:55 expresses an Agreement Policy with both a Permission and a Prohibition. The assigner Party http://example.com/MyPix:55 assigns the Permission display to the assignee Party http://example.com/assignee:55 at the same time a Prohibition to archive the target Asset. Additionally, in case of any conflicts in the Policy (e.g., between Permissions and Prohibitions), the conflict property of the Policy is set to perm indicating that the Permissions will take precedence.

Policy #

{
  "@context": "http://www.w3.org/ns/odrl.jsonld",
  "@type": "Agreement",
  "uid": "http://example.com/policy:5555",
  "profile": "http://example.com/odrl:profile:08",
  "conflict": "perm",
  "permission": [
    {
      "target": "http://example.com/photoAlbum:55",
      "action": "display",
      "assigner": "http://example.com/MyPix:55",
      "assignee": "http://example.com/assignee:55"
    }
  ],
  "prohibition": [
    {
      "target": "http://example.com/photoAlbum:55",
      "action": "archive",
      "assigner": "http://example.com/MyPix:55",
      "assignee": "http://example.com/assignee:55"
    }
  ]
}

Reading #

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

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

An agreement.

  • Written to the profile http://example.com/odrl:profile:08.
  • If a permission and a prohibition conflict, the permission wins.
  1. assignee:55 may display photoAlbum:55, as permitted by the assigner MyPix:55.

  2. assignee:55 must not archive photoAlbum:55, as prohibited by the assigner MyPix:55.

The renderer raised no warning for this policy.

Back to the W3C ODRL examples or the catalog.