[Odrl-version2] Duty?

ri at odrl.net ri at odrl.net
Tue Mar 23 23:29:11 EST 2010


Stuart - the current Draft Spec Model [1] defines the difference between Constraints and Duties:

Constraint = indicates limits and restriction to the Permission, the Prohibition and the Duty entity
Duty = indicates a requirement that must be fulfilled in return for being entitled to the containing Permission entity

The WD Common Vocab [2] defines Attribution as a Duty (only).

From the current WD XML Encoding [3], your 1st example may look like:

    <o:permission>
        <o:action name="http://odrl.net/2.0/action/display"/>
        <o:duty>
           <o:action name="http://odrl.net/2.0/action/attribution"/>
           <o:object measure="http://odrl.net/2.0/object/text" value="Stuart Myles"/>   (*)
         </o:duty>
     </o:permission>

(*) need to add this to the Common Vocab

Cheers - Renato

[1] http://odrl.net/2.0/DS-ODRL-Model.html
[2] http://odrl.net/2.0/WD-ODRL-Vocab.html
[3] http://odrl.net/2.0/WD-ODRL-XML.html





More information about the Odrl-version2 mailing list