Re: Action vocabulary - final draft after call on 28 August

On 1 Sep 2014, at 18:31, Alapan <alapan@gmail.com> wrote:

> Of we are going to remove pay, I suggest we also include the possibility of split compensation, and multiple payees. 
> Example: 
> 1. Cost is 100 loyalty points from loyalty company and 50 Eur, money.

Yes, should be able to do that with 2 Duties..here is a rough example:

 <o:duty>
            <o:action name="http://www.w3.org/ns/odrl/2/compensate"/>
            <o:constraint name="http://www.w3.org/ns/odrl/2/payAmount" operator="http://www.w3.org/ns/odrl/2/eq" rightOperand="50.00"
                dataType="http://www.w3.org/2001/XMLSchema:decimal" unit="http://cvx.iptc.org/iso4217a:EUR"/>
            <o:party uid="http://example.com/alapan function="http://www.w3.org/ns/odrl/2/payeeParty"/>
  </o:duty>
 <o:duty>
            <o:action name="http://www.w3.org/ns/odrl/2/compensate"/>
            <o:constraint name="http://staralliance.org/pointsAmount" operator="http://www.w3.org/ns/odrl/2/eq" rightOperand="100"
                dataType="http://www.w3.org/2001/XMLSchema:integer" unit="http://staralliance.org/freqFlyPoints"/>
            <o:party uid="http://cathaypacific.com function="http://www.w3.org/ns/odrl/2/payeeParty"/>
  </o:duty>


Cheers...
Renato Iannella
Semantic Identity
http://semanticidentity.com
Mobile: +61 4 1313 2206

Received on Monday, 1 September 2014 12:59:19 UTC