Duty advise gates on any sibling duty 01

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

SourceWhat it shows
duty-advise-gates-on-any-sibling-duty-01.ttldutyMode=Advise: a permission with TWO sibling odrl:duty entries is gated Inactive when ANY of them is violated, not only the first

Policy #

{
  "@context": [
    "http://www.w3.org/ns/odrl.jsonld",
    {
      "case": "https://ds-labs-org.github.io/ds-odrl-compliance-rdf/cases/duty-advise-gates-on-any-sibling-duty-01#",
      "dsc": "https://ds-labs-org.github.io/ds-odrl-compliance-rdf/ns#",
      "dpv": "https://w3id.org/dpv#",
      "foaf": "http://xmlns.com/foaf/0.1/",
      "vcard": "http://www.w3.org/2006/vcard/ns#"
    }
  ],
  "@graph": [
    {
      "@type": "Set",
      "uid": "case:policy-a",
      "assigner": "did:web:provider.example",
      "permission": [
        {
          "uid": "case:perm-read",
          "target": "case:asset-doc",
          "action": "read",
          "duty": [
            {
              "uid": "case:duty-ack",
              "target": "case:ack-log",
              "action": "inform",
              "constraint": [
                {
                  "leftOperand": {
                    "@id": "case:claim-ackGiven",
                    "@type": "dsc:ClaimKey",
                    "dsc:key": "ackGiven"
                  },
                  "operator": "eq",
                  "rightOperand": "true"
                }
              ]
            },
            {
              "uid": "case:duty-notify",
              "target": "case:notify-log",
              "action": "inform"
            }
          ]
        }
      ]
    }
  ]
}

Reading #

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

Policy set case:policy-a

A set of rules from did:web:provider.example (assigner).

  1. Anyone may read asset-doc, as permitted by the assigner did:web:provider.example.

    Duties to fulfil before this permission can be exercised:

    • The assignee must inform ack-log, as required by the assigner did:web:provider.example.

      Applies only if:

      • the claim ack given is equal to "true"
    • The assignee must inform notify-log, as required by the assigner did:web:provider.example.

The renderer raised no warning for this policy.

Back to the Compliance corpus or the catalog.