module-1_1.xsd 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ JBoss, Home of Professional Open Source.
  4. ~ Copyright 2012, Red Hat, Inc., and individual contributors
  5. ~ as indicated by the @author tags. See the copyright.txt file in the
  6. ~ distribution for a full listing of individual contributors.
  7. ~
  8. ~ This is free software; you can redistribute it and/or modify it
  9. ~ under the terms of the GNU Lesser General Public License as
  10. ~ published by the Free Software Foundation; either version 2.1 of
  11. ~ the License, or (at your option) any later version.
  12. ~
  13. ~ This software is distributed in the hope that it will be useful,
  14. ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  16. ~ Lesser General Public License for more details.
  17. ~
  18. ~ You should have received a copy of the GNU Lesser General Public
  19. ~ License along with this software; if not, write to the Free
  20. ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  21. ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
  22. -->
  23. <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  24. targetNamespace="urn:jboss:module:1.1"
  25. xmlns="urn:jboss:module:1.1"
  26. elementFormDefault="qualified"
  27. attributeFormDefault="unqualified"
  28. version="1.0">
  29. <!-- Root element -->
  30. <xsd:element name="module" type="moduleType">
  31. <xsd:annotation>
  32. <xsd:documentation>
  33. Root element for a module declaration.
  34. </xsd:documentation>
  35. </xsd:annotation>
  36. </xsd:element>
  37. <!-- Root element -->
  38. <xsd:element name="configuration" type="configurationType">
  39. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  40. <documentation>
  41. Root element for a filesystem module loader configuration.
  42. </documentation>
  43. </annotation>
  44. </xsd:element>
  45. <!-- Root element -->
  46. <xsd:element name="module-alias" type="moduleAliasType">
  47. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  48. <documentation>
  49. Root element for a module alias declaration.
  50. </documentation>
  51. </annotation>
  52. </xsd:element>
  53. <xsd:complexType name="moduleType">
  54. <xsd:annotation>
  55. <xsd:documentation>
  56. The module declaration type; contains dependencies, resources, and the main class
  57. specification.
  58. </xsd:documentation>
  59. </xsd:annotation>
  60. <xsd:all>
  61. <xsd:element name="exports" type="filterType" minOccurs="0">
  62. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  63. <documentation>
  64. Lists filter expressions to apply to the export filter of the local resources of this module
  65. (optional). By default, everything is exported. If filter expressions are provided, the default
  66. action is to accept all paths if no filters match.
  67. </documentation>
  68. </annotation>
  69. </xsd:element>
  70. <xsd:element name="dependencies" type="dependenciesType" minOccurs="0">
  71. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  72. <documentation>
  73. Lists the dependencies of this module (optional).
  74. </documentation>
  75. </annotation>
  76. </xsd:element>
  77. <xsd:element name="resources" type="resourcesType" minOccurs="0">
  78. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  79. <documentation>
  80. Lists the resource roots of this module (optional).
  81. </documentation>
  82. </annotation>
  83. </xsd:element>
  84. <xsd:element name="main-class" type="classNameType" minOccurs="0">
  85. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  86. <documentation>
  87. Specifies the main class of this module; used to run the module from the command-line
  88. (optional).
  89. </documentation>
  90. </annotation>
  91. </xsd:element>
  92. <xsd:element name="properties" type="propertyListType" minOccurs="0">
  93. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  94. <documentation>
  95. Lists the user-defined properties to be associated with this module (optional).
  96. </documentation>
  97. </annotation>
  98. </xsd:element>
  99. </xsd:all>
  100. <xsd:attribute name="name" type="moduleNameType" use="required">
  101. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  102. <documentation>
  103. The name of this module (required).
  104. </documentation>
  105. </annotation>
  106. </xsd:attribute>
  107. <xsd:attribute name="slot" type="moduleSlotType" use="optional">
  108. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  109. <documentation>
  110. The version slot of this module (optional).
  111. </documentation>
  112. </annotation>
  113. </xsd:attribute>
  114. </xsd:complexType>
  115. <xsd:simpleType name="moduleNameType">
  116. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  117. <documentation>
  118. A module name, which consists of one or more dot (.)-separated segments. Each segment must begin and end
  119. with an alphanumeric or underscore (_), and may otherwise contain alphanumerics, underscores, and hyphens
  120. (-).
  121. </documentation>
  122. </annotation>
  123. <xsd:restriction base="xsd:string">
  124. <xsd:pattern value="[a-zA-Z0-9_]([-a-zA-Z0-9_]*[a-zA-Z0-9_])?(\.[a-zA-Z0-9_]([-a-zA-Z0-9_]*[a-zA-Z0-9_])?)*"/>
  125. </xsd:restriction>
  126. </xsd:simpleType>
  127. <xsd:simpleType name="moduleSlotType">
  128. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  129. <documentation>
  130. A module version slot. A slot may consist of one or more alphanumerics, hyphens (-), underscores (_),
  131. plus signs (+), asterisks (*), or dots (.).
  132. </documentation>
  133. </annotation>
  134. <xsd:restriction base="xsd:string">
  135. <xsd:pattern value="[-a-zA-Z0-9_+*.]+"/>
  136. </xsd:restriction>
  137. </xsd:simpleType>
  138. <xsd:complexType name="dependenciesType">
  139. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  140. <documentation>
  141. A list of zero or more module dependencies.
  142. </documentation>
  143. </annotation>
  144. <xsd:choice minOccurs="0" maxOccurs="unbounded">
  145. <xsd:element name="module" type="moduleDependencyType">
  146. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  147. <documentation>
  148. A specified module dependency.
  149. </documentation>
  150. </annotation>
  151. </xsd:element>
  152. <xsd:element name="system" type="systemDependencyType">
  153. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  154. <documentation>
  155. A dependency on the system (or embedding) class loader.
  156. </documentation>
  157. </annotation>
  158. </xsd:element>
  159. </xsd:choice>
  160. </xsd:complexType>
  161. <xsd:complexType name="moduleDependencyType">
  162. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  163. <documentation>
  164. A single module dependency expression.
  165. </documentation>
  166. </annotation>
  167. <xsd:all minOccurs="0">
  168. <xsd:element name="exports" type="filterType" minOccurs="0">
  169. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  170. <documentation>
  171. A filter used to restrict what packages or directories from this dependency are re-exported by
  172. this module. See also the "export" and "services" attributes. The default action of this filter
  173. list is controlled by the value of the "export" attribute. Regardless of the setting of these
  174. attributes, this filter always behaves as if it has a final entry which rejects META-INF and
  175. all of its subdirectories.
  176. </documentation>
  177. </annotation>
  178. </xsd:element>
  179. <xsd:element name="imports" type="filterType" minOccurs="0">
  180. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  181. <documentation>
  182. A filter used to restrict what packages or directories from this dependency are visible to this
  183. module. See also the "services" attribute. The default action of this filter list is to reject
  184. a path if not matched.
  185. </documentation>
  186. </annotation>
  187. </xsd:element>
  188. </xsd:all>
  189. <xsd:attribute name="name" type="moduleNameType" use="required">
  190. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  191. <documentation>
  192. The dependency module name (required).
  193. </documentation>
  194. </annotation>
  195. </xsd:attribute>
  196. <xsd:attribute name="slot" type="moduleSlotType" use="optional">
  197. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  198. <documentation>
  199. The dependency module version slot (optional).
  200. </documentation>
  201. </annotation>
  202. </xsd:attribute>
  203. <xsd:attribute name="export" type="xsd:boolean" use="optional" default="false">
  204. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  205. <documentation>
  206. Specifies whether this module dependency is re-exported by default (default is "false"). Setting
  207. this attribute to true sets the default action for the export filter list to "accept"; leaving it
  208. as false sets the default action to "reject". Thus you can still export dependency resources even
  209. if this attribute is false by listing explicit paths for the export list.
  210. </documentation>
  211. </annotation>
  212. </xsd:attribute>
  213. <xsd:attribute name="services" type="serviceDispositionType" use="optional" default="none">
  214. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  215. <documentation>
  216. Specifies whether and how services found in this dependency are used (default is "none"). Specifying
  217. a value of "import" for this attribute is equivalent to adding a filter at the end of the import
  218. filter list which includes the META-INF/services path from the dependency module. Setting a value
  219. of "export" for this attribute is equivalent to the same action on the export filter list.
  220. </documentation>
  221. </annotation>
  222. </xsd:attribute>
  223. <xsd:attribute name="optional" type="xsd:boolean" use="optional" default="false">
  224. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  225. <documentation>
  226. Specifies whether this dependency is optional (defaults to false). An optional dependency will not
  227. cause the module to fail to load if not found; however if the module is added later, it will not be
  228. retroactively linked into this module's dependency list.
  229. </documentation>
  230. </annotation>
  231. </xsd:attribute>
  232. </xsd:complexType>
  233. <xsd:complexType name="systemDependencyType">
  234. <xsd:all>
  235. <xsd:element name="paths" type="pathSetType">
  236. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  237. <documentation>
  238. The list of paths which are applicable for this system dependency.
  239. </documentation>
  240. </annotation>
  241. </xsd:element>
  242. <xsd:element name="exports" type="filterType" minOccurs="0">
  243. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  244. <documentation>
  245. A filter used to restrict what packages or directories from this dependency are re-exported by
  246. this module. See also the "export" and "services" attributes. The default action of this filter
  247. list is controlled by the value of the "export" attribute. Regardless of the setting of these
  248. attributes, this filter always behaves as if it has a final entry which rejects META-INF and
  249. all of its subdirectories.
  250. </documentation>
  251. </annotation>
  252. </xsd:element>
  253. </xsd:all>
  254. <xsd:attribute name="export" type="xsd:boolean" use="optional" default="false">
  255. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  256. <documentation>
  257. Specifies whether this module dependency is re-exported by default (default is "false"). Setting
  258. this attribute to true sets the default action for the export filter list to "accept"; leaving it
  259. as false sets the default action to "reject". Thus you can still export dependency resources even
  260. if this attribute is false by listing explicit paths for the export list.
  261. </documentation>
  262. </annotation>
  263. </xsd:attribute>
  264. </xsd:complexType>
  265. <xsd:simpleType name="serviceDispositionType">
  266. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  267. <documentation>
  268. The requested behavior for service handling on a dependency.
  269. </documentation>
  270. </annotation>
  271. <xsd:restriction base="xsd:string">
  272. <xsd:enumeration value="none">
  273. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  274. <documentation>
  275. Do not import or export services from this dependency.
  276. </documentation>
  277. </annotation>
  278. </xsd:enumeration>
  279. <xsd:enumeration value="import">
  280. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  281. <documentation>
  282. Import, but do not re-export, services from this dependency.
  283. </documentation>
  284. </annotation>
  285. </xsd:enumeration>
  286. <xsd:enumeration value="export">
  287. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  288. <documentation>
  289. Import and re-export services found in this dependency.
  290. </documentation>
  291. </annotation>
  292. </xsd:enumeration>
  293. </xsd:restriction>
  294. </xsd:simpleType>
  295. <xsd:complexType name="classNameType">
  296. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  297. <documentation>
  298. A class name.
  299. </documentation>
  300. </annotation>
  301. <xsd:attribute name="name" type="xsd:string" use="required">
  302. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  303. <documentation>
  304. The class name.
  305. </documentation>
  306. </annotation>
  307. </xsd:attribute>
  308. </xsd:complexType>
  309. <xsd:complexType name="pathType">
  310. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  311. <documentation>
  312. A filesystem path name.
  313. </documentation>
  314. </annotation>
  315. <xsd:attribute name="name" type="xsd:string" use="required">
  316. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  317. <documentation>
  318. The path name.
  319. </documentation>
  320. </annotation>
  321. </xsd:attribute>
  322. </xsd:complexType>
  323. <xsd:complexType name="resourcesType">
  324. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  325. <documentation>
  326. A list of zero or more resource roots for this deployment.
  327. </documentation>
  328. </annotation>
  329. <xsd:choice minOccurs="0" maxOccurs="unbounded">
  330. <xsd:element name="resource-root" type="resourceType">
  331. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  332. <documentation>
  333. A resource root within this deployment.
  334. </documentation>
  335. </annotation>
  336. </xsd:element>
  337. </xsd:choice>
  338. </xsd:complexType>
  339. <xsd:complexType name="resourceType">
  340. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  341. <documentation>
  342. A resource root within a deployment.
  343. </documentation>
  344. </annotation>
  345. <xsd:all>
  346. <xsd:element name="filter" type="filterType" minOccurs="0">
  347. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  348. <documentation>
  349. A path filter specification for this resource root (optional). By default all paths are accepted.
  350. </documentation>
  351. </annotation>
  352. </xsd:element>
  353. </xsd:all>
  354. <xsd:attribute name="name" type="xsd:string" use="optional">
  355. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  356. <documentation>
  357. The name of this resource root (optional). If not specified, defaults to the value of the path
  358. attribute.
  359. </documentation>
  360. </annotation>
  361. </xsd:attribute>
  362. <xsd:attribute name="path" type="xsd:string" use="required">
  363. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  364. <documentation>
  365. The path of this resource root, relative to the path in which the module.xml file is found.
  366. </documentation>
  367. </annotation>
  368. </xsd:attribute>
  369. </xsd:complexType>
  370. <xsd:complexType name="filterType">
  371. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  372. <documentation>
  373. A filter specification, consisting of zero or more filter items.
  374. </documentation>
  375. </annotation>
  376. <xsd:choice minOccurs="0" maxOccurs="unbounded">
  377. <xsd:element name="include" type="pathSpecType" minOccurs="0">
  378. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  379. <documentation>
  380. A path to include. The path value can be a path name or a "glob" which may include the special
  381. wildcards "*", "**", and "?".
  382. </documentation>
  383. </annotation>
  384. </xsd:element>
  385. <xsd:element name="exclude" type="pathSpecType" minOccurs="0">
  386. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  387. <documentation>
  388. A path to exclude. The path value can be a path name or a "glob" which may include the special
  389. wildcards "*", "**", and "?".
  390. </documentation>
  391. </annotation>
  392. </xsd:element>
  393. <xsd:element name="include-set" type="pathSetType" minOccurs="0">
  394. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  395. <documentation>
  396. A set of literal path names to include. Wildcards are not supported.
  397. </documentation>
  398. </annotation>
  399. </xsd:element>
  400. <xsd:element name="exclude-set" type="pathSetType" minOccurs="0">
  401. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  402. <documentation>
  403. A set of literal path names to exclude. Wildcards are not supported.
  404. </documentation>
  405. </annotation>
  406. </xsd:element>
  407. </xsd:choice>
  408. </xsd:complexType>
  409. <xsd:complexType name="pathSpecType">
  410. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  411. <documentation>
  412. A path specification type, which may include wildcards.
  413. </documentation>
  414. </annotation>
  415. <xsd:attribute name="path" type="xsd:string" use="required">
  416. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  417. <documentation>
  418. The path name, which can be a literal path name or it may include the special wildcards "*", "**",
  419. and "?".
  420. </documentation>
  421. </annotation>
  422. </xsd:attribute>
  423. </xsd:complexType>
  424. <xsd:complexType name="pathSetType">
  425. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  426. <documentation>
  427. A set of literal path names which can be used for efficient matching against multiple possible values.
  428. </documentation>
  429. </annotation>
  430. <xsd:choice minOccurs="0" maxOccurs="unbounded">
  431. <xsd:element name="path" type="pathType" minOccurs="0">
  432. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  433. <documentation>
  434. The path name to include in the set.
  435. </documentation>
  436. </annotation>
  437. </xsd:element>
  438. </xsd:choice>
  439. </xsd:complexType>
  440. <xsd:complexType name="configurationType">
  441. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  442. <documentation>
  443. A configuration for the default module loader.
  444. </documentation>
  445. </annotation>
  446. <xsd:choice minOccurs="1" maxOccurs="unbounded">
  447. <xsd:element name="loader" type="loaderType">
  448. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  449. <documentation>
  450. A defined loader. More than one loader may be defined.
  451. </documentation>
  452. </annotation>
  453. </xsd:element>
  454. </xsd:choice>
  455. <xsd:attribute name="default-loader" type="loaderNameType" use="required">
  456. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  457. <documentation>
  458. The loader to use. The name matches the value of the "name" attribute of one of the defined loaders.
  459. </documentation>
  460. </annotation>
  461. </xsd:attribute>
  462. </xsd:complexType>
  463. <xsd:complexType name="loaderType">
  464. <xsd:choice minOccurs="0" maxOccurs="unbounded">
  465. <xsd:element name="module-path" type="pathType">
  466. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  467. <documentation>
  468. A module root path for this loader. Paths are relative to ${user.dir} by default.
  469. </documentation>
  470. </annotation>
  471. </xsd:element>
  472. <xsd:element name="import" type="xsd:string">
  473. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  474. <documentation>
  475. Specifies another loader whose content should be imported. Such loaders are visible to modules
  476. defined by this loader, but not to modules defined in other loaders.
  477. </documentation>
  478. </annotation>
  479. </xsd:element>
  480. </xsd:choice>
  481. <xsd:attribute name="name" type="loaderNameType" use="required">
  482. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  483. <documentation>
  484. The name of this particular module loader.
  485. </documentation>
  486. </annotation>
  487. </xsd:attribute>
  488. </xsd:complexType>
  489. <xsd:simpleType name="loaderNameType">
  490. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  491. <documentation>
  492. A loader type name, which may consist of letters, numbers, hyphens, and underscores.
  493. </documentation>
  494. </annotation>
  495. <xsd:restriction base="xsd:token">
  496. <xsd:pattern value="[-0-9a-zA-Z_]+"/>
  497. </xsd:restriction>
  498. </xsd:simpleType>
  499. <xsd:complexType name="moduleAliasType">
  500. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  501. <documentation>
  502. A module alias type, which defines the target for a module alias.
  503. </documentation>
  504. </annotation>
  505. <xsd:attribute name="name" type="moduleNameType" use="required">
  506. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  507. <documentation>
  508. The name of this module alias (required).
  509. </documentation>
  510. </annotation>
  511. </xsd:attribute>
  512. <xsd:attribute name="slot" type="moduleSlotType" use="optional">
  513. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  514. <documentation>
  515. The version slot of this module alias (optional).
  516. </documentation>
  517. </annotation>
  518. </xsd:attribute>
  519. <xsd:attribute name="target-name" type="moduleNameType" use="required">
  520. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  521. <documentation>
  522. The name of the module to which this alias refers (required).
  523. </documentation>
  524. </annotation>
  525. </xsd:attribute>
  526. <xsd:attribute name="target-slot" type="moduleSlotType" use="optional">
  527. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  528. <documentation>
  529. The version slot of the module to which this alias refers (optional).
  530. </documentation>
  531. </annotation>
  532. </xsd:attribute>
  533. </xsd:complexType>
  534. <xsd:complexType name="propertyListType">
  535. <xsd:choice minOccurs="0" maxOccurs="unbounded">
  536. <xsd:element name="property" type="propertyType">
  537. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  538. <documentation>
  539. A property in this property list.
  540. </documentation>
  541. </annotation>
  542. </xsd:element>
  543. </xsd:choice>
  544. </xsd:complexType>
  545. <xsd:complexType name="propertyType">
  546. <xsd:attribute name="name" type="xsd:string" use="required">
  547. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  548. <documentation>
  549. The property name as a string (required).
  550. </documentation>
  551. </annotation>
  552. </xsd:attribute>
  553. <xsd:attribute name="value" type="xsd:string" use="optional" default="true">
  554. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  555. <documentation>
  556. The property value (optional, defaults to "true").
  557. </documentation>
  558. </annotation>
  559. </xsd:attribute>
  560. </xsd:complexType>
  561. </xsd:schema>