Re: How can recurrent temporal constraints be expressed ?

The definition for the Datetime LeftOperand is:

 

https://www.w3.org/TR/odrl-vocab/#term-dateTime

 

The date (and optional time and timezone) of exercising the action of the Rule. Right operand value MUST be an xsd:date or xsd:dateTime as defined by [xmlschema11-2].

 

Considering the use of Camel - is this referring to a different LeftOperand?

 

Regards,

___________________________________

Joshua Cornejo

marketdata

embed open standards 

across your supply chain

 

From: Renato Iannella <r@iannel.la>
Date: Monday 20 May 2024 at 06:56
To: "public-odrl@w3.org Group" <public-odrl@w3.org>
Subject: Re: How can recurrent temporal constraints be expressed ?
Resent-From: <public-odrl@w3.org>
Resent-Date: Mon, 20 May 2024 05:55:53 +0000

 

 



On 17 May 2024, at 17:08, Sridhar Krishnamurthy <ksridhar@amagi.com> wrote:

 

   "constraint": [{
           "leftOperand": "dateTime",
           "operator": "gte",
           "rightOperand":  { "@value": "RRULE:FREQ=MONTHLY;INTERVAL=1;COUNT=1;UNTIL=2024-12-31",  }
       },{

 

The above would definitely need to add the datatype:

 

   "rightOperand":  { "@value": "RRULE:FREQ=MONTHLY;INTERVAL=1;COUNT=1;UNTIL=2024-12-31”,  “@type”: "https://www.iana.org/assignments/media-types/text/calendar” }

 

R

Received on Tuesday, 21 May 2024 07:38:40 UTC