xcap-caps.xsd 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="urn:ietf:params:xml:ns:xcap-caps" targetNamespace="urn:ietf:params:xml:ns:xcap-caps" elementFormDefault="qualified" attributeFormDefault="unqualified">
  3. <xs:element name="xcap-caps">
  4. <xs:annotation>
  5. <xs:documentation>Root element for xcap-caps</xs:documentation>
  6. </xs:annotation>
  7. <xs:complexType>
  8. <xs:sequence>
  9. <xs:element name="auids">
  10. <xs:annotation>
  11. <xs:documentation>List of supported AUID.</xs:documentation>
  12. </xs:annotation>
  13. <xs:complexType>
  14. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  15. <xs:element name="auid" type="auidType"/>
  16. </xs:sequence>
  17. </xs:complexType>
  18. </xs:element>
  19. <xs:element name="extensions">
  20. <xs:annotation>
  21. <xs:documentation>List of supported extensions.</xs:documentation>
  22. </xs:annotation>
  23. <xs:complexType>
  24. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  25. <xs:element name="extension" type="extensionType"/>
  26. </xs:sequence>
  27. </xs:complexType>
  28. </xs:element>
  29. <xs:element name="namespaces">
  30. <xs:annotation>
  31. <xs:documentation>List of supported namespaces.</xs:documentation>
  32. </xs:annotation>
  33. <xs:complexType>
  34. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  35. <xs:element name="namespace" type="namespaceType"/>
  36. </xs:sequence>
  37. </xs:complexType>
  38. </xs:element>
  39. <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
  40. </xs:sequence>
  41. </xs:complexType>
  42. </xs:element>
  43. <xs:simpleType name="auidType">
  44. <xs:annotation>
  45. <xs:documentation>AUID Type</xs:documentation>
  46. </xs:annotation>
  47. <xs:restriction base="xs:string"/>
  48. </xs:simpleType>
  49. <xs:simpleType name="extensionType">
  50. <xs:annotation>
  51. <xs:documentation>Extension Type</xs:documentation>
  52. </xs:annotation>
  53. <xs:restriction base="xs:string"/>
  54. </xs:simpleType>
  55. <xs:simpleType name="namespaceType">
  56. <xs:annotation>
  57. <xs:documentation>Namespace type</xs:documentation>
  58. </xs:annotation>
  59. <xs:restriction base="xs:anyURI"/>
  60. </xs:simpleType>
  61. </xs:schema>