Re: First Draft of Payment Links spec published

Just as an example, ODRL models the Payment value as an Asset.

We have a Duty (to pay):

       <o:duty uid="d1">
            <o:action name="o:pay"/>
            <o:asset uid="http://example.com/ubl:AUD0.50"/>
        </o:duty>

And then refer to the Asset:

<!-- External Asset -->
<ubl:PriceAmount xml:id="http://example.com/ubl:AUD0.50"
    xmlns:ubl="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"
    currencyID="AUD">0.50</ubl:PriceAmount>
<!-- External Asset -->


See full example in section 4.3 of [1]

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

[1] http://odrl.net/2.0/WD-ODRL-XML.html

Received on Wednesday, 12 October 2011 23:28:17 UTC