Back to Requirements Document.
ODRL supports the expression of Rights Constraints. This is the recognised set of restrictions on the Permissions over the Asset.
<constraint> <CONSTRAINT-ELEMENT type="TYPE" status="VALUE"> <OPERATOR type="METER">value/right operand </OPERATOR> </CONSTRAINT-ELEMENT> </constraint>The operator type is always infix. The constraint element, such as country and datetime, serve as "left operand". The value within the operator element is always the "right operand". When the constraint is evaluated by the DRM system, the mathematical operation "
This is the list of issues the ODRL Initiative has considered, when addressing the respective requirement (see above).
IssueID: | State: | Comment: |
issue01 - Shall ODRLv2 allow for a context element to further specify the constraint? | in discussion | - |
issue02 - Shall ODRLv2 allow for nested constraints? | in discussion | - |
issue03 - How do we express "and", "or", "xor" constraints? | in discussion | - |
issue04 - Do we need type for a meter in the "right operand"? | in discussion | - |
issue05 - Do we need type for a meter in the "constraint"? | in discussion | - |
issue06 - Do we keep "count"? What does count exactly mean? | in discussion | - |
issue07 - How does the constraint - duty fulfilled look like? | in discussion | - |
issue08 - How does the OMA profile change with ODRLv2? | in discussion | - |
issue09 - Do we want to allow Unicode Mathematical Operators? | in discussion | - |
Pro:
<constraint> <individual> <equals>sguth </equals> </individual> </constraint>
Pro:
For example, the permission is granted if one/all/either one or the other constraint(s) is met.
Solution Approaches:For example, to indicate a time zone for datetime.
For example, to indicate the granularity of the spatial constraint (Country, City, Continent, etc.)
Does count always refer to the parent permission/or parent constraint? (See ODRL example #3 in version 1.1)
<constraint> <duty> <fulfilled>duty01</fulfilled> </duty> </constraint>
UNICODE-MATH-OPERATORS from u2200 - u22FF will be allowed additionally to common predefined operators, such as equals, less than, etc. With allowing the Unicode Mathematical Operators a large number of mathematical expressions can be formulated in ODRL, allowing for the expression of various constraints.
Examples:<constraint> <individual> <Uniode code="003d" label="equals">sguth</Unicode> </individual> </constraint>.. means the same as ...
<constraint> <individual> <equals>sguth</equals> </individual> </constraint>