Schema ODRL-EX-09.xsd


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 asset
diagram
namespace http://odrl.net/0.9/ODRL-EX
type extension of o-ex:assetType
children o-ex:context
used by
complexTypes agreementType rightsHolderType rightsType
attributes
Name  Type  Use  Value  
id  xsd:ID      
idref  xsd:IDREF      
type  xsd:NMTOKEN      
source
<xsd:element name="asset">
  <xsd:complexType>
    <xsd:complexContent>
      <xsd:extension base="o-ex:assetType">
        <xsd:attributeGroup ref="o-ex:IDGroup"/>
        <xsd:attribute name="type">
          <xsd:simpleType>
            <xsd:restriction base="xsd:NMTOKEN">
              <xsd:enumeration value="work"/>
              <xsd:enumeration value="expression"/>
              <xsd:enumeration value="manifestation"/>
              <xsd:enumeration value="item"/>
            </xsd:restriction>
          </xsd:simpleType>
        </xsd:attribute>
      </xsd:extension>
    </xsd:complexContent>
  </xsd:complexType>
</xsd:element>

element constraint
diagram
namespace http://odrl.net/0.9/ODRL-EX
type extension of o-ex:constraintType
children o-ex:constraintElement o-ex:container
used by
complexTypes containerType permissionType
attributes
Name  Type  Use  Value  
id  xsd:ID      
idref  xsd:IDREF      
source
<xsd:element name="constraint">
  <xsd:complexType>
    <xsd:complexContent>
      <xsd:extension base="o-ex:constraintType">
        <xsd:attributeGroup ref="o-ex:IDGroup"/>
      </xsd:extension>
    </xsd:complexContent>
  </xsd:complexType>
</xsd:element>

element constraintElement
diagram
namespace http://odrl.net/0.9/ODRL-EX
type o-ex:constraintType
children o-ex:constraintElement o-ex:container
used by
complexTypes constraintType containerType
source
<xsd:element name="constraintElement" type="o-ex:constraintType" abstract="true"/>

element container
diagram
namespace http://odrl.net/0.9/ODRL-EX
type extension of o-ex:containerType
children o-ex:container o-ex:permission o-ex:permissionElement o-ex:constraintElement o-ex:requiremetElement o-ex:rightsHolderElement o-ex:constraint
used by
element party
complexTypes constraintType containerType permissionType requirementType
attributes
Name  Type  Use  Value  
type  xsd:NMTOKEN  required  and  
source
<xsd:element name="container">
  <xsd:complexType>
    <xsd:complexContent>
      <xsd:extension base="o-ex:containerType">
        <xsd:attribute name="type" use="required" value="and">
          <xsd:simpleType>
            <xsd:restriction base="xsd:NMTOKEN">
              <xsd:enumeration value="and"/>
              <xsd:enumeration value="in-or"/>
              <xsd:enumeration value="ex-or"/>
            </xsd:restriction>
          </xsd:simpleType>
        </xsd:attribute>
      </xsd:extension>
    </xsd:complexContent>
  </xsd:complexType>
</xsd:element>

element context
diagram
namespace http://odrl.net/0.9/ODRL-EX
type extension of o-ex:contextType
children o-ex:contextElement
used by
element party
complexTypes agreementType assetType rightsHolderType rightsType
attributes
Name  Type  Use  Value  
id  xsd:ID      
idref  xsd:IDREF      
source
<xsd:element name="context">
  <xsd:complexType>
    <xsd:complexContent>
      <xsd:extension base="o-ex:contextType">
        <xsd:attributeGroup ref="o-ex:IDGroup"/>
      </xsd:extension>
    </xsd:complexContent>
  </xsd:complexType>
</xsd:element>

element contextElement
diagram
namespace http://odrl.net/0.9/ODRL-EX
type o-ex:contextType
children o-ex:contextElement
used by
complexType contextType
source
<xsd:element name="contextElement" type="o-ex:contextType" abstract="true"/>

element party
diagram
namespace http://odrl.net/0.9/ODRL-EX
children o-ex:context o-ex:rightsHolderElement o-ex:party o-ex:container
used by
element party
complexTypes agreementType rightsHolderType
attributes
Name  Type  Use  Value  
id  xsd:ID      
idref  xsd:IDREF      
source
<xsd:element name="party">
  <xsd:complexType>
    <xsd:choice minOccurs="0" maxOccurs="unbounded">
      <xsd:element ref="o-ex:context" minOccurs="0"/>
      <xsd:element ref="o-ex:rightsHolderElement" minOccurs="0"/>
      <xsd:element ref="o-ex:party" minOccurs="0" maxOccurs="unbounded"/>
      <xsd:element ref="o-ex:container" minOccurs="0" maxOccurs="unbounded"/>
    </xsd:choice>
    <xsd:attributeGroup ref="o-ex:IDGroup"/>
  </xsd:complexType>
</xsd:element>

element permission
diagram
namespace http://odrl.net/0.9/ODRL-EX
type extension of o-ex:permissionType
children o-ex:permissionElement o-ex:container requirement o-ex:constraint
used by
complexTypes agreementType containerType rightsType
attributes
Name  Type  Use  Value  
exclusive  xsd:boolean  optional    
narrow  xsd:boolean  optional    
id  xsd:ID      
idref  xsd:IDREF      
source
<xsd:element name="permission">
  <xsd:complexType>
    <xsd:complexContent>
      <xsd:extension base="o-ex:permissionType">
        <xsd:attribute name="exclusive" type="xsd:boolean" use="optional"/>
        <xsd:attribute name="narrow" type="xsd:boolean" use="optional"/>
        <xsd:attributeGroup ref="o-ex:IDGroup"/>
      </xsd:extension>
    </xsd:complexContent>
  </xsd:complexType>
</xsd:element>

element permissionElement
diagram
namespace http://odrl.net/0.9/ODRL-EX
type o-ex:permissionType
children o-ex:permissionElement o-ex:container requirement o-ex:constraint
used by
complexTypes containerType permissionType
source
<xsd:element name="permissionElement" type="o-ex:permissionType" abstract="true"/>

element requiremetElement
diagram
namespace http://odrl.net/0.9/ODRL-EX
type o-ex:requirementType
children o-ex:requiremetElement o-ex:container
used by
complexTypes containerType requirementType
source
<xsd:element name="requiremetElement" type="o-ex:requirementType" abstract="true"/>

element rights
diagram
namespace http://odrl.net/0.9/ODRL-EX
type o-ex:rightsType
children o-ex:asset o-ex:permission agreement rightsholder o-ex:context
source
<xsd:element name="rights" type="o-ex:rightsType"/>

element rightsHolderElement
diagram
namespace http://odrl.net/0.9/ODRL-EX
type o-ex:rightsHolderType
children o-ex:context o-ex:party o-ex:asset
used by
element party
complexType containerType
source
<xsd:element name="rightsHolderElement" type="o-ex:rightsHolderType" abstract="true"/>

complexType agreementType
diagram
namespace http://odrl.net/0.9/ODRL-EX
children o-ex:party o-ex:asset o-ex:permission o-ex:context
used by
element rightsType/agreement
source
<xsd:complexType name="agreementType">
  <xsd:choice minOccurs="0" maxOccurs="unbounded">
    <xsd:element ref="o-ex:party" maxOccurs="unbounded"/>
    <xsd:element ref="o-ex:asset" maxOccurs="unbounded"/>
    <xsd:element ref="o-ex:permission" maxOccurs="unbounded"/>
    <xsd:element ref="o-ex:context" minOccurs="0"/>
  </xsd:choice>
</xsd:complexType>

complexType assetType
diagram
namespace http://odrl.net/0.9/ODRL-EX
children o-ex:context
used by
element asset
source
<xsd:complexType name="assetType">
  <xsd:choice minOccurs="0" maxOccurs="unbounded">
    <xsd:element ref="o-ex:context"/>
  </xsd:choice>
</xsd:complexType>

complexType constraintType
diagram
namespace http://odrl.net/0.9/ODRL-EX
children o-ex:constraintElement o-ex:container
used by
elements constraint constraintElement
source
<xsd:complexType name="constraintType">
  <xsd:choice minOccurs="0" maxOccurs="unbounded">
    <xsd:element ref="o-ex:constraintElement" minOccurs="0" maxOccurs="unbounded"/>
    <xsd:element ref="o-ex:container" minOccurs="0" maxOccurs="unbounded"/>
  </xsd:choice>
</xsd:complexType>

complexType containerType
diagram
namespace http://odrl.net/0.9/ODRL-EX
children o-ex:container o-ex:permission o-ex:permissionElement o-ex:constraintElement o-ex:requiremetElement o-ex:rightsHolderElement o-ex:constraint
used by
element container
source
<xsd:complexType name="containerType">
  <xsd:choice minOccurs="0" maxOccurs="unbounded">
    <xsd:element ref="o-ex:container" minOccurs="0" maxOccurs="unbounded"/>
    <xsd:element ref="o-ex:permission" minOccurs="0" maxOccurs="unbounded"/>
    <xsd:element ref="o-ex:permissionElement" minOccurs="0" maxOccurs="unbounded"/>
    <xsd:element ref="o-ex:constraintElement" minOccurs="0" maxOccurs="unbounded"/>
    <xsd:element ref="o-ex:requiremetElement" minOccurs="0" maxOccurs="unbounded"/>
    <xsd:element ref="o-ex:rightsHolderElement" minOccurs="0" maxOccurs="unbounded"/>
    <xsd:element ref="o-ex:constraint" minOccurs="0" maxOccurs="unbounded"/>
  </xsd:choice>
</xsd:complexType>

complexType contextType
diagram
namespace http://odrl.net/0.9/ODRL-EX
children o-ex:contextElement
used by
elements context contextElement
source
<xsd:complexType name="contextType">
  <xsd:choice minOccurs="0" maxOccurs="unbounded">
    <xsd:element ref="o-ex:contextElement" minOccurs="0" maxOccurs="unbounded"/>
  </xsd:choice>
</xsd:complexType>

complexType permissionType
diagram
namespace http://odrl.net/0.9/ODRL-EX
children o-ex:permissionElement o-ex:container requirement o-ex:constraint
used by
elements permission permissionElement
source
<xsd:complexType name="permissionType">
  <xsd:choice minOccurs="0" maxOccurs="unbounded">
    <xsd:element ref="o-ex:permissionElement" minOccurs="0" maxOccurs="unbounded"/>
    <xsd:element ref="o-ex:container" minOccurs="0" maxOccurs="unbounded"/>
    <xsd:element name="requirement" minOccurs="0" maxOccurs="unbounded">
      <xsd:complexType>
        <xsd:complexContent>
          <xsd:extension base="o-ex:requirementType">
            <xsd:attributeGroup ref="o-ex:IDGroup"/>
          </xsd:extension>
        </xsd:complexContent>
      </xsd:complexType>
    </xsd:element>
    <xsd:element ref="o-ex:constraint" minOccurs="0" maxOccurs="unbounded"/>
  </xsd:choice>
</xsd:complexType>

element permissionType/requirement
diagram
namespace http://odrl.net/0.9/ODRL-EX
type extension of o-ex:requirementType
children o-ex:requiremetElement o-ex:container
attributes
Name  Type  Use  Value  
id  xsd:ID      
idref  xsd:IDREF      
source
<xsd:element name="requirement" minOccurs="0" maxOccurs="unbounded">
  <xsd:complexType>
    <xsd:complexContent>
      <xsd:extension base="o-ex:requirementType">
        <xsd:attributeGroup ref="o-ex:IDGroup"/>
      </xsd:extension>
    </xsd:complexContent>
  </xsd:complexType>
</xsd:element>

complexType requirementType
diagram
namespace http://odrl.net/0.9/ODRL-EX
children o-ex:requiremetElement o-ex:container
used by
elements permissionType/requirement requiremetElement
source
<xsd:complexType name="requirementType">
  <xsd:sequence minOccurs="0" maxOccurs="unbounded">
    <xsd:element ref="o-ex:requiremetElement" minOccurs="0" maxOccurs="unbounded"/>
    <xsd:element ref="o-ex:container" minOccurs="0" maxOccurs="unbounded"/>
  </xsd:sequence>
</xsd:complexType>

complexType rightsHolderType
diagram
namespace http://odrl.net/0.9/ODRL-EX
children o-ex:context o-ex:party o-ex:asset
used by
elements rightsType/rightsholder rightsHolderElement
source
<xsd:complexType name="rightsHolderType">
  <xsd:choice minOccurs="0" maxOccurs="unbounded">
    <xsd:element ref="o-ex:context" minOccurs="0"/>
    <xsd:element ref="o-ex:party" maxOccurs="unbounded"/>
    <xsd:element ref="o-ex:asset" minOccurs="0"/>
  </xsd:choice>
</xsd:complexType>

complexType rightsType
diagram
namespace http://odrl.net/0.9/ODRL-EX
children o-ex:asset o-ex:permission agreement rightsholder o-ex:context
used by
element rights
source
<xsd:complexType name="rightsType">
  <xsd:choice maxOccurs="unbounded">
    <xsd:element ref="o-ex:asset" maxOccurs="unbounded"/>
    <xsd:element ref="o-ex:permission" maxOccurs="unbounded"/>
    <xsd:element name="agreement" minOccurs="0" maxOccurs="unbounded">
      <xsd:complexType>
        <xsd:complexContent>
          <xsd:extension base="o-ex:agreementType">
            <xsd:attributeGroup ref="o-ex:IDGroup"/>
          </xsd:extension>
        </xsd:complexContent>
      </xsd:complexType>
    </xsd:element>
    <xsd:element name="rightsholder" minOccurs="0" maxOccurs="unbounded">
      <xsd:complexType>
        <xsd:complexContent>
          <xsd:extension base="o-ex:rightsHolderType">
            <xsd:attributeGroup ref="o-ex:IDGroup"/>
          </xsd:extension>
        </xsd:complexContent>
      </xsd:complexType>
    </xsd:element>
    <xsd:element ref="o-ex:context" minOccurs="0"/>
  </xsd:choice>
</xsd:complexType>

element rightsType/agreement
diagram
namespace http://odrl.net/0.9/ODRL-EX
type extension of o-ex:agreementType
children o-ex:party o-ex:asset o-ex:permission o-ex:context
attributes
Name  Type  Use  Value  
id  xsd:ID      
idref  xsd:IDREF      
source
<xsd:element name="agreement" minOccurs="0" maxOccurs="unbounded">
  <xsd:complexType>
    <xsd:complexContent>
      <xsd:extension base="o-ex:agreementType">
        <xsd:attributeGroup ref="o-ex:IDGroup"/>
      </xsd:extension>
    </xsd:complexContent>
  </xsd:complexType>
</xsd:element>

element rightsType/rightsholder
diagram
namespace http://odrl.net/0.9/ODRL-EX
type extension of o-ex:rightsHolderType
children o-ex:context o-ex:party o-ex:asset
attributes
Name  Type  Use  Value  
id  xsd:ID      
idref  xsd:IDREF      
source
<xsd:element name="rightsholder" minOccurs="0" maxOccurs="unbounded">
  <xsd:complexType>
    <xsd:complexContent>
      <xsd:extension base="o-ex:rightsHolderType">
        <xsd:attributeGroup ref="o-ex:IDGroup"/>
      </xsd:extension>
    </xsd:complexContent>
  </xsd:complexType>
</xsd:element>

attributeGroup IDGroup
namespace http://odrl.net/0.9/ODRL-EX
used by
elements rightsType/agreement asset constraint context party permission permissionType/requirement rightsType/rightsholder
attributes
Name  Type  Use  Value  
id  xsd:ID      
idref  xsd:IDREF      
source
<xsd:attributeGroup name="IDGroup">
  <xsd:attribute name="id" type="xsd:ID"/>
  <xsd:attribute name="idref" type="xsd:IDREF"/>
</xsd:attributeGroup>


XML Schema documentation generated with
XML Spy Schema Editor www.xmlspy.com