user.xsd 56 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
  3. xmlns:default_db__x3A__ADMIN_USERS="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
  4. xmlns:gml="http://www.opengis.net/gml/3.2"
  5. xmlns:SystemObjects__x3A__AccessGroup="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessGroup.xsd"
  6. xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
  7. xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
  8. xmlns:default_db__x3A__DEVICES="https://biuro.biall-net.pl/wfs/default_db/table/DEVICES.xsd"
  9. xmlns:default_db__x3A__PROBLEMS="https://biuro.biall-net.pl/wfs/default_db/table/PROBLEMS.xsd"
  10. xmlns:default_db__x3A__USERS2_MARKETING="https://biuro.biall-net.pl/wfs/default_db/table/USERS2_MARKETING.xsd"
  11. xmlns:default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
  12. xmlns:fix_se_defaultdb_schema="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/fix_se_defaultdb_schema/fix_se_defaultdb_schema.xsd"
  13. xmlns:p5Type="http://biuro.biall-net.pl/p5/schema/types"
  14. elementFormDefault="qualified"
  15. targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
  16. vc:minVersion="1.1">
  17. <xs:import namespace="http://biuro.biall-net.pl/p5/schema/types"
  18. schemaLocation="../../../types.xsd"/>
  19. <xs:import namespace="http://www.opengis.net/gml/3.2"
  20. schemaLocation="http://www.opengis.net/gml/3.2"/>
  21. <xs:annotation>
  22. <xs:appinfo>
  23. <system_cache__appinfo:binding bindPolicy="single">
  24. <system_cache__appinfo:prefix>p5_default_db</system_cache__appinfo:prefix>
  25. <system_cache__appinfo:api type="wfs">https://biuro.biall-net.pl/SE/version-git/wfs-data.php</system_cache__appinfo:api>
  26. </system_cache__appinfo:binding>
  27. </xs:appinfo>
  28. <xs:documentation>Shcematy dla kont systemowych / pracownikow, ktorzy moga byc przywiazywani do stanowisk oraz moga dla nich byc zapewniane zasoby w rocumieniu odpowiedzialnosci</xs:documentation>
  29. </xs:annotation>
  30. <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW.xsd"
  31. schemaLocation="../../default_db.CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW.xsd"/>
  32. <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/DEVICES.xsd"
  33. schemaLocation="../../default_db.DEVICES/DEVICES/DEVICES.xsd"/>
  34. <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/USERS2_MARKETING.xsd"
  35. schemaLocation="../../default_db.USERS2_MARKETING/USERS2_MARKETING/USERS2_MARKETING.xsd"/>
  36. <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/PROBLEMS.xsd"
  37. schemaLocation="../../default_db.PROBLEMS/PROBLEMS/PROBLEMS.xsd"/>
  38. <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
  39. schemaLocation="../../default_db.IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI.xsd"/>
  40. <xs:simpleType name="ADMIN_USERS__EMPLOYE_TYPE">
  41. <xs:restriction base="xs:string">
  42. <xs:enumeration value=""/>
  43. <xs:enumeration value="Pracownik"/>
  44. <xs:enumeration value="Kandydat"/>
  45. <xs:enumeration value="Partner"/>
  46. <xs:enumeration value="Anonymous"/>
  47. <xs:enumeration value="Kontakt"/>
  48. </xs:restriction>
  49. </xs:simpleType>
  50. <xs:simpleType name="ADMIN_USERS__EMPLOYE_TYPE__person_contact_with_details">
  51. <xs:restriction base="default_db__x3A__ADMIN_USERS:ADMIN_USERS__EMPLOYE_TYPE">
  52. <xs:enumeration value="Kontakt"/>
  53. </xs:restriction>
  54. </xs:simpleType>
  55. <xs:simpleType name="ADMIN_USERS__EMPLOYE_TYPE__worker">
  56. <xs:restriction base="default_db__x3A__ADMIN_USERS:ADMIN_USERS__EMPLOYE_TYPE">
  57. <xs:enumeration value="Pracownik"/>
  58. </xs:restriction>
  59. </xs:simpleType>
  60. <xs:simpleType name="ADMIN_USERS__A_STATUS">
  61. <xs:restriction base="xs:string">
  62. <xs:enumeration value="WAITING"/>
  63. <xs:enumeration value="NORMAL"/>
  64. <xs:enumeration value="MONITOR"/>
  65. <xs:enumeration value="WARNING"/>
  66. <xs:enumeration value="OFF_SOFT"/>
  67. <xs:enumeration value="OFF_HARD"/>
  68. <xs:enumeration value="DELETED"/>
  69. </xs:restriction>
  70. </xs:simpleType>
  71. <xs:simpleType name="ADMIN_USERS__A_STATUS_NORMAL">
  72. <xs:restriction base="default_db__x3A__ADMIN_USERS:ADMIN_USERS__A_STATUS">
  73. <xs:enumeration value="NORMAL"/>
  74. </xs:restriction>
  75. </xs:simpleType>
  76. <xs:simpleType name="ADMIN_USERS__A_STATUS_OFF_HARD">
  77. <xs:restriction base="default_db__x3A__ADMIN_USERS:ADMIN_USERS__A_STATUS">
  78. <xs:enumeration value="OFF_HARD"/>
  79. </xs:restriction>
  80. </xs:simpleType>
  81. <xs:complexType name="ADMIN_USERS">
  82. <xs:annotation>
  83. <xs:appinfo>
  84. <system_cache__appinfo:heritage>
  85. <system_cache__appinfo:inherit system_cache__appinfo:inherit_ref="default_db:ADMIN_USERS"
  86. system_cache__appinfo:heritage_acl="true">
  87. <system_cache__appinfo:acl_rule_inherit_to_all_same_name_elements_and_refs/>
  88. <acl_rule_inherit_to_all_refs_by_primary/>
  89. <acl_rule_inherit_to_all_refs_by_local_element system_cache__appinfo:acl_rule_inherit_local_element_name="A_STATUS"/>
  90. </system_cache__appinfo:inherit>
  91. <system_cache__appinfo:exherit_all system_cache__appinfo:heritage_acl="true"
  92. system_cache__appinfo:heritage_sort="true"/>
  93. </system_cache__appinfo:heritage>
  94. </xs:appinfo>
  95. </xs:annotation>
  96. <xs:sequence>
  97. <xs:element name="ID" type="xs:int"/>
  98. <xs:element maxOccurs="1" minOccurs="1" name="ADM_NAME" type="xs:string"/>
  99. <xs:element maxOccurs="1" minOccurs="1" name="ADM_ACCOUNT" type="xs:string"/>
  100. <xs:element name="ADM_PASSWD" type="xs:string"/>
  101. <xs:element name="A_STATUS"
  102. type="default_db__x3A__ADMIN_USERS:ADMIN_USERS__A_STATUS"/>
  103. <xs:element name="EMPLOYEE_TYPE"
  104. type="default_db__x3A__ADMIN_USERS:ADMIN_USERS__EMPLOYE_TYPE"/>
  105. <xs:element name="ADM_OTHER_DOC" minOccurs="0" type="xs:string">
  106. <xs:annotation>
  107. <xs:documentation>todo: nalezy zdefiniowac komorke w admin users
  108. </xs:documentation>
  109. </xs:annotation>
  110. </xs:element>
  111. <xs:element name="ADM_PESEL" minOccurs="0" type="xs:string">
  112. <xs:annotation>
  113. <xs:documentation>todo: nalezy zdefiniowac komorke w admin users
  114. </xs:documentation>
  115. </xs:annotation>
  116. </xs:element>
  117. <xs:element name="ADM_PHONE" minOccurs="0" type="xs:string">
  118. <xs:annotation>
  119. <xs:documentation>todo: nalezy zdefiniowac komorke w admin users</xs:documentation>
  120. </xs:annotation>
  121. </xs:element>
  122. <xs:element minOccurs="0" name="DEFAULT_ACL_GROUP" type="xs:string">
  123. <xs:annotation>
  124. <xs:documentation>todo make ref</xs:documentation>
  125. </xs:annotation>
  126. </xs:element>
  127. <xs:element minOccurs="0" name="A_CLASSIFIED" type="xs:string">
  128. <xs:annotation>
  129. <xs:documentation>todo make ref</xs:documentation>
  130. </xs:annotation>
  131. </xs:element>
  132. <xs:element minOccurs="0" name="A_ADM_COMPANY" type="xs:string">
  133. <xs:annotation>
  134. <xs:documentation>todo make ref</xs:documentation>
  135. </xs:annotation>
  136. </xs:element>
  137. <xs:element name="EMAIL_LOCAL_ACCOUNT_ADDRESS" type="xs:string"/>
  138. <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupRead"
  139. id="ADMIN_USERS___d4e4166-1">
  140. <xs:annotation>
  141. <xs:appinfo>
  142. <system_cache__appinfo:flat_relation_cache>
  143. <system_cache__appinfo:source system_cache__appinfo:name="A_CLASSIFIED"
  144. system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:AccessGroupRead/name"/>
  145. </system_cache__appinfo:flat_relation_cache>
  146. </xs:appinfo>
  147. </xs:annotation>
  148. </xs:element>-->
  149. <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupWrite"
  150. id="ADMIN_USERS___d4e4171-1">
  151. <xs:annotation>
  152. <xs:appinfo>
  153. <system_cache__appinfo:flat_relation_cache>
  154. <system_cache__appinfo:source system_cache__appinfo:name="A_ADM_COMPANY"
  155. system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:AccessGroupWrite/name"/>
  156. </system_cache__appinfo:flat_relation_cache>
  157. </xs:appinfo>
  158. </xs:annotation>
  159. </xs:element>-->
  160. <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER">
  161. <xs:annotation>
  162. <xs:appinfo>
  163. <system_cache__appinfo:flat_relation_cache>
  164. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
  165. system_cache__appinfo:name="L_APPOITMENT_USER"
  166. system_cache__appinfo:xpath="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER/ADM_ACCOUNT"/>
  167. </system_cache__appinfo:flat_relation_cache>
  168. </xs:appinfo>
  169. <xs:documentation>
  170. TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #166
  171. </xs:documentation>
  172. </xs:annotation>
  173. </xs:element>
  174. <xs:element maxOccurs="unbounded"
  175. minOccurs="0"
  176. ref="default_db__x3A__DEVICES:DEVICES">
  177. <xs:annotation>
  178. <xs:appinfo>
  179. <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
  180. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"/>
  181. </system_cache__appinfo:flat_relation_cache>
  182. </xs:appinfo>
  183. </xs:annotation>
  184. </xs:element>
  185. <xs:element ref="default_db__x3A__USERS2_MARKETING:USERS2_MARKETING"
  186. maxOccurs="unbounded"
  187. minOccurs="0">
  188. <xs:annotation>
  189. <xs:appinfo>
  190. <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
  191. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"/>
  192. </system_cache__appinfo:flat_relation_cache>
  193. </xs:appinfo>
  194. </xs:annotation>
  195. </xs:element>
  196. <xs:element maxOccurs="unbounded"
  197. minOccurs="0"
  198. ref="default_db__x3A__PROBLEMS:PROBLEMS">
  199. <xs:annotation>
  200. <xs:appinfo>
  201. <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
  202. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"/>
  203. </system_cache__appinfo:flat_relation_cache>
  204. </xs:appinfo>
  205. </xs:annotation>
  206. </xs:element>
  207. <xs:element maxOccurs="unbounded"
  208. minOccurs="0"
  209. ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:IN7_MK_BAZA_DYSTRYBUCJI">
  210. <xs:annotation>
  211. <xs:appinfo>
  212. <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
  213. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
  214. system_cache__appinfo:name="ADM_ACCOUNT"
  215. system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:IN7_MK_BAZA_DYSTRYBUCJI/L_APPOITMENT_USER"/>
  216. </system_cache__appinfo:flat_relation_cache>
  217. </xs:appinfo>
  218. </xs:annotation>
  219. </xs:element>
  220. </xs:sequence>
  221. </xs:complexType>
  222. <xs:element name="ADMIN_USERS" type="default_db__x3A__ADMIN_USERS:ADMIN_USERS"/>
  223. <xs:element name="ADMIN_USERS_ID" type="default_db__x3A__ADMIN_USERS:ADMIN_USERS">
  224. <xs:annotation>
  225. <xs:documentation>Uzywane w TELBOXES jako osoba odpowiadajaca za sprzet</xs:documentation>
  226. </xs:annotation>
  227. </xs:element>
  228. <xs:complexType name="user">
  229. <xs:annotation>
  230. <xs:documentation>@20160708 bindera: na bazie jsona Piotrowego, do testow GUI
  231. Kombinacja: bazowa</xs:documentation>
  232. </xs:annotation>
  233. <xs:complexContent>
  234. <xs:restriction base="default_db__x3A__ADMIN_USERS:ADMIN_USERS">
  235. <xs:sequence>
  236. <xs:element name="ID" type="xs:int"/>
  237. <xs:element maxOccurs="1" minOccurs="1" name="ADM_NAME" type="xs:string"/>
  238. <xs:element maxOccurs="1" minOccurs="1" name="ADM_ACCOUNT" type="xs:string"/>
  239. <xs:element name="ADM_PASSWD" type="xs:string"/>
  240. <xs:element name="A_STATUS"
  241. type="default_db__x3A__ADMIN_USERS:ADMIN_USERS__A_STATUS"/>
  242. <xs:element name="EMPLOYEE_TYPE"
  243. type="default_db__x3A__ADMIN_USERS:ADMIN_USERS__EMPLOYE_TYPE"/>
  244. <xs:element name="ADM_OTHER_DOC" minOccurs="0" type="xs:string">
  245. <xs:annotation>
  246. <xs:documentation>todo: nalezy zdefiniowac komorke w admin users
  247. </xs:documentation>
  248. </xs:annotation>
  249. </xs:element>
  250. <xs:element name="ADM_PESEL" minOccurs="0" type="xs:string">
  251. <xs:annotation>
  252. <xs:documentation>todo: nalezy zdefiniowac komorke w admin users
  253. </xs:documentation>
  254. </xs:annotation>
  255. </xs:element>
  256. <xs:element name="ADM_PHONE" minOccurs="0" type="xs:string">
  257. <xs:annotation>
  258. <xs:documentation>todo: nalezy zdefiniowac komorke w admin users</xs:documentation>
  259. </xs:annotation>
  260. </xs:element>
  261. <xs:element minOccurs="0" name="DEFAULT_ACL_GROUP" type="xs:string">
  262. <xs:annotation>
  263. <xs:documentation>todo make ref</xs:documentation>
  264. </xs:annotation>
  265. </xs:element>
  266. <xs:element minOccurs="0" name="A_CLASSIFIED" type="xs:string">
  267. <xs:annotation>
  268. <xs:documentation>todo make ref</xs:documentation>
  269. </xs:annotation>
  270. </xs:element>
  271. <xs:element minOccurs="0" name="A_ADM_COMPANY" type="xs:string">
  272. <xs:annotation>
  273. <xs:documentation>todo make ref</xs:documentation>
  274. </xs:annotation>
  275. </xs:element>
  276. <xs:element name="EMAIL_LOCAL_ACCOUNT_ADDRESS" type="xs:string"/>
  277. <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupRead"
  278. id="ADMIN_USERS___d4e4166-1">
  279. <xs:annotation>
  280. <xs:appinfo>
  281. <system_cache__appinfo:flat_relation_cache>
  282. <system_cache__appinfo:source system_cache__appinfo:name="A_CLASSIFIED"
  283. system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:AccessGroupRead/name"/>
  284. </system_cache__appinfo:flat_relation_cache>
  285. </xs:appinfo>
  286. </xs:annotation>
  287. </xs:element>-->
  288. <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupWrite"
  289. id="ADMIN_USERS___d4e4171-1">
  290. <xs:annotation>
  291. <xs:appinfo>
  292. <system_cache__appinfo:flat_relation_cache>
  293. <system_cache__appinfo:source system_cache__appinfo:name="A_ADM_COMPANY"
  294. system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:AccessGroupWrite/name"/>
  295. </system_cache__appinfo:flat_relation_cache>
  296. </xs:appinfo>
  297. </xs:annotation>
  298. </xs:element>-->
  299. <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER">
  300. <xs:annotation>
  301. <xs:appinfo>
  302. <system_cache__appinfo:flat_relation_cache>
  303. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
  304. system_cache__appinfo:name="L_APPOITMENT_USER"
  305. system_cache__appinfo:xpath="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER/ADM_ACCOUNT"/>
  306. </system_cache__appinfo:flat_relation_cache>
  307. </xs:appinfo>
  308. <xs:documentation>
  309. TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #166
  310. </xs:documentation>
  311. </xs:annotation>
  312. </xs:element>
  313. <xs:element maxOccurs="unbounded"
  314. minOccurs="0"
  315. ref="default_db__x3A__DEVICES:DEVICES">
  316. <xs:annotation>
  317. <xs:appinfo>
  318. <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
  319. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"/>
  320. </system_cache__appinfo:flat_relation_cache>
  321. </xs:appinfo>
  322. </xs:annotation>
  323. </xs:element>
  324. <xs:element ref="default_db__x3A__USERS2_MARKETING:USERS2_MARKETING"
  325. maxOccurs="unbounded"
  326. minOccurs="0">
  327. <xs:annotation>
  328. <xs:appinfo>
  329. <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
  330. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"/>
  331. </system_cache__appinfo:flat_relation_cache>
  332. </xs:appinfo>
  333. </xs:annotation>
  334. </xs:element>
  335. <xs:element maxOccurs="unbounded"
  336. minOccurs="0"
  337. ref="default_db__x3A__PROBLEMS:PROBLEMS">
  338. <xs:annotation>
  339. <xs:appinfo>
  340. <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
  341. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"/>
  342. </system_cache__appinfo:flat_relation_cache>
  343. </xs:appinfo>
  344. </xs:annotation>
  345. </xs:element>
  346. <xs:element maxOccurs="unbounded"
  347. minOccurs="0"
  348. ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:IN7_MK_BAZA_DYSTRYBUCJI">
  349. <xs:annotation>
  350. <xs:appinfo>
  351. <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
  352. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
  353. system_cache__appinfo:name="ADM_ACCOUNT"
  354. system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:IN7_MK_BAZA_DYSTRYBUCJI/L_APPOITMENT_USER"/>
  355. </system_cache__appinfo:flat_relation_cache>
  356. </xs:appinfo>
  357. </xs:annotation>
  358. </xs:element>
  359. </xs:sequence>
  360. </xs:restriction>
  361. </xs:complexContent>
  362. </xs:complexType>
  363. <xs:complexType name="user_status__NORMAL">
  364. <xs:annotation>
  365. <xs:documentation>do generowania : typ obiektu na NORMAL do tworzenia kombinacji</xs:documentation>
  366. </xs:annotation>
  367. <xs:complexContent>
  368. <xs:restriction base="default_db__x3A__ADMIN_USERS:user">
  369. <xs:sequence>
  370. <xs:element name="ID" type="xs:int"/>
  371. <xs:element maxOccurs="1" minOccurs="1" name="ADM_NAME" type="xs:string"/>
  372. <xs:element maxOccurs="1" minOccurs="1" name="ADM_ACCOUNT" type="xs:string"/>
  373. <xs:element name="ADM_PASSWD" type="xs:string"/>
  374. <xs:element name="A_STATUS"
  375. type="default_db__x3A__ADMIN_USERS:ADMIN_USERS__A_STATUS_NORMAL"/>
  376. <xs:element name="EMPLOYEE_TYPE"
  377. type="default_db__x3A__ADMIN_USERS:ADMIN_USERS__EMPLOYE_TYPE"/>
  378. <xs:element name="ADM_OTHER_DOC" minOccurs="0" type="xs:string">
  379. <xs:annotation>
  380. <xs:documentation>todo: nalezy zdefiniowac komorke w admin users
  381. </xs:documentation>
  382. </xs:annotation>
  383. </xs:element>
  384. <xs:element name="ADM_PESEL" minOccurs="0" type="xs:string">
  385. <xs:annotation>
  386. <xs:documentation>todo: nalezy zdefiniowac komorke w admin users
  387. </xs:documentation>
  388. </xs:annotation>
  389. </xs:element>
  390. <xs:element name="ADM_PHONE" minOccurs="0" type="xs:string">
  391. <xs:annotation>
  392. <xs:documentation>todo: nalezy zdefiniowac komorke w admin users</xs:documentation>
  393. </xs:annotation>
  394. </xs:element>
  395. <xs:element minOccurs="0" name="DEFAULT_ACL_GROUP" type="xs:string">
  396. <xs:annotation>
  397. <xs:documentation>todo make ref</xs:documentation>
  398. </xs:annotation>
  399. </xs:element>
  400. <xs:element minOccurs="0" name="A_CLASSIFIED" type="xs:string">
  401. <xs:annotation>
  402. <xs:documentation>todo make ref</xs:documentation>
  403. </xs:annotation>
  404. </xs:element>
  405. <xs:element minOccurs="0" name="A_ADM_COMPANY" type="xs:string">
  406. <xs:annotation>
  407. <xs:documentation>todo make ref</xs:documentation>
  408. </xs:annotation>
  409. </xs:element>
  410. <xs:element name="EMAIL_LOCAL_ACCOUNT_ADDRESS" type="xs:string"/>
  411. <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupRead"
  412. id="ADMIN_USERS___d4e4219-1">
  413. <xs:annotation>
  414. <xs:appinfo>
  415. <system_cache__appinfo:flat_relation_cache>
  416. <system_cache__appinfo:source system_cache__appinfo:name="A_CLASSIFIED"
  417. system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:AccessGroupRead/name"/>
  418. </system_cache__appinfo:flat_relation_cache>
  419. </xs:appinfo>
  420. </xs:annotation>
  421. </xs:element>-->
  422. <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupWrite"
  423. id="ADMIN_USERS___d4e4224-1">
  424. <xs:annotation>
  425. <xs:appinfo>
  426. <system_cache__appinfo:flat_relation_cache>
  427. <system_cache__appinfo:source system_cache__appinfo:name="A_ADM_COMPANY"
  428. system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:AccessGroupWrite/name"/>
  429. </system_cache__appinfo:flat_relation_cache>
  430. </xs:appinfo>
  431. </xs:annotation>
  432. </xs:element>-->
  433. <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER">
  434. <xs:annotation>
  435. <xs:appinfo>
  436. <system_cache__appinfo:flat_relation_cache>
  437. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
  438. system_cache__appinfo:name="L_APPOITMENT_USER"
  439. system_cache__appinfo:xpath="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER/ADM_ACCOUNT"/>
  440. </system_cache__appinfo:flat_relation_cache>
  441. </xs:appinfo>
  442. <xs:documentation>
  443. TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #166
  444. </xs:documentation>
  445. </xs:annotation>
  446. </xs:element>
  447. <xs:element maxOccurs="unbounded"
  448. minOccurs="0"
  449. ref="default_db__x3A__DEVICES:DEVICES">
  450. <xs:annotation>
  451. <xs:appinfo>
  452. <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
  453. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"/>
  454. </system_cache__appinfo:flat_relation_cache>
  455. </xs:appinfo>
  456. </xs:annotation>
  457. </xs:element>
  458. <xs:element ref="default_db__x3A__USERS2_MARKETING:USERS2_MARKETING"
  459. maxOccurs="unbounded"
  460. minOccurs="0">
  461. <xs:annotation>
  462. <xs:appinfo>
  463. <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
  464. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"/>
  465. </system_cache__appinfo:flat_relation_cache>
  466. </xs:appinfo>
  467. </xs:annotation>
  468. </xs:element>
  469. <xs:element maxOccurs="unbounded"
  470. minOccurs="0"
  471. ref="default_db__x3A__PROBLEMS:PROBLEMS">
  472. <xs:annotation>
  473. <xs:appinfo>
  474. <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
  475. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"/>
  476. </system_cache__appinfo:flat_relation_cache>
  477. </xs:appinfo>
  478. </xs:annotation>
  479. </xs:element>
  480. </xs:sequence>
  481. </xs:restriction>
  482. </xs:complexContent>
  483. </xs:complexType>
  484. <xs:element name="user_status__NORMAL"
  485. type="default_db__x3A__ADMIN_USERS:user_status__NORMAL"/>
  486. <xs:complexType name="user_status__OFF_HARD">
  487. <xs:complexContent>
  488. <xs:restriction base="default_db__x3A__ADMIN_USERS:user">
  489. <xs:sequence>
  490. <xs:element name="ID" type="xs:int"/>
  491. <xs:element maxOccurs="1" minOccurs="1" name="ADM_NAME" type="xs:string"/>
  492. <xs:element maxOccurs="1" minOccurs="1" name="ADM_ACCOUNT" type="xs:string"/>
  493. <xs:element name="ADM_PASSWD" type="xs:string"/>
  494. <xs:element name="A_STATUS"
  495. type="default_db__x3A__ADMIN_USERS:ADMIN_USERS__A_STATUS_OFF_HARD"/>
  496. <xs:element name="EMPLOYEE_TYPE"
  497. type="default_db__x3A__ADMIN_USERS:ADMIN_USERS__EMPLOYE_TYPE"/>
  498. <xs:element name="ADM_OTHER_DOC" minOccurs="0" type="xs:string">
  499. <xs:annotation>
  500. <xs:documentation>todo: nalezy zdefiniowac komorke w admin users
  501. </xs:documentation>
  502. </xs:annotation>
  503. </xs:element>
  504. <xs:element name="ADM_PESEL" minOccurs="0" type="xs:string">
  505. <xs:annotation>
  506. <xs:documentation>todo: nalezy zdefiniowac komorke w admin users
  507. </xs:documentation>
  508. </xs:annotation>
  509. </xs:element>
  510. <xs:element name="ADM_PHONE" minOccurs="0" type="xs:string">
  511. <xs:annotation>
  512. <xs:documentation>todo: nalezy zdefiniowac komorke w admin users</xs:documentation>
  513. </xs:annotation>
  514. </xs:element>
  515. <xs:element minOccurs="0" name="DEFAULT_ACL_GROUP" type="xs:string">
  516. <xs:annotation>
  517. <xs:documentation>todo make ref</xs:documentation>
  518. </xs:annotation>
  519. </xs:element>
  520. <xs:element minOccurs="0" name="A_CLASSIFIED" type="xs:string">
  521. <xs:annotation>
  522. <xs:documentation>todo make ref</xs:documentation>
  523. </xs:annotation>
  524. </xs:element>
  525. <xs:element minOccurs="0" name="A_ADM_COMPANY" type="xs:string">
  526. <xs:annotation>
  527. <xs:documentation>todo make ref</xs:documentation>
  528. </xs:annotation>
  529. </xs:element>
  530. <xs:element name="EMAIL_LOCAL_ACCOUNT_ADDRESS" type="xs:string"/>
  531. <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupRead"
  532. id="ADMIN_USERS___d4e4271-1">
  533. <xs:annotation>
  534. <xs:appinfo>
  535. <system_cache__appinfo:flat_relation_cache>
  536. <system_cache__appinfo:source system_cache__appinfo:name="A_CLASSIFIED"
  537. system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:AccessGroupRead/name"/>
  538. </system_cache__appinfo:flat_relation_cache>
  539. </xs:appinfo>
  540. </xs:annotation>
  541. </xs:element>-->
  542. <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupWrite"
  543. id="ADMIN_USERS___d4e4276-1">
  544. <xs:annotation>
  545. <xs:appinfo>
  546. <system_cache__appinfo:flat_relation_cache>
  547. <system_cache__appinfo:source system_cache__appinfo:name="A_ADM_COMPANY"
  548. system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:AccessGroupWrite/name"/>
  549. </system_cache__appinfo:flat_relation_cache>
  550. </xs:appinfo>
  551. </xs:annotation>
  552. </xs:element>-->
  553. <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER">
  554. <xs:annotation>
  555. <xs:appinfo>
  556. <system_cache__appinfo:flat_relation_cache>
  557. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
  558. system_cache__appinfo:name="L_APPOITMENT_USER"
  559. system_cache__appinfo:xpath="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER/ADM_ACCOUNT"/>
  560. </system_cache__appinfo:flat_relation_cache>
  561. </xs:appinfo>
  562. <xs:documentation>
  563. TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #166
  564. </xs:documentation>
  565. </xs:annotation>
  566. </xs:element>
  567. <xs:element maxOccurs="unbounded"
  568. minOccurs="0"
  569. ref="default_db__x3A__DEVICES:DEVICES">
  570. <xs:annotation>
  571. <xs:appinfo>
  572. <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
  573. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"/>
  574. </system_cache__appinfo:flat_relation_cache>
  575. </xs:appinfo>
  576. <xs:documentation>
  577. TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #555544
  578. </xs:documentation>
  579. </xs:annotation>
  580. </xs:element>
  581. <xs:element ref="default_db__x3A__USERS2_MARKETING:USERS2_MARKETING"
  582. maxOccurs="unbounded"
  583. minOccurs="0">
  584. <xs:annotation>
  585. <xs:appinfo>
  586. <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
  587. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"/>
  588. </system_cache__appinfo:flat_relation_cache>
  589. </xs:appinfo>
  590. </xs:annotation>
  591. </xs:element>
  592. <xs:element maxOccurs="unbounded"
  593. minOccurs="0"
  594. ref="default_db__x3A__PROBLEMS:PROBLEMS">
  595. <xs:annotation>
  596. <xs:appinfo>
  597. <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
  598. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"/>
  599. </system_cache__appinfo:flat_relation_cache>
  600. </xs:appinfo>
  601. </xs:annotation>
  602. </xs:element>
  603. <xs:element maxOccurs="unbounded"
  604. minOccurs="0"
  605. ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:IN7_MK_BAZA_DYSTRYBUCJI">
  606. <xs:annotation>
  607. <xs:appinfo>
  608. <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
  609. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
  610. system_cache__appinfo:name="ADM_ACCOUNT"
  611. system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:IN7_MK_BAZA_DYSTRYBUCJI/L_APPOITMENT_USER"/>
  612. </system_cache__appinfo:flat_relation_cache>
  613. </xs:appinfo>
  614. </xs:annotation>
  615. </xs:element>
  616. </xs:sequence>
  617. </xs:restriction>
  618. </xs:complexContent>
  619. </xs:complexType>
  620. <xs:element name="user_status__OFF_HARD"
  621. type="default_db__x3A__ADMIN_USERS:user_status__OFF_HARD"/>
  622. <xs:element name="user" type="default_db__x3A__ADMIN_USERS:user"/>
  623. <xs:element name="AccessOwner" type="default_db__x3A__ADMIN_USERS:user">
  624. <xs:annotation>
  625. <xs:documentation>Odpowiednik L_APPOITMENT_USER</xs:documentation>
  626. </xs:annotation>
  627. </xs:element>
  628. <xs:complexType name="person_contatct">
  629. <xs:annotation>
  630. <xs:documentation>TODO podstawowy obiekt do wprowadzania jako kontakt do osoby fizycznej z mozliwoscia ewnetualnego logowania i widzenia spraw powiazanych
  631. Kombinacja: EMPLOYE TYPE Kontakt</xs:documentation>
  632. </xs:annotation>
  633. <xs:complexContent>
  634. <xs:restriction base="default_db__x3A__ADMIN_USERS:user">
  635. <xs:sequence>
  636. <xs:element name="ID" type="xs:int"/>
  637. <xs:element maxOccurs="1" minOccurs="1" name="ADM_NAME" type="xs:string"/>
  638. <xs:element maxOccurs="1" minOccurs="1" name="ADM_ACCOUNT" type="xs:string"/>
  639. <xs:element name="ADM_PASSWD" type="xs:string"/>
  640. <xs:element name="A_STATUS"
  641. type="default_db__x3A__ADMIN_USERS:ADMIN_USERS__A_STATUS"/>
  642. <xs:element name="EMPLOYEE_TYPE"
  643. type="default_db__x3A__ADMIN_USERS:ADMIN_USERS__EMPLOYE_TYPE"/>
  644. <xs:element name="ADM_OTHER_DOC" minOccurs="0" type="xs:string">
  645. <xs:annotation>
  646. <xs:documentation>todo: nalezy zdefiniowac komorke w admin users
  647. </xs:documentation>
  648. </xs:annotation>
  649. </xs:element>
  650. <xs:element name="ADM_PESEL" minOccurs="0" type="xs:string">
  651. <xs:annotation>
  652. <xs:documentation>todo: nalezy zdefiniowac komorke w admin users
  653. </xs:documentation>
  654. </xs:annotation>
  655. </xs:element>
  656. <xs:element name="ADM_PHONE" minOccurs="0" type="xs:string">
  657. <xs:annotation>
  658. <xs:documentation>todo: nalezy zdefiniowac komorke w admin users</xs:documentation>
  659. </xs:annotation>
  660. </xs:element>
  661. <xs:element minOccurs="0" name="DEFAULT_ACL_GROUP" type="xs:string">
  662. <xs:annotation>
  663. <xs:documentation>todo make ref</xs:documentation>
  664. </xs:annotation>
  665. </xs:element>
  666. <xs:element minOccurs="0" name="A_CLASSIFIED" type="xs:string">
  667. <xs:annotation>
  668. <xs:documentation>todo make ref</xs:documentation>
  669. </xs:annotation>
  670. </xs:element>
  671. <xs:element minOccurs="0" name="A_ADM_COMPANY" type="xs:string">
  672. <xs:annotation>
  673. <xs:documentation>todo make ref</xs:documentation>
  674. </xs:annotation>
  675. </xs:element>
  676. <xs:element name="EMAIL_LOCAL_ACCOUNT_ADDRESS" type="xs:string"/>
  677. <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupRead"
  678. id="ADMIN_USERS___d4e4330-1">
  679. <xs:annotation>
  680. <xs:appinfo>
  681. <system_cache__appinfo:flat_relation_cache>
  682. <system_cache__appinfo:source system_cache__appinfo:name="A_CLASSIFIED"
  683. system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:AccessGroupRead/name"/>
  684. </system_cache__appinfo:flat_relation_cache>
  685. </xs:appinfo>
  686. </xs:annotation>
  687. </xs:element>-->
  688. <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupWrite"
  689. id="ADMIN_USERS___d4e4335-1">
  690. <xs:annotation>
  691. <xs:appinfo>
  692. <system_cache__appinfo:flat_relation_cache>
  693. <system_cache__appinfo:source system_cache__appinfo:name="A_ADM_COMPANY"
  694. system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:AccessGroupWrite/name"/>
  695. </system_cache__appinfo:flat_relation_cache>
  696. </xs:appinfo>
  697. </xs:annotation>
  698. </xs:element>-->
  699. <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER">
  700. <xs:annotation>
  701. <xs:appinfo>
  702. <system_cache__appinfo:flat_relation_cache>
  703. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
  704. system_cache__appinfo:name="L_APPOITMENT_USER"
  705. system_cache__appinfo:xpath="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER/ADM_ACCOUNT"/>
  706. </system_cache__appinfo:flat_relation_cache>
  707. </xs:appinfo>
  708. <xs:documentation>
  709. TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #166
  710. </xs:documentation>
  711. </xs:annotation>
  712. </xs:element>
  713. <xs:element maxOccurs="unbounded"
  714. minOccurs="0"
  715. ref="default_db__x3A__DEVICES:DEVICES">
  716. <xs:annotation>
  717. <xs:appinfo>
  718. <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
  719. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"/>
  720. </system_cache__appinfo:flat_relation_cache>
  721. </xs:appinfo>
  722. </xs:annotation>
  723. </xs:element>
  724. <xs:element ref="default_db__x3A__USERS2_MARKETING:USERS2_MARKETING"
  725. maxOccurs="unbounded"
  726. minOccurs="0">
  727. <xs:annotation>
  728. <xs:appinfo>
  729. <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
  730. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"/>
  731. </system_cache__appinfo:flat_relation_cache>
  732. </xs:appinfo>
  733. </xs:annotation>
  734. </xs:element>
  735. <xs:element maxOccurs="unbounded"
  736. minOccurs="0"
  737. ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:IN7_MK_BAZA_DYSTRYBUCJI">
  738. <xs:annotation>
  739. <xs:appinfo>
  740. <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
  741. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
  742. system_cache__appinfo:name="ADM_ACCOUNT"
  743. system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:IN7_MK_BAZA_DYSTRYBUCJI/L_APPOITMENT_USER"/>
  744. </system_cache__appinfo:flat_relation_cache>
  745. </xs:appinfo>
  746. </xs:annotation>
  747. </xs:element>
  748. </xs:sequence>
  749. </xs:restriction>
  750. </xs:complexContent>
  751. </xs:complexType>
  752. <xs:element name="person_contatct"
  753. type="default_db__x3A__ADMIN_USERS:person_contatct"/>
  754. <xs:complexType name="person_contact_with_details">
  755. <xs:annotation>
  756. <xs:documentation>Kontakt do dodawania do umow, rozszerzony o pesel i dane dokładne adresowe zamieszkania
  757. Kombinacja: EMPLOYE TYPE Kontakt</xs:documentation>
  758. </xs:annotation>
  759. <xs:complexContent>
  760. <xs:restriction base="default_db__x3A__ADMIN_USERS:user">
  761. <xs:sequence>
  762. <xs:element name="ID" type="xs:int"/>
  763. <xs:element maxOccurs="1" minOccurs="1" name="ADM_NAME" type="xs:string"/>
  764. <xs:element maxOccurs="1" minOccurs="1" name="ADM_ACCOUNT" type="xs:string"/>
  765. <xs:element name="ADM_PASSWD" type="xs:string"/>
  766. <xs:element name="A_STATUS"
  767. type="default_db__x3A__ADMIN_USERS:ADMIN_USERS__A_STATUS"/>
  768. <xs:element name="EMPLOYEE_TYPE"
  769. type="default_db__x3A__ADMIN_USERS:ADMIN_USERS__EMPLOYE_TYPE"/>
  770. <xs:element name="ADM_OTHER_DOC" minOccurs="0" type="xs:string">
  771. <xs:annotation>
  772. <xs:documentation>todo: nalezy zdefiniowac komorke w admin users
  773. </xs:documentation>
  774. </xs:annotation>
  775. </xs:element>
  776. <xs:element name="ADM_PESEL" minOccurs="0" type="xs:string">
  777. <xs:annotation>
  778. <xs:documentation>todo: nalezy zdefiniowac komorke w admin users
  779. </xs:documentation>
  780. </xs:annotation>
  781. </xs:element>
  782. <xs:element name="ADM_PHONE" minOccurs="1" type="xs:string">
  783. <xs:annotation>
  784. <xs:documentation>todo: nalezy zdefiniowac komorke w admin users</xs:documentation>
  785. </xs:annotation>
  786. </xs:element>
  787. <xs:element minOccurs="0" name="DEFAULT_ACL_GROUP" type="xs:string">
  788. <xs:annotation>
  789. <xs:documentation>todo make ref</xs:documentation>
  790. </xs:annotation>
  791. </xs:element>
  792. <xs:element minOccurs="0" name="A_CLASSIFIED" type="xs:string">
  793. <xs:annotation>
  794. <xs:documentation>todo make ref</xs:documentation>
  795. </xs:annotation>
  796. </xs:element>
  797. <xs:element minOccurs="0" name="A_ADM_COMPANY" type="xs:string">
  798. <xs:annotation>
  799. <xs:documentation>todo make ref</xs:documentation>
  800. </xs:annotation>
  801. </xs:element>
  802. <xs:element name="EMAIL_LOCAL_ACCOUNT_ADDRESS" type="xs:string"/>
  803. <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupRead"
  804. id="ADMIN_USERS___d4e4384-1">
  805. <xs:annotation>
  806. <xs:appinfo>
  807. <system_cache__appinfo:flat_relation_cache>
  808. <system_cache__appinfo:source system_cache__appinfo:name="A_CLASSIFIED"
  809. system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:AccessGroupRead/name"/>
  810. </system_cache__appinfo:flat_relation_cache>
  811. </xs:appinfo>
  812. </xs:annotation>
  813. </xs:element>-->
  814. <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupWrite"
  815. id="ADMIN_USERS___d4e4389-1">
  816. <xs:annotation>
  817. <xs:appinfo>
  818. <system_cache__appinfo:flat_relation_cache>
  819. <system_cache__appinfo:source system_cache__appinfo:name="A_ADM_COMPANY"
  820. system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:AccessGroupWrite/name"/>
  821. </system_cache__appinfo:flat_relation_cache>
  822. </xs:appinfo>
  823. </xs:annotation>
  824. </xs:element>-->
  825. <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER">
  826. <xs:annotation>
  827. <xs:appinfo>
  828. <system_cache__appinfo:flat_relation_cache>
  829. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
  830. system_cache__appinfo:name="L_APPOITMENT_USER"
  831. system_cache__appinfo:xpath="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER/ADM_ACCOUNT"/>
  832. </system_cache__appinfo:flat_relation_cache>
  833. </xs:appinfo>
  834. <xs:documentation>
  835. TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #166
  836. </xs:documentation>
  837. </xs:annotation>
  838. </xs:element>
  839. <xs:element maxOccurs="unbounded"
  840. minOccurs="0"
  841. ref="default_db__x3A__DEVICES:DEVICES">
  842. <xs:annotation>
  843. <xs:appinfo>
  844. <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
  845. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"/>
  846. </system_cache__appinfo:flat_relation_cache>
  847. </xs:appinfo>
  848. </xs:annotation>
  849. </xs:element>
  850. <xs:element ref="default_db__x3A__USERS2_MARKETING:USERS2_MARKETING"
  851. maxOccurs="unbounded"
  852. minOccurs="0">
  853. <xs:annotation>
  854. <xs:appinfo>
  855. <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
  856. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"/>
  857. </system_cache__appinfo:flat_relation_cache>
  858. </xs:appinfo>
  859. </xs:annotation>
  860. </xs:element>
  861. <xs:element maxOccurs="unbounded"
  862. minOccurs="0"
  863. ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:IN7_MK_BAZA_DYSTRYBUCJI">
  864. <xs:annotation>
  865. <xs:appinfo>
  866. <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
  867. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
  868. system_cache__appinfo:name="ADM_ACCOUNT"
  869. system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:IN7_MK_BAZA_DYSTRYBUCJI/L_APPOITMENT_USER"/>
  870. </system_cache__appinfo:flat_relation_cache>
  871. </xs:appinfo>
  872. </xs:annotation>
  873. </xs:element>
  874. </xs:sequence>
  875. </xs:restriction>
  876. </xs:complexContent>
  877. </xs:complexType>
  878. <xs:element name="person_contact_with_details"
  879. type="default_db__x3A__ADMIN_USERS:person_contact_with_details"/>
  880. <xs:complexType name="worker">
  881. <xs:annotation>
  882. <xs:documentation>kombinacja - jest to EMPLOYEE TYPE = Pracownik</xs:documentation>
  883. </xs:annotation>
  884. <xs:complexContent>
  885. <xs:restriction base="default_db__x3A__ADMIN_USERS:user">
  886. <xs:sequence>
  887. <xs:element name="ID" type="xs:int"/>
  888. <xs:element maxOccurs="1" minOccurs="1" name="ADM_NAME" type="xs:string"/>
  889. <xs:element maxOccurs="1" minOccurs="1" name="ADM_ACCOUNT" type="xs:string"/>
  890. <xs:element name="ADM_PASSWD" type="xs:string"/>
  891. <xs:element name="A_STATUS"
  892. type="default_db__x3A__ADMIN_USERS:ADMIN_USERS__A_STATUS_NORMAL"/>
  893. <xs:element name="EMPLOYEE_TYPE"
  894. type="default_db__x3A__ADMIN_USERS:ADMIN_USERS__EMPLOYE_TYPE__worker"/>
  895. <xs:element name="ADM_OTHER_DOC" minOccurs="0" type="xs:string">
  896. <xs:annotation>
  897. <xs:documentation>todo: nalezy zdefiniowac komorke w admin users
  898. </xs:documentation>
  899. </xs:annotation>
  900. </xs:element>
  901. <xs:element name="ADM_PESEL" minOccurs="0" type="xs:string">
  902. <xs:annotation>
  903. <xs:documentation>todo: nalezy zdefiniowac komorke w admin users
  904. </xs:documentation>
  905. </xs:annotation>
  906. </xs:element>
  907. <xs:element name="ADM_PHONE" minOccurs="0" type="xs:string">
  908. <xs:annotation>
  909. <xs:documentation>todo: nalezy zdefiniowac komorke w admin users</xs:documentation>
  910. </xs:annotation>
  911. </xs:element>
  912. <xs:element minOccurs="0" name="DEFAULT_ACL_GROUP" type="xs:string">
  913. <xs:annotation>
  914. <xs:documentation>todo make ref</xs:documentation>
  915. </xs:annotation>
  916. </xs:element>
  917. <xs:element minOccurs="0" name="A_CLASSIFIED" type="xs:string">
  918. <xs:annotation>
  919. <xs:documentation>todo make ref</xs:documentation>
  920. </xs:annotation>
  921. </xs:element>
  922. <xs:element minOccurs="0" name="A_ADM_COMPANY" type="xs:string">
  923. <xs:annotation>
  924. <xs:documentation>todo make ref</xs:documentation>
  925. </xs:annotation>
  926. </xs:element>
  927. <xs:element name="EMAIL_LOCAL_ACCOUNT_ADDRESS" type="xs:string"/>
  928. <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupRead"
  929. id="ADMIN_USERS___d4e4438-1">
  930. <xs:annotation>
  931. <xs:appinfo>
  932. <system_cache__appinfo:flat_relation_cache>
  933. <system_cache__appinfo:source system_cache__appinfo:name="A_CLASSIFIED"
  934. system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:AccessGroupRead/name"/>
  935. </system_cache__appinfo:flat_relation_cache>
  936. </xs:appinfo>
  937. </xs:annotation>
  938. </xs:element>-->
  939. <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupWrite"
  940. id="ADMIN_USERS___d4e4443-1">
  941. <xs:annotation>
  942. <xs:appinfo>
  943. <system_cache__appinfo:flat_relation_cache>
  944. <system_cache__appinfo:source system_cache__appinfo:name="A_ADM_COMPANY"
  945. system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:AccessGroupWrite/name"/>
  946. </system_cache__appinfo:flat_relation_cache>
  947. </xs:appinfo>
  948. </xs:annotation>
  949. </xs:element>-->
  950. <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER">
  951. <xs:annotation>
  952. <xs:appinfo>
  953. <system_cache__appinfo:flat_relation_cache>
  954. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
  955. system_cache__appinfo:name="L_APPOITMENT_USER"
  956. system_cache__appinfo:xpath="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER/ADM_ACCOUNT"/>
  957. </system_cache__appinfo:flat_relation_cache>
  958. </xs:appinfo>
  959. <xs:documentation>
  960. TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #166
  961. </xs:documentation>
  962. </xs:annotation>
  963. </xs:element>
  964. <xs:element maxOccurs="unbounded"
  965. minOccurs="0"
  966. ref="default_db__x3A__DEVICES:DEVICES">
  967. <xs:annotation>
  968. <xs:appinfo>
  969. <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
  970. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"/>
  971. </system_cache__appinfo:flat_relation_cache>
  972. </xs:appinfo>
  973. </xs:annotation>
  974. </xs:element>
  975. <xs:element ref="default_db__x3A__USERS2_MARKETING:USERS2_MARKETING"
  976. maxOccurs="unbounded"
  977. minOccurs="0">
  978. <xs:annotation>
  979. <xs:appinfo>
  980. <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
  981. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"/>
  982. </system_cache__appinfo:flat_relation_cache>
  983. </xs:appinfo>
  984. </xs:annotation>
  985. </xs:element>
  986. <xs:element maxOccurs="unbounded"
  987. minOccurs="0"
  988. ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:IN7_MK_BAZA_DYSTRYBUCJI">
  989. <xs:annotation>
  990. <xs:appinfo>
  991. <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
  992. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
  993. system_cache__appinfo:name="ADM_ACCOUNT"
  994. system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:IN7_MK_BAZA_DYSTRYBUCJI/L_APPOITMENT_USER"/>
  995. </system_cache__appinfo:flat_relation_cache>
  996. </xs:appinfo>
  997. </xs:annotation>
  998. </xs:element>
  999. </xs:sequence>
  1000. </xs:restriction>
  1001. </xs:complexContent>
  1002. </xs:complexType>
  1003. <xs:element name="worker"
  1004. type="default_db__x3A__ADMIN_USERS:worker"
  1005. substitutionGroup="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER"/>
  1006. <xs:element name="L_APPOITMENT_USER" type="default_db__x3A__ADMIN_USERS:worker"/>
  1007. <xs:element name="CUSTOMER_ADMIN_USER" type="default_db__x3A__ADMIN_USERS:worker">
  1008. <xs:annotation>
  1009. <xs:documentation>GLownie w zadaniach jest taka relacja</xs:documentation>
  1010. </xs:annotation>
  1011. </xs:element>
  1012. </xs:schema>