class.xsd 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  3. <xs:element name="class">
  4. <xs:complexType>
  5. <xs:sequence>
  6. <xs:element type="xs:string" name="brief_description" />
  7. <xs:element type="xs:string" name="description" />
  8. <xs:element name="tutorials">
  9. <xs:complexType>
  10. <xs:sequence>
  11. <xs:element name="link" maxOccurs="unbounded" minOccurs="0">
  12. <xs:complexType>
  13. <xs:simpleContent>
  14. <xs:extension base="xs:string">
  15. <xs:attribute type="xs:string" name="title" use="optional" />
  16. </xs:extension>
  17. </xs:simpleContent>
  18. </xs:complexType>
  19. </xs:element>
  20. </xs:sequence>
  21. </xs:complexType>
  22. </xs:element>
  23. <xs:element name="constructors" minOccurs="0">
  24. <xs:complexType>
  25. <xs:sequence>
  26. <xs:element name="constructor" maxOccurs="unbounded" minOccurs="0">
  27. <xs:complexType>
  28. <xs:sequence>
  29. <xs:element name="return" minOccurs="0">
  30. <xs:complexType>
  31. <xs:sequence>
  32. <xs:sequence />
  33. </xs:sequence>
  34. <xs:attribute type="xs:string" name="type" />
  35. <xs:attribute type="xs:string" name="enum" use="optional" />
  36. </xs:complexType>
  37. </xs:element>
  38. <xs:element name="param" maxOccurs="unbounded" minOccurs="0">
  39. <xs:complexType>
  40. <xs:sequence>
  41. <xs:sequence />
  42. </xs:sequence>
  43. <xs:attribute type="xs:byte" name="index" />
  44. <xs:attribute type="xs:string" name="name" />
  45. <xs:attribute type="xs:string" name="type" />
  46. <xs:attribute type="xs:string" name="enum" use="optional" />
  47. <xs:attribute type="xs:string" name="default" use="optional" />
  48. </xs:complexType>
  49. </xs:element>
  50. <xs:element type="xs:string" name="description" />
  51. </xs:sequence>
  52. <xs:attribute type="xs:string" name="name" use="optional" />
  53. <xs:attribute type="xs:string" name="qualifiers" use="optional" />
  54. </xs:complexType>
  55. </xs:element>
  56. </xs:sequence>
  57. </xs:complexType>
  58. </xs:element>
  59. <xs:element name="methods" minOccurs="0">
  60. <xs:complexType>
  61. <xs:sequence>
  62. <xs:element name="method" maxOccurs="unbounded" minOccurs="0">
  63. <xs:complexType>
  64. <xs:sequence>
  65. <xs:element name="return" minOccurs="0">
  66. <xs:complexType>
  67. <xs:sequence>
  68. <xs:sequence />
  69. </xs:sequence>
  70. <xs:attribute type="xs:string" name="type" />
  71. <xs:attribute type="xs:string" name="enum" use="optional" />
  72. </xs:complexType>
  73. </xs:element>
  74. <xs:element name="returns_error" maxOccurs="unbounded" minOccurs="0">
  75. <xs:complexType>
  76. <xs:sequence>
  77. <xs:sequence />
  78. </xs:sequence>
  79. <xs:attribute type="xs:byte" name="number" />
  80. </xs:complexType>
  81. </xs:element>
  82. <xs:element name="param" maxOccurs="unbounded" minOccurs="0">
  83. <xs:complexType>
  84. <xs:sequence>
  85. <xs:sequence />
  86. </xs:sequence>
  87. <xs:attribute type="xs:byte" name="index" />
  88. <xs:attribute type="xs:string" name="name" />
  89. <xs:attribute type="xs:string" name="type" />
  90. <xs:attribute type="xs:string" name="enum" use="optional" />
  91. <xs:attribute type="xs:string" name="default" use="optional" />
  92. </xs:complexType>
  93. </xs:element>
  94. <xs:element type="xs:string" name="description" />
  95. </xs:sequence>
  96. <xs:attribute type="xs:string" name="name" use="optional" />
  97. <xs:attribute type="xs:string" name="qualifiers" use="optional" />
  98. <xs:attribute type="xs:boolean" name="is_deprecated" use="optional" />
  99. <xs:attribute type="xs:boolean" name="is_experimental" use="optional" />
  100. </xs:complexType>
  101. </xs:element>
  102. </xs:sequence>
  103. </xs:complexType>
  104. </xs:element>
  105. <xs:element name="members" minOccurs="0">
  106. <xs:complexType>
  107. <xs:choice maxOccurs="unbounded" minOccurs="0">
  108. <xs:element name="member">
  109. <xs:complexType>
  110. <xs:simpleContent>
  111. <xs:extension base="xs:string">
  112. <xs:attribute type="xs:string" name="name" />
  113. <xs:attribute type="xs:string" name="type" />
  114. <xs:attribute type="xs:string" name="setter" />
  115. <xs:attribute type="xs:string" name="getter" />
  116. <xs:attribute type="xs:string" name="overrides" use="optional" />
  117. <xs:attribute type="xs:string" name="enum" use="optional" />
  118. <xs:attribute type="xs:string" name="default" use="optional" />
  119. <xs:attribute type="xs:boolean" name="is_deprecated" use="optional" />
  120. <xs:attribute type="xs:boolean" name="is_experimental" use="optional" />
  121. </xs:extension>
  122. </xs:simpleContent>
  123. </xs:complexType>
  124. </xs:element>
  125. </xs:choice>
  126. </xs:complexType>
  127. </xs:element>
  128. <xs:element name="signals" minOccurs="0">
  129. <xs:complexType>
  130. <xs:sequence>
  131. <xs:element name="signal" maxOccurs="unbounded" minOccurs="0">
  132. <xs:complexType>
  133. <xs:sequence>
  134. <xs:element name="param" maxOccurs="unbounded" minOccurs="0">
  135. <xs:complexType>
  136. <xs:sequence>
  137. <xs:sequence />
  138. </xs:sequence>
  139. <xs:attribute type="xs:byte" name="index" />
  140. <xs:attribute type="xs:string" name="name" />
  141. <xs:attribute type="xs:string" name="type" />
  142. </xs:complexType>
  143. </xs:element>
  144. <xs:element type="xs:string" name="description" />
  145. </xs:sequence>
  146. <xs:attribute type="xs:string" name="name" use="optional" />
  147. </xs:complexType>
  148. </xs:element>
  149. </xs:sequence>
  150. </xs:complexType>
  151. </xs:element>
  152. <xs:element name="constants" minOccurs="0">
  153. <xs:complexType>
  154. <xs:sequence>
  155. <xs:element name="constant" maxOccurs="unbounded" minOccurs="0">
  156. <xs:complexType>
  157. <xs:simpleContent>
  158. <xs:extension base="xs:string">
  159. <xs:attribute type="xs:string" name="name" />
  160. <xs:attribute type="xs:string" name="value" />
  161. <xs:attribute type="xs:string" name="enum" use="optional" />
  162. <xs:attribute type="xs:boolean" name="is_bitfield" use="optional" />
  163. <xs:attribute type="xs:boolean" name="is_deprecated" use="optional" />
  164. <xs:attribute type="xs:boolean" name="is_experimental" use="optional" />
  165. </xs:extension>
  166. </xs:simpleContent>
  167. </xs:complexType>
  168. </xs:element>
  169. </xs:sequence>
  170. </xs:complexType>
  171. </xs:element>
  172. <xs:element name="annotations" minOccurs="0">
  173. <xs:complexType>
  174. <xs:sequence>
  175. <xs:element name="annotation" maxOccurs="unbounded" minOccurs="0">
  176. <xs:complexType>
  177. <xs:sequence>
  178. <xs:element name="return" minOccurs="0">
  179. <xs:complexType>
  180. <xs:sequence>
  181. <xs:sequence />
  182. </xs:sequence>
  183. <xs:attribute type="xs:string" name="type" />
  184. <xs:attribute type="xs:string" name="enum" use="optional" />
  185. </xs:complexType>
  186. </xs:element>
  187. <xs:element name="param" maxOccurs="unbounded" minOccurs="0">
  188. <xs:complexType>
  189. <xs:sequence>
  190. <xs:sequence />
  191. </xs:sequence>
  192. <xs:attribute type="xs:byte" name="index" />
  193. <xs:attribute type="xs:string" name="name" />
  194. <xs:attribute type="xs:string" name="type" />
  195. <xs:attribute type="xs:string" name="enum" use="optional" />
  196. <xs:attribute type="xs:string" name="default" use="optional" />
  197. </xs:complexType>
  198. </xs:element>
  199. <xs:element type="xs:string" name="description" />
  200. </xs:sequence>
  201. <xs:attribute type="xs:string" name="name" use="optional" />
  202. <xs:attribute type="xs:string" name="qualifiers" use="optional" />
  203. </xs:complexType>
  204. </xs:element>
  205. </xs:sequence>
  206. </xs:complexType>
  207. </xs:element>
  208. <xs:element name="theme_items" minOccurs="0">
  209. <xs:complexType>
  210. <xs:sequence>
  211. <xs:element name="theme_item" maxOccurs="unbounded" minOccurs="0">
  212. <xs:complexType>
  213. <xs:simpleContent>
  214. <xs:extension base="xs:string">
  215. <xs:attribute type="xs:string" name="name" />
  216. <xs:attribute type="xs:string" name="data_type" />
  217. <xs:attribute type="xs:string" name="type" />
  218. <xs:attribute type="xs:string" name="default" use="optional" />
  219. </xs:extension>
  220. </xs:simpleContent>
  221. </xs:complexType>
  222. </xs:element>
  223. </xs:sequence>
  224. </xs:complexType>
  225. </xs:element>
  226. <xs:element name="operators" minOccurs="0">
  227. <xs:complexType>
  228. <xs:sequence>
  229. <xs:element name="operator" maxOccurs="unbounded" minOccurs="0">
  230. <xs:complexType>
  231. <xs:sequence>
  232. <xs:element name="return" minOccurs="0">
  233. <xs:complexType>
  234. <xs:sequence>
  235. <xs:sequence />
  236. </xs:sequence>
  237. <xs:attribute type="xs:string" name="type" />
  238. <xs:attribute type="xs:string" name="enum" use="optional" />
  239. </xs:complexType>
  240. </xs:element>
  241. <xs:element name="param" maxOccurs="unbounded" minOccurs="0">
  242. <xs:complexType>
  243. <xs:sequence>
  244. <xs:sequence />
  245. </xs:sequence>
  246. <xs:attribute type="xs:byte" name="index" />
  247. <xs:attribute type="xs:string" name="name" />
  248. <xs:attribute type="xs:string" name="type" />
  249. <xs:attribute type="xs:string" name="enum" use="optional" />
  250. <xs:attribute type="xs:string" name="default" use="optional" />
  251. </xs:complexType>
  252. </xs:element>
  253. <xs:element type="xs:string" name="description" />
  254. </xs:sequence>
  255. <xs:attribute type="xs:string" name="name" use="optional" />
  256. <xs:attribute type="xs:string" name="qualifiers" use="optional" />
  257. </xs:complexType>
  258. </xs:element>
  259. </xs:sequence>
  260. </xs:complexType>
  261. </xs:element>
  262. </xs:sequence>
  263. <xs:attribute type="xs:string" name="name" />
  264. <xs:attribute type="xs:string" name="inherits" />
  265. <xs:attribute type="xs:boolean" name="is_deprecated" use="optional" />
  266. <xs:attribute type="xs:boolean" name="is_experimental" use="optional" />
  267. <xs:attribute type="xs:float" name="version" />
  268. </xs:complexType>
  269. </xs:element>
  270. </xs:schema>