From 31a05ee26296b87cf9052db28de9236bb18789d9 Mon Sep 17 00:00:00 2001 From: Jacobus Geluk Date: Wed, 4 Mar 2026 17:39:57 +0000 Subject: [PATCH] fix(examples): apply #165 data-rights JSON-LD variant on ballot/4 --- examples/data-rights/example.jsonld | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/examples/data-rights/example.jsonld b/examples/data-rights/example.jsonld index 9d3a08c..6a03398 100644 --- a/examples/data-rights/example.jsonld +++ b/examples/data-rights/example.jsonld @@ -13,21 +13,19 @@ "target": "https://data.org/data-product/equity-trade-xxx", "assigner": "https://schema.org/person/AdamSmith", "assignee": { - "@type": "odrl:PartyCollection", - "source": "https://example.org/DataDepartment", - "refinement": [ - { - "@type": "odrl:Constraint", - "leftOperand": "odrl:spatial", - "operator": "odrl:isAnyOf", - "rightOperand": [ - "reg:EMEA", - "reg:APAC" - ] - } - ] + "@type": "PartyCollection", + "source": "https://example.org/DataDepartment", + "refinement": [{ + "leftOperand": "odrl:spatial", + "operator": "odrl:isAnyOf", + "rightOperand": [ + "reg:EMEA", + "reg:APAC" + ], + "description": " Permission to read all the datasets of the product if user is working inside EMEA or APAC" + }] }, - "action": "odrl:use" + "action": "odrl:use", } ] }