appinfo.xsd 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
  3. xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
  4. xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
  5. xmlns:xml="http://www.w3.org/XML/1998/namespace"
  6. targetNamespace="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
  7. xmlns:fg="http://www.FGolubov.com/XMLEditor" vc:minVersion="1.1" elementFormDefault="qualified">
  8. <xs:import schemaLocation="http://www.w3.org/2001/xml.xsd"
  9. namespace="http://www.w3.org/XML/1998/namespace"/>
  10. <xs:annotation>
  11. <xs:documentation>Schemat do appinfo do określania informacji o relacjach - doswiadczalny - propozycja - DRAFT
  12. @2015-11-19 modelowa struktura obietkow generowanych przez algorytm tworzenia mapy przetwarzania obiektow</xs:documentation>
  13. </xs:annotation>
  14. <xs:complexType name="relation_info" id="system_cache__appinfo___d149e9">
  15. <xs:annotation id="system_cache__appinfo___d149e11">
  16. <xs:documentation>Struktura do wstawiania do appinfo w schematach XSD w miejscu dowiązania relacji do innej tabeli. Z reguły w relacjach 1-1 w kolumnie tabeli lokalnej pojawiał się znacznik klucza tabely zdalnej. </xs:documentation>
  17. </xs:annotation>
  18. <xs:sequence id="system_cache__appinfo___d149e17">
  19. <xs:element name="local_column_name" type="xs:string"
  20. id="system_cache__appinfo___d149e19">
  21. <xs:annotation id="system_cache__appinfo___d149e21">
  22. <xs:documentation>W przypadku stworzenia relacji do tabeli zdalnej nie jest możliwe wprowadzenie nazwy kolumny, dla tego należy w tym polu wprowadzić nazwę kolumny, w ramach której dana relacja będzie prowadzona. W danej kolumnie silnik powinien trzymać aktualne dane relacji, mogą być one "cache" oraz obsługiwane przez triggery.</xs:documentation>
  23. </xs:annotation>
  24. </xs:element>
  25. </xs:sequence>
  26. </xs:complexType>
  27. <xs:complexType name="schema">
  28. <xs:complexContent>
  29. <xs:extension base="xs:anyType"/>
  30. </xs:complexContent>
  31. </xs:complexType>
  32. <xs:element name="schema" type="system_cache__appinfo:schema"/>
  33. <xs:element name="relation_info" type="system_cache__appinfo:relation_info"
  34. id="system_cache__appinfo___d149e30"/>
  35. <xs:attributeGroup name="change_root_anyelement" id="system_cache__appinfo___d149e32">
  36. <xs:attribute default="1" name="dig_recurse" id="system_cache__appinfo___d149e34">
  37. <xs:annotation id="system_cache__appinfo___d149e36">
  38. <xs:documentation>Kazdy element ktory ma sluzyc przeszukiwaniu/filtrowaniu w glab powinien miec ten atrybut :
  39. W przypadku checi podmiany elementu w jakims complexType - nalezy wlaczyc te atrybuty w elementach:
  40. complexType, sequence, element . Ostatni będzie podmieniany, ale to zalezy od innego atrybutu.</xs:documentation>
  41. </xs:annotation>
  42. </xs:attribute>
  43. </xs:attributeGroup>
  44. <xs:attribute name="change_optimize_id" id="system_cache__appinfo___d149e44">
  45. <xs:annotation id="system_cache__appinfo___d149e46">
  46. <xs:documentation>Jest to unikalny numer elementu dla rekordu zmiany.
  47. Ostatni wezel bedzie miec powtorzony ten numer w polu @change_optimize_id_root</xs:documentation>
  48. </xs:annotation>
  49. </xs:attribute>
  50. <xs:attributeGroup name="change_medium_element" id="system_cache__appinfo___d149e54">
  51. <xs:attribute default="1" name="dig_recurse" id="system_cache__appinfo___d149e56">
  52. <xs:annotation id="system_cache__appinfo___d149e58">
  53. <xs:documentation>Kazdy element ktory ma sluzyc przeszukiwaniu/filtrowaniu w glab powinien miec ten atrybut :
  54. W przypadku checi podmiany elementu w jakims complexType - nalezy wlaczyc te atrybuty w elementach:
  55. complexType, sequence, element . Ostatni będzie podmieniany, ale to zalezy od innego atrybutu.</xs:documentation>
  56. </xs:annotation>
  57. </xs:attribute>
  58. </xs:attributeGroup>
  59. <xs:attributeGroup name="change_replacement_element" id="system_cache__appinfo___d149e66">
  60. <xs:attribute default="@name" name="replace_attribute_search"
  61. id="system_cache__appinfo___d149e68">
  62. <xs:annotation id="system_cache__appinfo___d149e70">
  63. <xs:documentation>Po tym atrybucie bedzie odnajdywany odpowiedni element w drzewie docelowym. Ten atrybut dziala w parze z replace_attribute_value, ktory mowi o poszukiwanej wartosci tego atrybutu w drzewie przeszukiwanym. Nasz element zmieniany moze nie posiadac takiego atrybutu.</xs:documentation>
  64. </xs:annotation>
  65. </xs:attribute>
  66. <xs:attribute name="replace_attribute_value" id="system_cache__appinfo___d149e77">
  67. <xs:annotation id="system_cache__appinfo___d149e79">
  68. <xs:documentation>W przypadku checi podmiany elementu w complexType o nazwie @name='EMPLOYEE_TYPE' , nalezy w tym atrybucie podac jego wartosc:
  69. system_cache__appinfo:replace_attribute_value="EMPLOYEE_TYPE" </xs:documentation>
  70. </xs:annotation>
  71. </xs:attribute>
  72. <xs:attribute default="1" name="dig_recurse" id="system_cache__appinfo___d149e86">
  73. <xs:annotation id="system_cache__appinfo___d149e88">
  74. <xs:documentation>Kazdy element ktory ma sluzyc przeszukiwaniu/filtrowaniu w glab powinien miec ten atrybut :
  75. W przypadku checi podmiany elementu w jakims complexType - nalezy wlaczyc te atrybuty w elementach:
  76. complexType, sequence, element . Ostatni będzie podmieniany, ale to zalezy od innego atrybutu.</xs:documentation>
  77. </xs:annotation>
  78. </xs:attribute>
  79. </xs:attributeGroup>
  80. <xs:attribute default="1" name="change_optimize_id_root" id="system_cache__appinfo___d149e96">
  81. <xs:annotation id="system_cache__appinfo___d149e98">
  82. <xs:documentation>Jest to numer item elementu zmiany, jaki ma byc wprowadzony do glownego drzewa.</xs:documentation>
  83. </xs:annotation>
  84. </xs:attribute>
  85. <xs:complexType name="resource_desc_localized">
  86. <xs:sequence>
  87. <xs:element name="shortdesc">
  88. <xs:simpleType>
  89. <xs:restriction base="xs:string">
  90. <xs:maxLength value="255"/>
  91. </xs:restriction>
  92. </xs:simpleType>
  93. </xs:element>
  94. <xs:element name="longdesc" type="xs:string"/>
  95. </xs:sequence>
  96. <xs:attribute ref="xml:lang"/>
  97. </xs:complexType>
  98. <xs:element name="resource_desc_localized"/>
  99. <xs:complexType name="change" id="system_cache__appinfo___d149e105">
  100. <xs:annotation id="system_cache__appinfo___d149e107">
  101. <xs:documentation>Obiekt ze struktura podrzedna, wskazujacy na kawalek struktury, ktory bedzie podmieniany w innym obiekcie. Uzywany przy modyfikacji schematu, definiuje sie complexType/sequence/element - wstawia sie specjalne znaczniki , dzieki czemu w duzym schemacie dany complexType/sequence/element o takich samych nazwach moze byc podmieniony z tym.
  102. Walidacja schematu nie dziala prawidlowo dla tego obiektu - wymagane jest redefine XSD_Schema w celu wlaczenia dodatkowych atrybutow. complexType zrobiony dla lepszej dokumentacji transformacji XSL uzywajacych tych struktur w silniku.</xs:documentation>
  103. </xs:annotation>
  104. <xs:sequence id="system_cache__appinfo___d149e113">
  105. <xs:element name="item" id="system_cache__appinfo___d149e115">
  106. <xs:complexType id="system_cache__appinfo___d149e117">
  107. <xs:choice id="system_cache__appinfo___d149e119">
  108. <xs:any namespace="##any" id="system_cache__appinfo___d149e121"/>
  109. <xs:element name="complexType" id="system_cache__appinfo___d149e123">
  110. <xs:complexType id="system_cache__appinfo___d149e125">
  111. <xs:sequence id="system_cache__appinfo___d149e127">
  112. <xs:element name="sequence"
  113. id="system_cache__appinfo___d149e129">
  114. <xs:complexType id="system_cache__appinfo___d149e131">
  115. <xs:sequence id="system_cache__appinfo___d149e133">
  116. <xs:element name="element"
  117. id="system_cache__appinfo___d149e135">
  118. <xs:complexType
  119. id="system_cache__appinfo___d149e137">
  120. <xs:attributeGroup
  121. ref="system_cache__appinfo:change_replacement_element"
  122. id="system_cache__appinfo___d149e139"/>
  123. <xs:anyAttribute
  124. namespace="http://www.w3.org/2001/XMLSchema"
  125. id="system_cache__appinfo___d149e141"/>
  126. </xs:complexType>
  127. </xs:element>
  128. </xs:sequence>
  129. <xs:attributeGroup
  130. ref="system_cache__appinfo:change_medium_element"
  131. id="system_cache__appinfo___d149e146"/>
  132. <xs:anyAttribute
  133. namespace="http://www.w3.org/2001/XMLSchema"
  134. id="system_cache__appinfo___d149e148"/>
  135. </xs:complexType>
  136. </xs:element>
  137. </xs:sequence>
  138. <xs:attribute default="@name" name="rel_key"
  139. id="system_cache__appinfo___d149e153">
  140. <xs:annotation id="system_cache__appinfo___d149e155">
  141. <xs:documentation>przyklad:
  142. xs:complexType name="ACCESS_REQUESTS" system_cache__appinfo:rel_key="@name" system_cache__appinfo:dig_recurse="1"
  143. Nalezy wprowadzic glowny klucz nazwy do odnalezienia odpowiednika elementu w drzewie edytowanym</xs:documentation>
  144. </xs:annotation>
  145. </xs:attribute>
  146. </xs:complexType>
  147. </xs:element>
  148. </xs:choice>
  149. </xs:complexType>
  150. </xs:element>
  151. </xs:sequence>
  152. </xs:complexType>
  153. <xs:element name="change" type="system_cache__appinfo:change"
  154. id="system_cache__appinfo___d149e169"/>
  155. <xs:complexType name="change_optimize_id" id="system_cache__appinfo___d149e171">
  156. <xs:annotation id="system_cache__appinfo___d149e173">
  157. <xs:documentation>Obiekt powsatly na podstawie change za pomoca transformacji xsl o nazwie template mode="system_cache__appinfo:change_optimize_id , dodane ma atrybuty niezbedne do przeszukania w drzewie</xs:documentation>
  158. </xs:annotation>
  159. <xs:sequence id="system_cache__appinfo___d149e179">
  160. <xs:element name="item" id="system_cache__appinfo___d149e181">
  161. <xs:complexType id="system_cache__appinfo___d149e183">
  162. <xs:choice id="system_cache__appinfo___d149e185">
  163. <xs:any namespace="##any" id="system_cache__appinfo___d149e187"/>
  164. <xs:element name="complexType" id="system_cache__appinfo___d149e189">
  165. <xs:complexType id="system_cache__appinfo___d149e191">
  166. <xs:sequence id="system_cache__appinfo___d149e193">
  167. <xs:element name="sequence"
  168. id="system_cache__appinfo___d149e195">
  169. <xs:complexType id="system_cache__appinfo___d149e197">
  170. <xs:sequence id="system_cache__appinfo___d149e199">
  171. <xs:element name="element"
  172. id="system_cache__appinfo___d149e201">
  173. <xs:complexType
  174. id="system_cache__appinfo___d149e203">
  175. <xs:attributeGroup
  176. ref="system_cache__appinfo:change_replacement_element"
  177. id="system_cache__appinfo___d149e205"/>
  178. <xs:attribute default="1"
  179. name="change_optimize_id_root"
  180. id="system_cache__appinfo___d149e207">
  181. <xs:annotation
  182. id="system_cache__appinfo___d149e209">
  183. <xs:documentation>Jest to numer item elementu zmiany, jaki ma byc wprowadzony do glownego drzewa.</xs:documentation>
  184. </xs:annotation>
  185. </xs:attribute>
  186. <xs:anyAttribute
  187. namespace="http://www.w3.org/2001/XMLSchema"
  188. id="system_cache__appinfo___d149e216"/>
  189. </xs:complexType>
  190. </xs:element>
  191. </xs:sequence>
  192. <xs:attributeGroup
  193. ref="system_cache__appinfo:change_medium_element"
  194. id="system_cache__appinfo___d149e221"/>
  195. <xs:anyAttribute
  196. namespace="http://www.w3.org/2001/XMLSchema"
  197. id="system_cache__appinfo___d149e223"/>
  198. </xs:complexType>
  199. </xs:element>
  200. </xs:sequence>
  201. <xs:attribute default="@name" name="rel_key"
  202. id="system_cache__appinfo___d149e228">
  203. <xs:annotation id="system_cache__appinfo___d149e230">
  204. <xs:documentation>przyklad:
  205. xs:complexType name="ACCESS_REQUESTS" system_cache__appinfo:rel_key="@name" system_cache__appinfo:dig_recurse="1"
  206. Nalezy wprowadzic glowny klucz nazwy do odnalezienia odpowiednika elementu w drzewie edytowanym</xs:documentation>
  207. </xs:annotation>
  208. </xs:attribute>
  209. </xs:complexType>
  210. </xs:element>
  211. </xs:choice>
  212. <xs:attribute name="change_optimize_id" id="system_cache__appinfo___d149e240">
  213. <xs:annotation id="system_cache__appinfo___d149e242">
  214. <xs:documentation>Jest to unikalny numer elementu dla rekordu zmiany.
  215. Ostatni wezel bedzie miec powtorzony ten numer w polu @change_optimize_id_root</xs:documentation>
  216. </xs:annotation>
  217. </xs:attribute>
  218. </xs:complexType>
  219. </xs:element>
  220. </xs:sequence>
  221. </xs:complexType>
  222. <xs:element name="change_optimize_id" type="system_cache__appinfo:change_optimize_id"
  223. id="system_cache__appinfo___d149e254"/>
  224. <xs:element name="save_to_api" id="system_cache__appinfo___d10e129207-1">
  225. <xs:complexType id="system_cache__appinfo___d10e129209-1">
  226. <xs:sequence id="system_cache__appinfo___d10e129211-1">
  227. <xs:element ref="system_cache__appinfo:save_to_api_xml"
  228. id="system_cache__appinfo___d10e129213-1"/>
  229. </xs:sequence>
  230. </xs:complexType>
  231. </xs:element>
  232. <xs:element name="new_record" id="system_cache__appinfo___d10e129218-1">
  233. <xs:complexType id="system_cache__appinfo___d10e129220-1">
  234. <xs:sequence id="system_cache__appinfo___d10e129222-1">
  235. <xs:any maxOccurs="unbounded" namespace="##any" processContents="strict">
  236. <xs:annotation>
  237. <xs:documentation>tak samo atrybuty dostepne @read_key_value lub @evaluate_key_value</xs:documentation>
  238. </xs:annotation>
  239. </xs:any>
  240. </xs:sequence>
  241. <xs:attribute name="count_xml_node" type="xs:integer"
  242. id="system_cache__appinfo___d10e129234-1"/>
  243. <xs:attribute name="create_element" id="system_cache__appinfo___d10e129236-1"/>
  244. <xs:attribute name="current_object_xml_name" id="system_cache__appinfo___d10e129238-1"/>
  245. <xs:attribute name="event_type" type="xs:integer" use="required"
  246. id="system_cache__appinfo___d10e129240-1"/>
  247. <xs:attribute name="local-name" type="xs:NCName" use="required"
  248. id="system_cache__appinfo___d10e129243-1"/>
  249. <xs:attribute name="optional" type="xs:NCName" id="system_cache__appinfo___d10e129245-1"/>
  250. <xs:attribute name="table-name" type="xs:NCName" use="required"
  251. id="system_cache__appinfo___d10e129247-1"/>
  252. </xs:complexType>
  253. </xs:element>
  254. <xs:element name="edit_record" id="system_cache__appinfo___d10e129251-1">
  255. <xs:complexType id="system_cache__appinfo___d10e129253-1">
  256. <xs:sequence id="system_cache__appinfo___d10e129255-1">
  257. <xs:any maxOccurs="unbounded" namespace="##any">
  258. <xs:annotation>
  259. <xs:documentation>tak samo atrybuty dostepne @read_key_value lub @evaluate_key_value</xs:documentation>
  260. </xs:annotation>
  261. </xs:any>
  262. </xs:sequence>
  263. <xs:attribute name="count_xml_node" type="xs:integer"
  264. id="system_cache__appinfo___d10e129267-1"/>
  265. <xs:attribute name="create_element" id="system_cache__appinfo___d10e129269-1"/>
  266. <xs:attribute name="current_object_xml_name" id="system_cache__appinfo___d10e129271-1"/>
  267. <xs:attribute name="event_type" type="xs:integer" use="required"
  268. id="system_cache__appinfo___d10e129273-1"/>
  269. <xs:attribute name="local-name" type="xs:NCName" use="required"
  270. id="system_cache__appinfo___d10e129276-1"/>
  271. <xs:attribute name="optional" type="xs:NCName" id="system_cache__appinfo___d10e129278-1"/>
  272. <xs:attribute name="table-name" type="xs:NCName" use="required"
  273. id="system_cache__appinfo___d10e129280-1"/>
  274. </xs:complexType>
  275. </xs:element>
  276. <xs:element name="save_to_api_xml" id="system_cache__appinfo___d10e129284-1">
  277. <xs:complexType id="system_cache__appinfo___d10e129286-1">
  278. <xs:choice maxOccurs="unbounded" minOccurs="0" id="system_cache__appinfo___d10e129288-1">
  279. <xs:element ref="system_cache__appinfo:save_to_api_xml"
  280. id="system_cache__appinfo___d10e129290-1"/>
  281. <xs:element ref="system_cache__appinfo:new_record"
  282. id="system_cache__appinfo___d10e129292-1"/>
  283. <xs:element ref="system_cache__appinfo:edit_record"
  284. id="system_cache__appinfo___d10e129294-1"/>
  285. </xs:choice>
  286. </xs:complexType>
  287. </xs:element>
  288. <xs:element name="gui_to_save_to_api" id="system_cache__appinfo___d10e129299-1">
  289. <xs:annotation>
  290. <xs:documentation>TODO obiekt do gromadzenia danych komunikacji przez GUI do przygotowania transakcji do zapisu danych/edycji - np. uzytkownik wybral 10 urzadzen, ktore chce pobrac do jakiejs lokalizacji?</xs:documentation>
  291. </xs:annotation>
  292. </xs:element>
  293. <xs:attribute name="sort"/>
  294. <xs:attribute name="root_element_in_schema"/>
  295. <xs:attribute name="prefix" type="xs:string"/>
  296. <xs:attribute name="namespace_uri"/>
  297. <xs:attribute name="id" type="xs:NCName"/>
  298. <xs:attribute name="name" type="xs:string"/>
  299. <xs:attribute name="name_no_prefix" type="xs:string"/>
  300. <xs:attribute name="xpath_full"/>
  301. <xs:attribute name="ref"/>
  302. <xs:attribute name="xpath_local"/>
  303. <xs:attribute name="xpath" type="xs:string"/>
  304. <xs:attribute name="restriction_path"/>
  305. <xs:attribute name="type"/>
  306. <xs:attribute name="restriction_path_TODEL"/>
  307. <xs:attribute name="minOccurs"/>
  308. <xs:attribute name="maxOccurs"/>
  309. <xs:attribute name="use"/>
  310. <xs:attribute name="default"/>
  311. <xs:attribute name="restriction_base">
  312. <xs:annotation>
  313. <xs:documentation>Do usuniecia - jest to dlugosc w bajtach podstawy restrykcji w buildCOmplexType.xsl</xs:documentation>
  314. </xs:annotation>
  315. </xs:attribute>
  316. <xs:attribute name="restriction_base_attr"/>
  317. <xs:attribute name="id-orig-from-restriction"/>
  318. <xs:attribute name="loop"/>
  319. <xs:attribute name="restriciction_base_lenght_TODEL"/>
  320. <xs:attribute name="path"/>
  321. <xs:attribute name="loop_name"/>
  322. <xs:attribute name="loop_id"/>
  323. <xs:attribute name="targetNamespace"/>
  324. <xs:attribute name="mixed"/>
  325. <xs:attribute name="event_type"/>
  326. <xs:attribute name="loop_name_with_prefix">
  327. <xs:annotation>
  328. <xs:documentation>zwlaszcza przy 477 w przypadku kiedy na ref nastepuje zapetlenie - zawiera nazwe wyzwalanego obiektu razem z prefixem</xs:documentation>
  329. </xs:annotation>
  330. </xs:attribute>
  331. <xs:attribute name="name_with_prefix">
  332. <xs:annotation>
  333. <xs:documentation>do uzycia zwlasczcza w p5_tr_map:loop - zawiera nazwe zapetlajacego sie elementu z prefixem. Todo nie koniecznie loop wskazuje na wlasciwa instancje</xs:documentation>
  334. </xs:annotation>
  335. </xs:attribute>
  336. <xs:attribute name="parent_complexTypeNamespace" type="xs:string"/>
  337. <xs:attribute name="complexTypeNamespace" type="xs:string"/>
  338. <xs:attribute name="get_default_db_obj_url_table_name" type="xs:string">
  339. <xs:annotation>
  340. <xs:documentation>Tabela wykryta gdzie jest przechowywana główna instancja</xs:documentation>
  341. </xs:annotation>
  342. </xs:attribute>
  343. <xs:complexType name="detect_first_ref_to_native_procesy5_table">
  344. <xs:sequence>
  345. <xs:element ref="system_cache__appinfo:detect_first_ref_to_native_procesy5_table"
  346. minOccurs="0"/>
  347. </xs:sequence>
  348. </xs:complexType>
  349. <xs:element name="detect_first_ref_to_native_procesy5_table_list"
  350. type="system_cache__appinfo:detect_first_ref_to_native_procesy5_table"/>
  351. <xs:element name="detect_first_ref_to_native_procesy5_table">
  352. <xs:complexType>
  353. <xs:attribute name="event_type" type="xs:string" use="required"/>
  354. <xs:attribute form="qualified" name="id" type="xs:NCName" use="required"/>
  355. <xs:attribute ref="system_cache__appinfo:ref" use="required"/>
  356. </xs:complexType>
  357. </xs:element>
  358. <xs:element name="objects_parent_relation__parent">
  359. <xs:complexType>
  360. <xs:complexContent>
  361. <xs:extension base="system_cache__appinfo:detect_first_ref_to_native_procesy5_table">
  362. <xs:attribute name="apply_template" use="required"/>
  363. <xs:attribute name="name" type="xs:NMTOKEN" use="required"/>
  364. <xs:attribute name="name_id" type="xs:NCName" use="required"/>
  365. <xs:attribute name="parent_complexType" type="xs:NMTOKEN" use="required"/>
  366. <xs:attribute name="prefix" type="xs:NCName" use="required"/>
  367. <xs:attribute name="when_type" type="xs:NCName" use="required"/>
  368. </xs:extension>
  369. </xs:complexContent>
  370. </xs:complexType>
  371. </xs:element>
  372. <xs:element name="parent">
  373. <xs:complexType>
  374. <xs:attribute name="parent_complexType" type="xs:NMTOKEN" use="required"/>
  375. <xs:attribute ref="system_cache__appinfo:id" use="required"/>
  376. <xs:attribute form="qualified" name="parent_object" type="xs:NMTOKEN" use="required"/>
  377. <xs:attribute form="qualified" name="parent_object_element" type="xs:NCName"
  378. use="required"/>
  379. </xs:complexType>
  380. </xs:element>
  381. <xs:element name="child">
  382. <xs:complexType>
  383. <xs:attribute form="qualified" name="flat_element" type="xs:NCName" use="required"/>
  384. <xs:attribute form="qualified" name="id" type="xs:NCName" use="required"/>
  385. <xs:attribute form="qualified" name="ref" use="required"/>
  386. <xs:attribute form="qualified" name="xpath" use="required"/>
  387. </xs:complexType>
  388. </xs:element>
  389. <xs:element name="object_element-to-flat_element_missing">
  390. <xs:complexType>
  391. <xs:attribute name="parent_complexType" type="xs:NMTOKEN" use="optional"/>
  392. <xs:attribute ref="system_cache__appinfo:id" use="required"/>
  393. <xs:attribute name="parent_object" use="required"/>
  394. </xs:complexType>
  395. </xs:element>
  396. <xs:element name="detect_root_sequence_id">
  397. <xs:complexType>
  398. <xs:attribute name="id" type="xs:NCName" use="required"/>
  399. </xs:complexType>
  400. </xs:element>
  401. <xs:element name="detect_local-elements_relations_references_with_flat_procesy5_table_list">
  402. <xs:complexType>
  403. <xs:sequence>
  404. <xs:element
  405. ref="system_cache__appinfo:detect_local-elements_relations_references_with_flat_procesy5_table"
  406. />
  407. </xs:sequence>
  408. </xs:complexType>
  409. </xs:element>
  410. <xs:element name="detect_local-elements_relations_references_with_flat_procesy5_table">
  411. <xs:complexType>
  412. <xs:sequence>
  413. <xs:element maxOccurs="unbounded" minOccurs="0"
  414. ref="system_cache__appinfo:flat_element-to-object_element"/>
  415. </xs:sequence>
  416. </xs:complexType>
  417. </xs:element>
  418. <xs:element name="detect_parent_complexType_with_ref_to_procesy5_table" type="xs:string"/>
  419. <xs:element name="flat_element-to-object_element">
  420. <xs:complexType>
  421. <xs:sequence>
  422. <xs:element minOccurs="0"
  423. ref="system_cache__appinfo:flat_relation_cache_improve_from_schema"/>
  424. </xs:sequence>
  425. <xs:attribute name="position" type="xs:integer" use="required"/>
  426. <xs:attribute form="qualified" name="flat_element" type="xs:NCName" use="required"/>
  427. <xs:attribute form="qualified" name="id" type="xs:NCName" use="required"/>
  428. <xs:attribute form="qualified" name="maxOccurs" type="xs:integer"/>
  429. <xs:attribute form="qualified" name="minOccurs" type="xs:integer"/>
  430. <xs:attribute form="qualified" name="object_element" type="xs:NCName" use="required"/>
  431. <xs:attribute form="qualified" name="xpath" use="required"/>
  432. </xs:complexType>
  433. </xs:element>
  434. <xs:element name="flat_relation_cache_improve_from_schema">
  435. <xs:complexType>
  436. <xs:attribute form="qualified" name="parent_object" type="xs:NMTOKEN" use="required"/>
  437. <xs:attribute form="qualified" name="parent_object_ref_to_name" type="xs:NCName"
  438. use="required"/>
  439. </xs:complexType>
  440. </xs:element>
  441. <xs:element name="go_recurse_from_root_only_local_elements_list">
  442. <xs:complexType>
  443. <xs:sequence minOccurs="0">
  444. <xs:element ref="system_cache__appinfo:go_recurse_from_root_only_local_elements"/>
  445. </xs:sequence>
  446. </xs:complexType>
  447. </xs:element>
  448. <xs:element name="go_recurse_from_root_only_local_elements">
  449. <xs:complexType>
  450. <xs:attribute name="TODO3485"/>
  451. </xs:complexType>
  452. </xs:element>
  453. <xs:element name="objects_parent_relation">
  454. <xs:complexType>
  455. <xs:sequence>
  456. <xs:element ref="system_cache__appinfo:objects_parent_relation__parent"/>
  457. <xs:element ref="system_cache__appinfo:objects_parent_relation__self"/>
  458. </xs:sequence>
  459. </xs:complexType>
  460. </xs:element>
  461. <xs:element name="objects_parent_relation__self">
  462. <xs:complexType>
  463. <xs:attribute name="apply_template" use="required"/>
  464. <xs:attribute name="name" type="xs:NMTOKEN" use="required"/>
  465. <xs:attribute name="name_id" type="xs:NCName" use="required"/>
  466. <xs:attribute name="parent_complexType" type="xs:NMTOKEN" use="required"/>
  467. <xs:attribute name="prefix" type="xs:NCName" use="required"/>
  468. <xs:attribute name="when_type" type="xs:NCName" use="required"/>
  469. </xs:complexType>
  470. </xs:element>
  471. <xs:element name="detect_element_relations_to_objects">
  472. <xs:complexType>
  473. <xs:attribute ref="system_cache__appinfo:id"/>
  474. <xs:attribute ref="system_cache__appinfo:ref" use="required">
  475. <xs:annotation>
  476. <xs:documentation>zawartosc nie zawsze oznacza, ze typ odwolania jest referencja - moze to byc uzycie complexType</xs:documentation>
  477. </xs:annotation>
  478. </xs:attribute>
  479. <xs:attribute fixed="477b" ref="system_cache__appinfo:event_type">
  480. <xs:annotation>
  481. <xs:documentation>W przypadku kiedy relacja do obcego obiektu nie wynika z zastosowania typu 477 (referencja), zamiast tego uzyty jest typ ComplexType nazwany, to wlaczany jest ten atrybut z ta zawartoscia.</xs:documentation>
  482. </xs:annotation>
  483. </xs:attribute>
  484. </xs:complexType>
  485. </xs:element>
  486. <xs:element name="detect_element_relations_to_objects_list">
  487. <xs:complexType>
  488. <xs:sequence>
  489. <xs:element maxOccurs="unbounded" minOccurs="0"
  490. ref="system_cache__appinfo:detect_element_relations_to_objects"/>
  491. </xs:sequence>
  492. </xs:complexType>
  493. </xs:element>
  494. <xs:element name="object_element-to-flat_element_by_xpath2_list">
  495. <xs:complexType>
  496. <xs:sequence>
  497. <xs:element maxOccurs="unbounded" minOccurs="0"
  498. ref="system_cache__appinfo:object_element-to-flat_element_by_xpath2"/>
  499. </xs:sequence>
  500. </xs:complexType>
  501. </xs:element>
  502. <xs:element name="detect_element_local_elements_without_ref_elements_list">
  503. <xs:complexType>
  504. <xs:sequence>
  505. <xs:element
  506. ref="system_cache__appinfo:detect_element_local_elements_without_ref_elements"
  507. minOccurs="0"/>
  508. </xs:sequence>
  509. </xs:complexType>
  510. </xs:element>
  511. <xs:element name="detect_element_local_elements_without_ref_elements">
  512. <xs:complexType>
  513. <xs:sequence>
  514. <xs:element maxOccurs="unbounded" minOccurs="0"
  515. ref="system_cache__appinfo:detect_element_local_elements_without_ref_elements"/>
  516. </xs:sequence>
  517. <xs:attribute name="comment"/>
  518. <xs:attribute name="create_element" type="xs:NMTOKEN"/>
  519. <xs:attribute name="event_name"/>
  520. <xs:attribute name="event_type" type="xs:NMTOKEN"/>
  521. <xs:attribute ref="system_cache__appinfo:id"/>
  522. <xs:attribute name="local-name" type="xs:NCName"/>
  523. <xs:attribute name="local-name-name" type="xs:NCName"/>
  524. <xs:attribute name="restriciction_base"/>
  525. <xs:attribute name="retrieve_ID" type="xs:anyURI"/>
  526. <xs:attribute name="retrieve_PARENT_ID" type="xs:anyURI"/>
  527. <xs:attribute name="retrieve_REMOTE_ID"/>
  528. <xs:attribute name="retrieve_TYPE" type="xs:NMTOKEN"/>
  529. <xs:attribute name="retrieve_resource_id" type="xs:NCName"/>
  530. <xs:attribute form="qualified" name="final"/>
  531. <xs:attribute form="qualified" name="id-orig-from-restriction" type="xs:NCName"/>
  532. <xs:attribute form="qualified" name="maxOccurs" type="xs:NMTOKEN"/>
  533. <xs:attribute form="qualified" name="minOccurs" type="xs:integer"/>
  534. <xs:attribute form="qualified" name="name" type="xs:NCName"/>
  535. <xs:attribute form="qualified" name="namespace_uri" type="xs:anyURI"/>
  536. <xs:attribute form="qualified" name="prefix" type="xs:NCName"/>
  537. <xs:attribute form="qualified" name="restriction_base" type="xs:integer"/>
  538. <xs:attribute form="qualified" name="restriction_base_attr"/>
  539. <xs:attribute form="qualified" name="restriction_path"/>
  540. <xs:attribute form="qualified" name="restriction_path_TODEL"/>
  541. <xs:attribute form="qualified" name="root_element_in_schema" type="xs:boolean"/>
  542. <xs:attribute form="qualified" name="sort" type="xs:integer"/>
  543. <xs:attribute form="qualified" name="targetNamespace" type="xs:anyURI"/>
  544. <xs:attribute form="qualified" name="type" type="xs:NMTOKEN"/>
  545. <xs:attribute form="qualified" name="xpath"/>
  546. <xs:attribute form="qualified" name="xpath_full"/>
  547. <xs:attribute form="qualified" name="xpath_local" type="xs:NMTOKEN"/>
  548. <xs:attribute ref="system_cache__appinfo:default"/>
  549. <xs:attribute ref="system_cache__appinfo:mixed"/>
  550. </xs:complexType>
  551. </xs:element>
  552. <xs:element name="object_element-to-flat_element_by_xpath2">
  553. <xs:complexType>
  554. <xs:sequence>
  555. <xs:element minOccurs="0"
  556. ref="system_cache__appinfo:object_element-to-flat_element_by_xpath2_list"/>
  557. <xs:choice>
  558. <xs:sequence>
  559. <xs:element ref="system_cache__appinfo:parent"/>
  560. <xs:element ref="system_cache__appinfo:child"/>
  561. </xs:sequence>
  562. <xs:element maxOccurs="unbounded" minOccurs="0"
  563. ref="system_cache__appinfo:object_element-to-flat_element_missing"/>
  564. </xs:choice>
  565. </xs:sequence>
  566. </xs:complexType>
  567. </xs:element>
  568. <xs:element name="flat_relation_cache">
  569. <xs:annotation>
  570. <xs:documentation>Element uzyty np w IN7_DZIENNIK_KORESP/ID_PROJECT w celu opisania relacji cache do innego obiektu (opisany od drugiej strony)</xs:documentation>
  571. </xs:annotation>
  572. <xs:complexType>
  573. <xs:sequence>
  574. <xs:element name="source">
  575. <xs:complexType>
  576. <xs:attribute use="required" ref="system_cache__appinfo:xpath">
  577. <xs:annotation>
  578. <xs:documentation>np default_db:IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI/ID</xs:documentation>
  579. </xs:annotation>
  580. </xs:attribute>
  581. <xs:attribute ref="system_cache__appinfo:name">
  582. <xs:annotation>
  583. <xs:documentation>np ="ID" dla wskazania, jakie pole jest lokalnie podstawa do zbudowania relacji, np w przypadku URZADZENIE do URZADZENIE bedzie to ID, ktore ma sie pojawic w PARENT_ID</xs:documentation>
  584. </xs:annotation>
  585. </xs:attribute>
  586. </xs:complexType>
  587. </xs:element>
  588. </xs:sequence>
  589. </xs:complexType>
  590. </xs:element>
  591. <xs:element name="RelatedFilter">
  592. <xs:complexType>
  593. <xs:attribute name="xpath"/>
  594. <xs:attribute name="xpath_value"/>
  595. </xs:complexType>
  596. </xs:element>
  597. <xs:element name="NamespaceBinding">
  598. <xs:annotation>
  599. <xs:documentation>${basedir}/config/NamespaceBinding.xml</xs:documentation>
  600. </xs:annotation>
  601. <xs:complexType>
  602. <xs:sequence>
  603. <xs:element maxOccurs="unbounded" ref="system_cache__appinfo:binding"/>
  604. </xs:sequence>
  605. </xs:complexType>
  606. </xs:element>
  607. <xs:element name="binding">
  608. <xs:complexType>
  609. <xs:sequence>
  610. <xs:element ref="system_cache__appinfo:prefix">
  611. <xs:annotation>
  612. <xs:documentation>Describe which prefix to use to retrieve objects from api (used temporary - should use namespace URL)</xs:documentation>
  613. </xs:annotation>
  614. </xs:element>
  615. <xs:element maxOccurs="unbounded" ref="system_cache__appinfo:api"/>
  616. </xs:sequence>
  617. <xs:attribute name="bindPolicy" use="required" type="xs:NCName"/>
  618. <xs:attribute name="targetNamespace" use="required" type="xs:anyURI"/>
  619. </xs:complexType>
  620. </xs:element>
  621. <xs:element name="api">
  622. <xs:complexType>
  623. <xs:simpleContent>
  624. <xs:extension base="xs:anyURI">
  625. <xs:attribute name="Strip" type="xs:integer"/>
  626. <xs:attribute name="type" use="required" type="xs:NCName"/>
  627. </xs:extension>
  628. </xs:simpleContent>
  629. </xs:complexType>
  630. </xs:element>
  631. <xs:element name="prefix" type="xs:NCName"/>
  632. <xs:element name="base_type">
  633. <xs:annotation>
  634. <xs:documentation>used in root schema element to use in grouping anc classyfing objects in output styles templates</xs:documentation>
  635. </xs:annotation>
  636. <xs:complexType>
  637. <xs:attribute ref="system_cache__appinfo:base_type_group"/>
  638. <xs:attribute ref="system_cache__appinfo:base_type_name"/>
  639. </xs:complexType>
  640. </xs:element>
  641. <xs:attribute name="base_type_group" type="xs:string">
  642. <xs:annotation>
  643. <xs:documentation>To handle some group in styles/output/object - e.g. Infrastructure</xs:documentation>
  644. </xs:annotation>
  645. </xs:attribute>
  646. <xs:attribute name="base_type_name" type="xs:string"/>
  647. </xs:schema>