basicPolicy.xml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xs:schema
  3. targetNamespace="urn:ietf:params:xml:ns:pidf:geopriv10:basicPolicy"
  4. xmlns:tns="urn:ietf:params:xml:ns:pidf:geopriv10:basicPolicy"
  5. xmlns:xs="http://www.w3.org/2001/XMLSchema"
  6. elementFormDefault="qualified" attributeFormDefault="unqualified">
  7. <!-- This import brings in the XML language attribute xml:lang-->
  8. <xs:import namespace="http://www.w3.org/XML/1998/namespace"
  9. schemaLocation="http://www.w3.org/2001/xml.xsd"/>
  10. <xs:complexType name="locPolicyType">
  11. <xs:sequence>
  12. <xs:element name="retransmission-allowed" type="xs:boolean"
  13. minOccurs="0" maxOccurs="1"/>
  14. <xs:element name="retention-expiry" type="xs:dateTime"
  15. minOccurs="0" maxOccurs="1"/>
  16. <xs:element name="external-ruleset" type="xs:anyURI"
  17. minOccurs="0" maxOccurs="1"/>
  18. <xs:element name="note-well" type="tns:notewell"
  19. minOccurs="0" maxOccurs="1"/>
  20. <xs:any namespace="##other" processContents="lax" minOccurs="0"
  21. maxOccurs="unbounded"/>
  22. </xs:sequence>
  23. </xs:complexType>
  24. <xs:complexType name="notewell">
  25. <xs:simpleContent>
  26. <xs:extension base="xs:string">
  27. <xs:attribute ref="xml:lang" />
  28. </xs:extension>
  29. </xs:simpleContent>
  30. </xs:complexType>
  31. </xs:schema>