common-schema.xsd 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
  3. elementFormDefault="qualified" attributeFormDefault="unqualified">
  4. <xs:import namespace="http://www.w3.org/XML/1998/namespace"
  5. schemaLocation="http://www.w3.org/2001/xml.xsd"/>
  6. <xs:simpleType name="Timestamp_t">
  7. <xs:annotation>
  8. <xs:documentation>Timestamp type</xs:documentation>
  9. </xs:annotation>
  10. <xs:restriction base="xs:dateTime"/>
  11. </xs:simpleType>
  12. <xs:simpleType name="deviceID_t">
  13. <xs:annotation>
  14. <xs:documentation>Device ID, a URN</xs:documentation>
  15. </xs:annotation>
  16. <xs:restriction base="xs:anyURI"/>
  17. </xs:simpleType>
  18. <xs:complexType name="Note_t">
  19. <xs:annotation>
  20. <xs:documentation>Note type</xs:documentation>
  21. </xs:annotation>
  22. <xs:simpleContent>
  23. <xs:extension base="xs:string">
  24. <xs:attribute ref="xml:lang"/>
  25. </xs:extension>
  26. </xs:simpleContent>
  27. </xs:complexType>
  28. <xs:attributeGroup name="fromUntil">
  29. <xs:attribute name="from" type="xs:dateTime"/>
  30. <xs:attribute name="until" type="xs:dateTime"/>
  31. </xs:attributeGroup>
  32. <xs:complexType name="empty"/>
  33. </xs:schema>