p5dkp.model.xsd 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xs:schema
  3. xmlns:p5bws="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/WPS_Functions.xsd"
  4. xmlns:p5ant="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache.public/ant/ant.xsd"
  5. xmlns:p5suis="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/system_ui_info_speech/system_ui_info_speech.xsd"
  6. xmlns:p5dg="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/documentation_generator/documentation_generator.xsd"
  7. xmlns:p5xsl="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/xsl_interface/xsl_interface.xsd"
  8. xmlns:xs="http://www.w3.org/2001/XMLSchema"
  9. xmlns:p5dkp.comment="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/dita_kosztorys_projektowy/p5dkp.comment.xsd"
  10. xmlns:p5dkp.map.keys="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/dita_kosztorys_projektowy/p5dkp.map.keys.xsd"
  11. xmlns:p5xsda="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/xsd_asserts/p5xsda.xsd"
  12. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  13. xmlns:p5_tr_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/procesy5_translate_map.xsd"
  14. xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
  15. xmlns:system_cache__resources_tree_generate_xsl_required_occurs_raport="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/resources_tree_generate_xsl_require_occurs_raport"
  16. xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
  17. xmlns:p5opr="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/object_parent_relations/object_parent_relations.xsd"
  18. xmlns:p5_simpleSchema_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/p5_simpleSchema_map.xsd"
  19. xmlns:p5frc="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/flat_relation_cache/p5frc.xsd"
  20. vc:minVersion="1.1"
  21. targetNamespace="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/dita_kosztorys_projektowy/p5dkp.model.xsd"
  22. elementFormDefault="unqualified"
  23. xmlns:p5dkp-er="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/dita_kosztorys_projektowy/p5dkp.entities-relations.xsd"
  24. xmlns:p5dkp-model="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/dita_kosztorys_projektowy/p5dkp.model.xsd"
  25. xmlns:p5dkp="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/dita_kosztorys_projektowy/p5dkp.xsd"
  26. xmlns:p5dkp-er.wymagania="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/dita_kosztorys_projektowy/p5dkp.entities.wymagania.xsd"
  27. xmlns:p5dkp-er.product="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/dita_kosztorys_projektowy/p5dkp.entities.product.xsd"
  28. xmlns:p5dkp-er.service="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/dita_kosztorys_projektowy/p5dkp.entities.service.xsd"
  29. xmlns:p5dkp-er.role="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/dita_kosztorys_projektowy/p5dkp.entities.role.xsd"
  30. xmlns:p5dkp-er.etap="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/dita_kosztorys_projektowy/p5dkp.entities.etap.xsd"
  31. xmlns:p5dkp-er.worker="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/dita_kosztorys_projektowy/p5dkp.entities.worker.xsd"
  32. xmlns:p5dkp-er.zadanie="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/dita_kosztorys_projektowy/p5dkp.entities.zadanie.xsd"
  33. xmlns:p5dkp-er.test-gen="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/dita_kosztorys_projektowy/p5dkp.entities.test-gen.xsd"
  34. xmlns:p5dkp-er.wymagania.klienta="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/dita_kosztorys_projektowy/p5dkp.entities.wymagania.klienta.xsd">
  35. <xs:annotation>
  36. <xs:documentation>Struktura testowa do kreatora makiety projektu.
  37. Etap1: analiza dostępnych szablonów - wygenerowanie raportu
  38. Etap2: edycja raportu jako konfiguracja do wygenerowania makiety
  39. Etap3: wygenerowanie struktur DITA na podstawie makiety</xs:documentation>
  40. </xs:annotation>
  41. <xs:import
  42. namespace="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/dita_kosztorys_projektowy/p5dkp.map.keys.xsd"
  43. schemaLocation="p5dkp.map.keys.xsd"/>
  44. <xs:import
  45. namespace="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/dita_kosztorys_projektowy/p5dkp.xsd"
  46. schemaLocation="p5dkp.xsd"/>
  47. <xs:import
  48. namespace="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/dita_kosztorys_projektowy/p5dkp.entities-relations.xsd"
  49. schemaLocation="p5dkp.entities-relations.xsd"/>
  50. <xs:import
  51. namespace="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/dita_kosztorys_projektowy/p5dkp.entities.wymagania.xsd"
  52. schemaLocation="p5dkp.entities.wymagania.xsd"/>
  53. <xs:import
  54. namespace="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/dita_kosztorys_projektowy/p5dkp.entities.wymagania.klienta.xsd"
  55. schemaLocation="p5dkp.entities.wymagania.klienta.xsd"/>
  56. <xs:simpleType name="map.title.text.string">
  57. <xs:restriction base="xs:string"/>
  58. </xs:simpleType>
  59. <xs:simpleType name="map.topichead.navtitle">
  60. <xs:restriction base="xs:string"/>
  61. </xs:simpleType>
  62. <xs:simpleType name="map.topichead.1.navtitle">
  63. <xs:restriction base="p5dkp-model:map.topichead.navtitle"/>
  64. </xs:simpleType>
  65. <xs:simpleType name="project_no">
  66. <xs:restriction base="xs:string"/>
  67. </xs:simpleType>
  68. <xs:simpleType name="wymagania_klienta.ditamap">
  69. <xs:annotation>
  70. <xs:documentation>Mapa główna dla zbierania wymagań klienta</xs:documentation>
  71. </xs:annotation>
  72. <xs:restriction>
  73. <xs:simpleType>
  74. <xs:restriction base="p5dkp-er.wymagania.klienta:wymagania.klienta.string"/>
  75. </xs:simpleType>
  76. </xs:restriction>
  77. </xs:simpleType>
  78. <xs:complexType name="map.title.text">
  79. <xs:simpleContent>
  80. <xs:extension base="p5dkp-model:map.title.text.string"/>
  81. </xs:simpleContent>
  82. </xs:complexType>
  83. <xs:element default="Matryca projektu zarządzania wymaganiami" name="map.title.text"
  84. type="xs:string">
  85. <xs:annotation>
  86. <xs:documentation>Nazwa tytułu głównego projektu</xs:documentation>
  87. </xs:annotation>
  88. </xs:element>
  89. <xs:element name="map">
  90. <xs:annotation>
  91. <xs:documentation>Główna mapa struktury projektu</xs:documentation>
  92. </xs:annotation>
  93. <xs:complexType>
  94. <xs:complexContent>
  95. <xs:extension base="p5dkp-model:map">
  96. <xs:sequence>
  97. <xs:element default="Matryca projektu zarzadzania wymaganiami i realizacja"
  98. name="title" type="p5dkp-model:map.title.text"/>
  99. <xs:element name="keydef">
  100. <xs:annotation>
  101. <xs:documentation>Numer projektu</xs:documentation>
  102. </xs:annotation>
  103. <xs:complexType>
  104. <xs:sequence>
  105. <xs:element name="topicmeta">
  106. <xs:complexType>
  107. <xs:sequence>
  108. <xs:element name="keywords">
  109. <xs:complexType>
  110. <xs:sequence>
  111. <xs:element name="keyword"
  112. type="p5dkp-model:project_no"/>
  113. </xs:sequence>
  114. </xs:complexType>
  115. </xs:element>
  116. </xs:sequence>
  117. </xs:complexType>
  118. </xs:element>
  119. </xs:sequence>
  120. <xs:attribute name="keys" type="p5dkp-model:project_no" use="required"/>
  121. </xs:complexType>
  122. </xs:element>
  123. <xs:element ref="p5dkp-model:WYMAGANIA_KLIENTA"/>
  124. <xs:element name="topichead">
  125. <xs:complexType>
  126. <xs:complexContent>
  127. <xs:extension base="p5dkp-model:topichead">
  128. <xs:sequence>
  129. <xs:element name="topicref">
  130. <xs:complexType>
  131. <xs:sequence>
  132. <xs:element name="map"
  133. type="p5dkp-model:map.wymagania_klienta.ditamap"/>
  134. </xs:sequence>
  135. <xs:attribute name="href"
  136. type="p5dkp-model:wymagania_klienta.ditamap"
  137. use="required"/>
  138. <xs:attribute fixed="ditamap" name="format" use="required"/>
  139. </xs:complexType>
  140. </xs:element>
  141. </xs:sequence>
  142. <xs:attribute fixed="Wymagania klienta" name="navtitle"
  143. type="p5dkp-model:map.topichead.1.navtitle"/>
  144. </xs:extension>
  145. </xs:complexContent>
  146. </xs:complexType>
  147. </xs:element>
  148. </xs:sequence>
  149. <xs:assert test="title = keydef[@keys = 'project_no']/topicmeta/keyword"/>
  150. </xs:extension>
  151. </xs:complexContent>
  152. </xs:complexType>
  153. </xs:element>
  154. <xs:simpleType name="wymagania.klienta.ditamap">
  155. <xs:annotation>
  156. <xs:documentation>Pierwsze wymagania jako .ditamap file zawierajace cel - zdefiniowanie podstaowwych wymagan klienta</xs:documentation>
  157. </xs:annotation>
  158. <xs:restriction>
  159. <xs:simpleType>
  160. <xs:restriction base="p5dkp-er.wymagania.klienta:wymagania.klienta.podstawowe"/>
  161. </xs:simpleType>
  162. </xs:restriction>
  163. </xs:simpleType>
  164. <xs:simpleType name="wymagania.klienta.podstawowe.podstawowe.dita">
  165. <xs:annotation>
  166. <xs:documentation>Dita/topic zawierający podstawowe wymagania</xs:documentation>
  167. </xs:annotation>
  168. <xs:restriction base="p5dkp-er.wymagania.klienta:wymagania.klienta.podstawowe"/>
  169. </xs:simpleType>
  170. <xs:simpleType name="wymagania.klienta.podstawowe.podstawowe.dita.keydef">
  171. <xs:restriction base="p5dkp-er.wymagania.klienta:wymagania.klienta.podstawowe"/>
  172. </xs:simpleType>
  173. <xs:simpleType name="wymagania.klienta.podstawowe.podstawowe.dita.keyword">
  174. <xs:restriction base="p5dkp-er.wymagania.klienta:wymagania.klienta.podstawowe"/>
  175. </xs:simpleType>
  176. <xs:simpleType name="map.title">
  177. <xs:restriction base="xs:string"/>
  178. </xs:simpleType>
  179. <xs:complexType name="map.wymagania_klienta.ditamap">
  180. <xs:annotation>
  181. <xs:documentation>Mapa glowana dla wymagan klienta</xs:documentation>
  182. </xs:annotation>
  183. <xs:sequence>
  184. <xs:element fixed="Wymagania Klienta dla etapu przygotowania" name="title"
  185. type="p5dkp-model:map.title"/>
  186. <xs:element name="topichead">
  187. <xs:complexType>
  188. <xs:complexContent>
  189. <xs:extension base="p5dkp-model:topichead">
  190. <xs:sequence>
  191. <xs:element name="topicref">
  192. <xs:complexType>
  193. <xs:complexContent>
  194. <xs:extension base="p5dkp-model:topicref">
  195. <xs:sequence>
  196. <xs:element name="map"
  197. type="p5dkp-model:map.wymagania.klienta"/>
  198. </xs:sequence>
  199. <xs:attribute fixed="ditamap" name="format" type="xs:string"
  200. use="required"/>
  201. <xs:attribute
  202. fixed="wymagania.klienta/wymagania_klienta.ditamap"
  203. name="href" type="p5dkp-model:wymagania.klienta.ditamap"
  204. use="required"/>
  205. </xs:extension>
  206. </xs:complexContent>
  207. </xs:complexType>
  208. </xs:element>
  209. </xs:sequence>
  210. <xs:attribute fixed="Podstawowe wymagania" name="navtitle" type="xs:string"
  211. use="required"/>
  212. </xs:extension>
  213. </xs:complexContent>
  214. </xs:complexType>
  215. </xs:element>
  216. </xs:sequence>
  217. </xs:complexType>
  218. <xs:complexType name="map.wymagania.klienta">
  219. <xs:annotation>
  220. <xs:documentation>Podmapa z glownej - z podstaowwym wymaganiem ustalenia wymagan</xs:documentation>
  221. </xs:annotation>
  222. <xs:sequence>
  223. <xs:element fixed="Wymagania Klienta - rozpoznanie" name="title"
  224. type="p5dkp-model:map.title"/>
  225. <xs:element name="topicref">
  226. <xs:complexType>
  227. <xs:complexContent>
  228. <xs:extension base="p5dkp-model:topicref">
  229. <xs:sequence>
  230. <xs:element name="keydef">
  231. <xs:complexType>
  232. <xs:complexContent>
  233. <xs:extension base="p5dkp-model:keydef">
  234. <xs:sequence>
  235. <xs:element name="keywords">
  236. <xs:complexType>
  237. <xs:complexContent>
  238. <xs:extension base="p5dkp-model:keywords">
  239. <xs:sequence>
  240. <xs:element
  241. fixed="Podstawowe wymagania klienta (D)"
  242. name="keyword"
  243. type="p5dkp-model:wymagania.klienta.podstawowe.podstawowe.dita.keyword"
  244. />
  245. </xs:sequence>
  246. </xs:extension>
  247. </xs:complexContent>
  248. </xs:complexType>
  249. </xs:element>
  250. </xs:sequence>
  251. </xs:extension>
  252. </xs:complexContent>
  253. </xs:complexType>
  254. </xs:element>
  255. <xs:group ref="p5dkp:wymagania"/>
  256. </xs:sequence>
  257. <xs:attribute name="href" fixed="podstawowe.dita"
  258. type="p5dkp-model:wymagania.klienta.podstawowe.podstawowe.dita"
  259. use="required"/>
  260. <xs:attribute fixed="wymagania.klienta.podstawowe wymagania" name="keyscope"
  261. type="p5dkp-er.wymagania.klienta:wymagania.klienta.podstawowe"
  262. use="required"/>
  263. </xs:extension>
  264. </xs:complexContent>
  265. </xs:complexType>
  266. </xs:element>
  267. </xs:sequence>
  268. </xs:complexType>
  269. <xs:complexType name="DITA">
  270. <xs:annotation>
  271. <xs:documentation>TODO odziedziczyc z DITA typow</xs:documentation>
  272. </xs:annotation>
  273. </xs:complexType>
  274. <xs:complexType name="map">
  275. <xs:complexContent>
  276. <xs:extension base="p5dkp-model:DITA"/>
  277. </xs:complexContent>
  278. </xs:complexType>
  279. <xs:complexType name="topichead">
  280. <xs:complexContent>
  281. <xs:extension base="p5dkp-model:DITA">
  282. <xs:attribute name="keyscope" type="xs:NCName"/>
  283. <xs:attribute name="map.path" use="required"/>
  284. </xs:extension>
  285. </xs:complexContent>
  286. </xs:complexType>
  287. <xs:complexType name="topicref">
  288. <xs:annotation>
  289. <xs:documentation>TODO odziedziczyc z dita</xs:documentation>
  290. </xs:annotation>
  291. <xs:complexContent>
  292. <xs:extension base="p5dkp-model:DITA"/>
  293. </xs:complexContent>
  294. </xs:complexType>
  295. <xs:complexType name="keydef">
  296. <xs:annotation>
  297. <xs:documentation>Do mapowania kluczy parametrow do map</xs:documentation>
  298. </xs:annotation>
  299. <xs:complexContent>
  300. <xs:extension base="p5dkp-model:DITA"/>
  301. </xs:complexContent>
  302. </xs:complexType>
  303. <xs:complexType name="keywords">
  304. <xs:complexContent>
  305. <xs:extension base="p5dkp-model:DITA"/>
  306. </xs:complexContent>
  307. </xs:complexType>
  308. <xs:complexType name="keyword">
  309. <xs:complexContent>
  310. <xs:extension base="p5dkp-model:DITA"/>
  311. </xs:complexContent>
  312. </xs:complexType>
  313. <xs:element name="WYMAGANIA_KLIENTA"/>
  314. <xs:element name="PRZYGOTOWANIA"/>
  315. </xs:schema>