Policy 01 policy enforcement contract request

A policy from the EDC samples. The table gives the source and what the policy shows, in the source's words.

SourceWhat it shows
contract-request.jsonA policy inside a ContractRequest document.

Policy #

{
  "@context": "http://www.w3.org/ns/odrl.jsonld",
  "@id": "1:test-document:13dce0f1-52ed-4554-a194-e83e92733ee5",
  "@type": "Offer",
  "permission": [
    {
      "action": "use",
      "target": "test-document",
      "constraint": {
        "@type": "AtomicConstraint",
        "leftOperand": "location",
        "operator": "eq",
        "rightOperand": "eu"
      }
    }
  ],
  "assigner": "provider",
  "target": "test-document"
}

Reading #

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

Offer 1:test-document:13dce0f1-52ed-4554-a194-e83e92733ee5

An offer made by provider.

  1. Anyone may use test-document, as permitted by the assigner provider.

    Applies only if:

    • the location is equal to "eu"

The renderer raised no warning for this policy.

Back to the EDC samples or the catalog.