conference-info.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xs:schema xmlns:tns="urn:ietf:params:xml:ns:conference-info" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="urn:ietf:params:xml:ns:conference-info" targetNamespace="urn:ietf:params:xml:ns:conference-info" elementFormDefault="qualified" attributeFormDefault="unqualified">
  3. <!--
  4. This imports the xml:language definition
  5. -->
  6. <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/03/xml.xsd"/>
  7. <!--
  8. CONFERENCE ELEMENT
  9. -->
  10. <xs:element name="conference-info" type="conference-type"/>
  11. <!--
  12. CONFERENCE TYPE
  13. -->
  14. <xs:complexType name="conference-type">
  15. <xs:sequence>
  16. <xs:element name="conference-description" type="conference-description-type" minOccurs="0"/>
  17. <xs:element name="host-info" type="host-type" minOccurs="0"/>
  18. <xs:element name="conference-state" type="conference-state-type" minOccurs="0"/>
  19. <xs:element name="users" type="users-type" minOccurs="0"/>
  20. <xs:element name="sidebars-by-ref" type="uris-type" minOccurs="0"/>
  21. <xs:element name="sidebars-by-val" type="sidebars-by-val-type" minOccurs="0"/>
  22. <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  23. </xs:sequence>
  24. <xs:attribute name="entity" type="xs:anyURI" use="required"/>
  25. <xs:attribute name="state" type="state-type" use="optional" default="full"/>
  26. <xs:attribute name="version" type="xs:unsignedInt" use="optional"/>
  27. <xs:anyAttribute namespace="##other" processContents="lax"/>
  28. </xs:complexType>
  29. <!--
  30. STATE TYPE
  31. -->
  32. <xs:simpleType name="state-type">
  33. <xs:restriction base="xs:string">
  34. <xs:enumeration value="full"/>
  35. <xs:enumeration value="partial"/>
  36. <xs:enumeration value="deleted"/>
  37. </xs:restriction>
  38. </xs:simpleType>
  39. <!--
  40. CONFERENCE DESCRIPTION TYPE
  41. -->
  42. <xs:complexType name="conference-description-type">
  43. <xs:sequence>
  44. <xs:element name="display-text" type="xs:string" minOccurs="0"/>
  45. <xs:element name="subject" type="xs:string" minOccurs="0"/>
  46. <xs:element name="free-text" type="xs:string" minOccurs="0"/>
  47. <xs:element name="keywords" type="keywords-type" minOccurs="0"/>
  48. <xs:element name="conf-uris" type="uris-type" minOccurs="0"/>
  49. <xs:element name="service-uris" type="uris-type" minOccurs="0"/>
  50. <xs:element name="maximum-user-count" type="xs:unsignedInt" minOccurs="0"/>
  51. <xs:element name="available-media" type="conference-media-type" minOccurs="0"/>
  52. <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  53. </xs:sequence>
  54. <xs:anyAttribute namespace="##other" processContents="lax"/>
  55. </xs:complexType>
  56. <!--
  57. HOST TYPE
  58. -->
  59. <xs:complexType name="host-type">
  60. <xs:sequence>
  61. <xs:element name="display-text" type="xs:string" minOccurs="0"/>
  62. <xs:element name="web-page" type="xs:anyURI" minOccurs="0"/>
  63. <xs:element name="uris" type="uris-type" minOccurs="0"/>
  64. <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  65. </xs:sequence>
  66. <xs:anyAttribute namespace="##other" processContents="lax"/>
  67. </xs:complexType>
  68. <!--
  69. CONFERENCE STATE TYPE
  70. -->
  71. <xs:complexType name="conference-state-type">
  72. <xs:sequence>
  73. <xs:element name="user-count" type="xs:unsignedInt" minOccurs="0"/>
  74. <xs:element name="active" type="xs:boolean" minOccurs="0"/>
  75. <xs:element name="locked" type="xs:boolean" minOccurs="0"/>
  76. <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  77. </xs:sequence>
  78. <xs:anyAttribute namespace="##other" processContents="lax"/>
  79. </xs:complexType>
  80. <!--
  81. CONFERENCE MEDIA TYPE
  82. -->
  83. <xs:complexType name="conference-media-type">
  84. <xs:sequence>
  85. <xs:element name="entry" type="conference-medium-type" maxOccurs="unbounded"/>
  86. </xs:sequence>
  87. <xs:anyAttribute namespace="##other" processContents="lax"/>
  88. </xs:complexType>
  89. <!--
  90. CONFERENCE MEDIUM TYPE
  91. -->
  92. <xs:complexType name="conference-medium-type">
  93. <xs:sequence>
  94. <xs:element name="display-text" type="xs:string" minOccurs="0"/>
  95. <xs:element name="type" type="xs:string"/>
  96. <xs:element name="status" type="media-status-type" minOccurs="0"/>
  97. <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  98. </xs:sequence>
  99. <xs:attribute name="label" type="xs:string" use="required"/>
  100. <xs:anyAttribute namespace="##other" processContents="lax"/>
  101. </xs:complexType>
  102. <!--
  103. URIs TYPE
  104. -->
  105. <xs:complexType name="uris-type">
  106. <xs:sequence>
  107. <xs:element name="entry" type="uri-type" maxOccurs="unbounded"/>
  108. </xs:sequence>
  109. <xs:attribute name="state" type="state-type" use="optional" default="full"/>
  110. <xs:anyAttribute namespace="##other" processContents="lax"/>
  111. </xs:complexType>
  112. <!--
  113. URI TYPE
  114. -->
  115. <xs:complexType name="uri-type">
  116. <xs:sequence>
  117. <xs:element name="uri" type="xs:anyURI"/>
  118. <xs:element name="display-text" type="xs:string" minOccurs="0"/>
  119. <xs:element name="purpose" type="xs:string" minOccurs="0"/>
  120. <xs:element name="modified" type="execution-type" minOccurs="0"/>
  121. <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  122. </xs:sequence>
  123. <xs:anyAttribute namespace="##other" processContents="lax"/>
  124. </xs:complexType>
  125. <!--
  126. KEWORDS TYPE
  127. -->
  128. <xs:simpleType name="keywords-type">
  129. <xs:list itemType="xs:string"/>
  130. </xs:simpleType>
  131. <!--
  132. USERS TYPE
  133. -->
  134. <xs:complexType name="users-type">
  135. <xs:sequence>
  136. <xs:element name="user" type="user-type" minOccurs="0" maxOccurs="unbounded"/>
  137. <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  138. </xs:sequence>
  139. <xs:attribute name="state" type="state-type" use="optional" default="full"/>
  140. <xs:anyAttribute namespace="##other" processContents="lax"/>
  141. </xs:complexType>
  142. <!--
  143. USER TYPE
  144. -->
  145. <xs:complexType name="user-type">
  146. <xs:sequence>
  147. <xs:element name="display-text" type="xs:string" minOccurs="0"/>
  148. <xs:element name="associated-aors" type="uris-type" minOccurs="0"/>
  149. <xs:element name="roles" type="user-roles-type" minOccurs="0"/>
  150. <xs:element name="languages" type="user-languages-type" minOccurs="0"/>
  151. <xs:element name="cascaded-focus" type="xs:anyURI" minOccurs="0"/>
  152. <xs:element name="endpoint" type="endpoint-type" minOccurs="0" maxOccurs="unbounded"/>
  153. <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  154. </xs:sequence>
  155. <xs:attribute name="entity" type="xs:anyURI"/>
  156. <xs:attribute name="state" type="state-type" use="optional" default="full"/>
  157. <xs:anyAttribute namespace="##other" processContents="lax"/>
  158. </xs:complexType>
  159. <!--
  160. USER ROLES TYPE
  161. -->
  162. <xs:complexType name="user-roles-type">
  163. <xs:sequence>
  164. <xs:element name="entry" type="xs:string" maxOccurs="unbounded"/>
  165. </xs:sequence>
  166. <xs:anyAttribute namespace="##other" processContents="lax"/>
  167. </xs:complexType>
  168. <!--
  169. USER LANGUAGES TYPE
  170. -->
  171. <xs:simpleType name="user-languages-type">
  172. <xs:list itemType="xs:language"/>
  173. </xs:simpleType>
  174. <!--
  175. ENDPOINT TYPE
  176. -->
  177. <xs:complexType name="endpoint-type">
  178. <xs:sequence>
  179. <xs:element name="display-text" type="xs:string" minOccurs="0"/>
  180. <xs:element name="referred" type="execution-type" minOccurs="0"/>
  181. <xs:element name="status" type="endpoint-status-type" minOccurs="0"/>
  182. <xs:element name="joining-method" type="joining-type" minOccurs="0"/>
  183. <xs:element name="joining-info" type="execution-type" minOccurs="0"/>
  184. <xs:element name="disconnection-method" type="disconnection-type" minOccurs="0"/>
  185. <xs:element name="disconnection-info" type="execution-type" minOccurs="0"/>
  186. <xs:element name="media" type="media-type" minOccurs="0" maxOccurs="unbounded"/>
  187. <xs:element name="call-info" type="call-type" minOccurs="0"/>
  188. <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  189. </xs:sequence>
  190. <xs:attribute name="entity" type="xs:string"/>
  191. <xs:attribute name="state" type="state-type" use="optional" default="full"/>
  192. <xs:anyAttribute namespace="##other" processContents="lax"/>
  193. </xs:complexType>
  194. <!--
  195. ENDPOINT STATUS TYPE
  196. -->
  197. <xs:simpleType name="endpoint-status-type">
  198. <xs:restriction base="xs:string">
  199. <xs:enumeration value="pending"/>
  200. <xs:enumeration value="dialing-out"/>
  201. <xs:enumeration value="dialing-in"/>
  202. <xs:enumeration value="alerting"/>
  203. <xs:enumeration value="on-hold"/>
  204. <xs:enumeration value="connected"/>
  205. <xs:enumeration value="muted-via-focus"/>
  206. <xs:enumeration value="disconnecting"/>
  207. <xs:enumeration value="disconnected"/>
  208. </xs:restriction>
  209. </xs:simpleType>
  210. <!--
  211. JOINING TYPE
  212. -->
  213. <xs:simpleType name="joining-type">
  214. <xs:restriction base="xs:string">
  215. <xs:enumeration value="dialed-in"/>
  216. <xs:enumeration value="dialed-out"/>
  217. <xs:enumeration value="focus-owner"/>
  218. </xs:restriction>
  219. </xs:simpleType>
  220. <!--
  221. DISCONNECTION TYPE
  222. -->
  223. <xs:simpleType name="disconnection-type">
  224. <xs:restriction base="xs:string">
  225. <xs:enumeration value="departed"/>
  226. <xs:enumeration value="booted"/>
  227. <xs:enumeration value="failed"/>
  228. <xs:enumeration value="busy"/>
  229. </xs:restriction>
  230. </xs:simpleType>
  231. <!--
  232. EXECUTION TYPE
  233. -->
  234. <xs:complexType name="execution-type">
  235. <xs:sequence>
  236. <xs:element name="when" type="xs:dateTime" minOccurs="0"/>
  237. <xs:element name="reason" type="xs:string" minOccurs="0"/>
  238. <xs:element name="by" type="xs:anyURI" minOccurs="0"/>
  239. </xs:sequence>
  240. <xs:anyAttribute namespace="##other" processContents="lax"/>
  241. </xs:complexType>
  242. <!--
  243. CALL TYPE
  244. -->
  245. <xs:complexType name="call-type">
  246. <xs:choice>
  247. <xs:element name="sip" type="sip-dialog-id-type"/>
  248. <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  249. </xs:choice>
  250. <xs:anyAttribute namespace="##other" processContents="lax"/>
  251. </xs:complexType>
  252. <!--
  253. SIP DIALOG ID TYPE
  254. -->
  255. <xs:complexType name="sip-dialog-id-type">
  256. <xs:sequence>
  257. <xs:element name="display-text" type="xs:string" minOccurs="0"/>
  258. <xs:element name="call-id" type="xs:string"/>
  259. <xs:element name="from-tag" type="xs:string"/>
  260. <xs:element name="to-tag" type="xs:string"/>
  261. <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  262. </xs:sequence>
  263. <xs:anyAttribute namespace="##other" processContents="lax"/>
  264. </xs:complexType>
  265. <!--
  266. MEDIA TYPE
  267. -->
  268. <xs:complexType name="media-type">
  269. <xs:sequence>
  270. <xs:element name="display-text" type="xs:string" minOccurs="0"/>
  271. <xs:element name="type" type="xs:string" minOccurs="0"/>
  272. <xs:element name="label" type="xs:string" minOccurs="0"/>
  273. <xs:element name="src-id" type="xs:string" minOccurs="0"/>
  274. <xs:element name="status" type="media-status-type" minOccurs="0"/>
  275. <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  276. </xs:sequence>
  277. <xs:attribute name="id" type="xs:string" use="required"/>
  278. <xs:anyAttribute namespace="##other" processContents="lax"/>
  279. </xs:complexType>
  280. <!--
  281. MEDIA STATUS TYPE
  282. -->
  283. <xs:simpleType name="media-status-type">
  284. <xs:restriction base="xs:string">
  285. <xs:enumeration value="recvonly"/>
  286. <xs:enumeration value="sendonly"/>
  287. <xs:enumeration value="sendrecv"/>
  288. <xs:enumeration value="inactive"/>
  289. </xs:restriction>
  290. </xs:simpleType>
  291. <!--
  292. SIDEBARS BY VAL TYPE
  293. -->
  294. <xs:complexType name="sidebars-by-val-type">
  295. <xs:sequence>
  296. <xs:element name="entry" type="conference-type" minOccurs="0" maxOccurs="unbounded"/>
  297. </xs:sequence>
  298. <xs:attribute name="state" type="state-type" use="optional" default="full"/>
  299. <xs:anyAttribute namespace="##other" processContents="lax"/>
  300. </xs:complexType>
  301. </xs:schema>