Schema ODRL-DD-09.xsd


schema location:  http://odrl.net/0.9/ODRL-DD-09.xsd
targetNamespace:  http://odrl.net/0.9/ODRL-DD
 
Elements  Complex types 
accumulated  feeType 
annotate 
copy 
count 
country 
cpu 
dateEvent 
datetime 
display 
execute 
fixedamount 
format 
give 
group 
individual 
interval 
lease 
lend 
location 
memory 
modify 
name 
network 
payment 
percentage 
peruse 
play 
postpay 
prepay 
print 
printer 
quality 
range 
recontext 
reference 
remark 
role 
screen 
sell 
software 
storage 
uid 
unit 
watermark 


schema location:  http://odrl.net/0.9/ODRL-EX-09.xsd
targetNamespace:  http://odrl.net/0.9/ODRL-EX
 
Elements  Complex types  Attr. groups 
asset  agreementType  IDGroup 
constraint  assetType 
constraintElement  constraintType 
container  containerType 
context  contextType 
contextElement  permissionType 
party  requirementType 
permission  rightsHolderType 
permissionElement  rightsType 
requiremetElement 
rights 
rightsHolderElement 


element accumulated
diagram
namespace http://odrl.net/0.9/ODRL-DD
type xsd:date
source
<xsd:element name="accumulated" type="xsd:duration" substitutionGroup="o-ex:constraintElement"/>

element annotate
diagram
namespace http://odrl.net/0.9/ODRL-DD
source
<xsd:element name="annotate" substitutionGroup="o-ex:permissionElement"/>

element copy
diagram
namespace http://odrl.net/0.9/ODRL-DD
source
<xsd:element name="copy" substitutionGroup="o-ex:permissionElement"/>

element count
diagram
namespace http://odrl.net/0.9/ODRL-DD
attributes
Name  Type  Use  Value  
start  xsd:decimal  optional    
end  xsd:decimal  optional    
source
<xsd:element name="count" substitutionGroup="o-ex:constraintElement">
  <xsd:complexType>
    <xsd:attribute name="start" use="optional">
      <xsd:simpleType>
        <xsd:restriction base="xsd:decimal">
          <xsd:minInclusive value="0"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:attribute>
    <xsd:attribute name="end" use="optional">
      <xsd:simpleType>
        <xsd:restriction base="xsd:decimal">
          <xsd:minInclusive value="0"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:attribute>
  </xsd:complexType> </xsd:element>

element country
diagram
namespace http://odrl.net/0.9/ODRL-DD
children o-ex:constraint o-ex:context
source
<xsd:element name="country" substitutionGroup="o-ex:constraintElement">
  <xsd:complexType>
    <xsd:choice minOccurs="0" maxOccurs="unbounded">
      <xsd:element ref="o-ex:constraint"/>
      <xsd:element ref="o-ex:context"/>
    </xsd:choice>
  </xsd:complexType> </xsd:element>

element cpu
diagram
namespace http://odrl.net/0.9/ODRL-DD
children o-ex:constraint o-ex:context
source
<xsd:element name="cpu" substitutionGroup="o-ex:constraintElement">
  <xsd:complexType>
    <xsd:choice minOccurs="0" maxOccurs="unbounded">
      <xsd:element ref="o-ex:constraint"/>
      <xsd:element ref="o-ex:context"/>
    </xsd:choice>
  </xsd:complexType> </xsd:element>

element dateEvent
diagram
namespace http://odrl.net/0.9/ODRL-DD
attributes
Name  Type  Use  Value  
date  xsd:date      
event  xsd:string      
source
<xsd:element name="dateEvent" substitutionGroup="o-ex:contextElement">
  <xsd:complexType>
    <xsd:attribute name="date" type="xsd:date"/>
    <xsd:attribute name="event" type="xsd:string"/>
  </xsd:complexType> </xsd:element>

element datetime
diagram
namespace http://odrl.net/0.9/ODRL-DD
attributes
Name  Type  Use  Value  
start  xsd:date  optional    
end  xsd:date  optional    
source
<xsd:element name="datetime" substitutionGroup="o-ex:constraintElement">
  <xsd:complexType>
    <xsd:attribute name="start" type="xsd:date" use="optional"/>
    <xsd:attribute name="end" type="xsd:date" use="optional"/>
  </xsd:complexType> </xsd:element>

element display
diagram
namespace http://odrl.net/0.9/ODRL-DD
source
<xsd:element name="display" substitutionGroup="o-ex:permissionElement"/>

element execute
diagram
namespace http://odrl.net/0.9/ODRL-DD
source
<xsd:element name="execute" substitutionGroup="o-ex:permissionElement"/>

element fixedamount
diagram
namespace http://odrl.net/0.9/ODRL-DD
type o-dd:feeType
children o-dd:payment
source
<xsd:element name="fixedamount" type="o-dd:feeType" substitutionGroup="o-ex:rightsHolderElement"/>

element format
diagram
namespace http://odrl.net/0.9/ODRL-DD
children o-ex:constraint
attributes
Name  Type  Use  Value  
type  xsd:QName      
source
<xsd:element name="format" substitutionGroup="o-ex:constraintElement">
  <xsd:complexType>
    <xsd:choice minOccurs="0" maxOccurs="unbounded">
      <xsd:element ref="o-ex:constraint"/>
    </xsd:choice>
    <xsd:attribute name="type" type="xsd:QName"/>
  </xsd:complexType> </xsd:element>

element give
diagram
namespace http://odrl.net/0.9/ODRL-DD
source
<xsd:element name="give" substitutionGroup="o-ex:permissionElement"/>

element group
diagram
namespace http://odrl.net/0.9/ODRL-DD
children o-ex:constraint o-ex:context
source
<xsd:element name="group" substitutionGroup="o-ex:constraintElement">
  <xsd:complexType>
    <xsd:choice minOccurs="0" maxOccurs="unbounded">
      <xsd:element ref="o-ex:constraint"/>
      <xsd:element ref="o-ex:context"/>
    </xsd:choice>
  </xsd:complexType> </xsd:element>

element individual
diagram
namespace http://odrl.net/0.9/ODRL-DD
children o-ex:constraint o-ex:context
source
<xsd:element name="individual" substitutionGroup="o-ex:constraintElement">
  <xsd:complexType>
    <xsd:choice minOccurs="0" maxOccurs="unbounded">
      <xsd:element ref="o-ex:constraint"/>
      <xsd:element ref="o-ex:context" minOccurs="0"/>
    </xsd:choice>
  </xsd:complexType> </xsd:element>

element interval
diagram
namespace http://odrl.net/0.9/ODRL-DD
type xsd:duration
source
<xsd:element name="interval" type="xsd:date" substitutionGroup="o-ex:constraintElement"/>

element lease
diagram
namespace http://odrl.net/0.9/ODRL-DD
source
<xsd:element name="lease" substitutionGroup="o-ex:permissionElement"/>

element lend
diagram
namespace http://odrl.net/0.9/ODRL-DD
source
<xsd:element name="lend" substitutionGroup="o-ex:permissionElement"/>

element location
diagram
namespace http://odrl.net/0.9/ODRL-DD
type xsd:string
source
<xsd:element name="location" type="xsd:string" substitutionGroup="o-ex:contextElement"/>

element memory
diagram
namespace http://odrl.net/0.9/ODRL-DD
children o-ex:constraint o-ex:context
source
<xsd:element name="memory" substitutionGroup="o-ex:constraintElement">
  <xsd:complexType>
    <xsd:choice minOccurs="0" maxOccurs="unbounded">
      <xsd:element ref="o-ex:constraint"/>
      <xsd:element ref="o-ex:context"/>
    </xsd:choice>
  </xsd:complexType> </xsd:element>

element modify
diagram
namespace http://odrl.net/0.9/ODRL-DD
source
<xsd:element name="modify" substitutionGroup="o-ex:permissionElement"/>

element name
diagram
namespace http://odrl.net/0.9/ODRL-DD
type xsd:string
source
<xsd:element name="name" type="xsd:string" substitutionGroup="o-ex:contextElement"/>

element network
diagram
namespace http://odrl.net/0.9/ODRL-DD
children o-ex:constraint o-ex:context
source
<xsd:element name="network" substitutionGroup="o-ex:constraintElement">
  <xsd:complexType>
    <xsd:choice minOccurs="0" maxOccurs="unbounded">
      <xsd:element ref="o-ex:constraint"/>
      <xsd:element ref="o-ex:context"/>
    </xsd:choice>
  </xsd:complexType> </xsd:element>

element payment
diagram
namespace http://odrl.net/0.9/ODRL-DD
children amount taxpercent
used by
complexType feeType
source
<xsd:element name="payment">
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="amount">
        <xsd:complexType>
          <xsd:simpleContent>
            <xsd:extension base="xsd:decimal">
              <xsd:attribute name="currency" type="xsd:NMTOKEN" use="required"/>
            </xsd:extension>
          </xsd:simpleContent>
        </xsd:complexType>
      </xsd:element>
      <xsd:element name="taxpercent" minOccurs="0">
        <xsd:complexType>
          <xsd:simpleContent>
            <xsd:extension base="xsd:decimal">
              <xsd:attribute name="code" type="xsd:NMTOKEN" use="required"/>
            </xsd:extension>
          </xsd:simpleContent>
        </xsd:complexType>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType> </xsd:element>

element payment/amount
diagram
namespace http://odrl.net/0.9/ODRL-DD
type extension of xsd:decimal
attributes
Name  Type  Use  Value  
currency  xsd:NMTOKEN  required    
source
<xsd:element name="amount">
  <xsd:complexType>
    <xsd:simpleContent>
      <xsd:extension base="xsd:decimal">
        <xsd:attribute name="currency" type="xsd:NMTOKEN" use="required"/>
      </xsd:extension>
    </xsd:simpleContent>
  </xsd:complexType> </xsd:element>

element payment/taxpercent
diagram
namespace http://odrl.net/0.9/ODRL-DD
type extension of xsd:decimal
attributes
Name  Type  Use  Value  
code  xsd:NMTOKEN  required    
source
<xsd:element name="taxpercent" minOccurs="0">
  <xsd:complexType>
    <xsd:simpleContent>
      <xsd:extension base="xsd:decimal">
        <xsd:attribute name="code" type="xsd:NMTOKEN" use="required"/>
      </xsd:extension>
    </xsd:simpleContent>
  </xsd:complexType> </xsd:element>

element percentage
diagram
namespace http://odrl.net/0.9/ODRL-DD
type restriction of xsd:decimal
facets
minInclusive 0
maxInclusive 100
source
<xsd:element name="percentage" substitutionGroup="o-ex:rightsHolderElement">
  <xsd:simpleType>
    <xsd:restriction base="xsd:decimal">
      <xsd:minInclusive value="0"/>
      <xsd:maxInclusive value="100"/>
    </xsd:restriction>
  </xsd:simpleType> </xsd:element>

element peruse
diagram
namespace http://odrl.net/0.9/ODRL-DD
type o-dd:feeType
children o-dd:payment
source
<xsd:element name="peruse" type="o-dd:feeType" substitutionGroup="o-ex:requiremetElement"/>

element play
diagram
namespace http://odrl.net/0.9/ODRL-DD
source
<xsd:element name="play" substitutionGroup="o-ex:permissionElement"/>

element postpay
diagram
namespace http://odrl.net/0.9/ODRL-DD
type o-dd:feeType
children o-dd:payment
source
<xsd:element name="postpay" type="o-dd:feeType" substitutionGroup="o-ex:requiremetElement"/>

element prepay
diagram
namespace http://odrl.net/0.9/ODRL-DD
type o-dd:feeType
children o-dd:payment
source
<xsd:element name="prepay" type="o-dd:feeType" substitutionGroup="o-ex:requiremetElement"/>

element print
diagram
namespace http://odrl.net/0.9/ODRL-DD
source
<xsd:element name="print" substitutionGroup="o-ex:permissionElement"/>

element printer
diagram
namespace http://odrl.net/0.9/ODRL-DD
children o-ex:constraint o-ex:context
source
<xsd:element name="printer" substitutionGroup="o-ex:constraintElement">
  <xsd:complexType>
    <xsd:choice minOccurs="0" maxOccurs="unbounded">
      <xsd:element ref="o-ex:constraint"/>
      <xsd:element ref="o-ex:context"/>
    </xsd:choice>
  </xsd:complexType> </xsd:element>

element quality
diagram
namespace http://odrl.net/0.9/ODRL-DD
children o-ex:constraint
attributes
Name  Type  Use  Value  
type  xsd:QName      
source
<xsd:element name="quality" substitutionGroup="o-ex:constraintElement">
  <xsd:complexType>
    <xsd:choice minOccurs="0" maxOccurs="unbounded">
      <xsd:element ref="o-ex:constraint"/>
    </xsd:choice>
    <xsd:attribute name="type" type="xsd:QName"/>
  </xsd:complexType> </xsd:element>

element range
diagram
namespace http://odrl.net/0.9/ODRL-DD
attributes
Name  Type  Use  Value  
min  xsd:decimal  optional    
max  xsd:decimal  optional    
source
<xsd:element name="range" substitutionGroup="o-ex:constraintElement">
  <xsd:complexType>
    <xsd:attribute name="min" type="xsd:decimal" use="optional"/>
    <xsd:attribute name="max" type="xsd:decimal" use="optional"/>
  </xsd:complexType> </xsd:element>

element recontext
diagram
namespace http://odrl.net/0.9/ODRL-DD
children o-ex:constraint
attributes
Name  Type  Use  Value  
value  xsd:boolean  required    
source
<xsd:element name="recontext" substitutionGroup="o-ex:constraintElement">
  <xsd:complexType>
    <xsd:choice minOccurs="0" maxOccurs="unbounded">
      <xsd:element ref="o-ex:constraint"/>
    </xsd:choice>
    <xsd:attribute name="value" type="xsd:boolean" use="required"/>
  </xsd:complexType> </xsd:element>

element reference
diagram
namespace http://odrl.net/0.9/ODRL-DD
type xsd:uriReference
source
<xsd:element name="reference" type="xsd:uriReference" substitutionGroup="o-ex:contextElement"/>

element remark
diagram