o:Policy

Complex Type Information

Model

o:permission* , o:prohibition* , ANY element from ANY namespace OTHER than 'http://www.w3.org/ns/odrl/2/'

Attributes

QName Type Fixed Default Use Inheritable Annotation
conflict o:ConflictTerm optional
inheritAllowed xs:boolean optional
inheritFrom o:URIQnameQcode optional
inheritRelation o:URIQnameQcode optional
profile o:URIQnameQcode optional
type o:URIQnameQcode required
uid o:URIQnameQcode required
undefined o:UndefinedTerm optional
Wildcard: ANY attribute from ANY namespace OTHER than 'http://www.w3.org/ns/odrl/2/'

Used By

Element o:Policy

Source

<xs:complexType name="Policy">
  <xs:sequence minOccurs="0" maxOccurs="unbounded">
    <xs:element ref="o:permission" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element ref="o:prohibition" minOccurs="0" maxOccurs="unbounded"/>
    <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  </xs:sequence>
  <xs:attribute name="uid" type="o:URIQnameQcode" use="required"/>
  <xs:attribute name="type" type="o:URIQnameQcode" use="required"/>
  <xs:attribute name="conflict" type="o:ConflictTerm"/>
  <xs:attribute name="undefined" type="o:UndefinedTerm"/>
  <xs:attribute name="inheritAllowed" type="xs:boolean"/>
  <xs:attribute name="inheritFrom" type="o:URIQnameQcode"/>
  <xs:attribute name="inheritRelation" type="o:URIQnameQcode"/>
  <xs:attribute name="profile" type="o:URIQnameQcode"/>
  <xs:anyAttribute namespace="##other" processContents="lax"/>
</xs:complexType>