Policy 01 policy enforcement create policy

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

SourceWhat it shows
create-policy.jsonA policy inside a PolicyDefinition document.

Policy #

{
  "@context": "http://www.w3.org/ns/odrl.jsonld",
  "@type": "Set",
  "permission": [
    {
      "action": "use",
      "constraint": {
        "@type": "AtomicConstraint",
        "leftOperand": "location",
        "operator": {
          "@id": "odrl:eq"
        },
        "rightOperand": "eu"
      }
    }
  ],
  "prohibition": [],
  "obligation": []
}

Reading #

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

Policy set

A set of rules.

  1. Anyone may use an unspecified asset.

    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.