Dzialki_Unknown.xsd 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
  3. xmlns:gml="http://www.opengis.net/gml/3.2"
  4. xmlns:Types__x3A__default_Infrastructure="https://biuro.biall-net.pl/wfs/default_db/Types/Infrastructure.xsd"
  5. xmlns:default_db__x3A__IN7_DZIENNIK_KORESP="https://biuro.biall-net.pl/wfs/default_db/table/IN7_DZIENNIK_KORESP.xsd"
  6. xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty"
  7. xmlns:default_db__x3A__ADMIN_USERS="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
  8. xmlns:default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
  9. xmlns:SystemObjects__x3A__AccessGroup="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessGroup.xsd"
  10. xmlns:SystemObjects__x3A__AccessOwner="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessOwner.xsd"
  11. xmlns:default_db__x3A__CRM_LISTA_ZASOBOW="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW.xsd"
  12. xmlns:default_db__x3A__Dzialki="https://biuro.biall-net.pl/wfs/default_db/table/Dzialki.xsd"
  13. xmlns:default_db__x3A__COMPANIES="https://biuro.biall-net.pl/wfs/default_db/table/COMPANIES.xsd"
  14. xmlns:p5_tr_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/procesy5_translate_map.xsd"
  15. xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
  16. 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"
  17. xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
  18. xmlns:fix_se_defaultdb_schema="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/fix_se_defaultdb_schema/fix_se_defaultdb_schema.xsd"
  19. xmlns:p5Type="http://biuro.biall-net.pl/p5/schema/types"
  20. targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/Dzialki.xsd"
  21. vc:minVersion="1.1">
  22. <xs:import namespace="http://biuro.biall-net.pl/p5/schema/types"
  23. schemaLocation="../../../types.xsd"/>
  24. <xs:import namespace="http://www.opengis.net/gml/3.2"
  25. schemaLocation="http://www.opengis.net/gml/3.2"/>
  26. <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_DZIENNIK_KORESP.xsd"
  27. schemaLocation="../../default_db.IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP.xsd"/>
  28. <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
  29. schemaLocation="../../default_db.IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI.xsd"/>
  30. <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/COMPANIES.xsd"
  31. schemaLocation="../../default_db.COMPANIES/COMPANIES/COMPANIES.xsd"/>
  32. <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
  33. schemaLocation="../../default_db.ADMIN_USERS/ADMIN_USERS/ADMIN_USERS.xsd"/>
  34. <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW.xsd"
  35. schemaLocation="../../default_db.CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW.xsd"/>
  36. <xs:simpleType name="INWDZ__typ_dzialki">
  37. <xs:restriction base="xs:string">
  38. <xs:enumeration value=""/>
  39. <xs:enumeration value="DROGA"/>
  40. <xs:enumeration value="PRYWATNA"/>
  41. <xs:enumeration value="LAS"/>
  42. <xs:enumeration value="CIEK"/>
  43. <xs:enumeration value="INNE"/>
  44. <xs:enumeration value="PKP"/>
  45. <xs:enumeration value="AGENCJA ROLNA"/>
  46. <xs:enumeration value="SPÓŁDZIELNIA"/>
  47. <xs:enumeration value="GMINNA"/>
  48. <xs:enumeration value="POWIATOWA"/>
  49. <xs:enumeration value="WOJEWÓDZKA"/>
  50. </xs:restriction>
  51. </xs:simpleType>
  52. <xs:complexType name="Dzialki" system_cache__appinfo:primaryKey="ID">
  53. <xs:annotation>
  54. <xs:appinfo>
  55. <system_cache__appinfo:heritage>
  56. <system_cache__appinfo:inherit system_cache__appinfo:inherit_ref="default_db:Dzialki"
  57. system_cache__appinfo:heritage_acl="true">
  58. <system_cache__appinfo:acl_rule_inherit_to_all_same_name_elements_and_refs/>
  59. <acl_rule_inherit_to_all_refs_by_primary/>
  60. <acl_rule_inherit_to_all_refs_by_local_element system_cache__appinfo:acl_rule_inherit_local_element_name="A_STATUS"/>
  61. </system_cache__appinfo:inherit>
  62. <system_cache__appinfo:exherit_all system_cache__appinfo:heritage_acl="true"
  63. system_cache__appinfo:heritage_sort="true"/>
  64. </system_cache__appinfo:heritage>
  65. </xs:appinfo>
  66. <xs:documentation>Instancyjny - Protopyowy obiekt, który powinien mieć typy konkretnych
  67. rodzaji dla różnych technologii. Podzielony z uwagi na stany projektowania oraz
  68. realizacji. </xs:documentation>
  69. </xs:annotation>
  70. <xs:sequence>
  71. <xs:element name="ID" type="xs:int"/>
  72. <xs:element name="the_geom" type="gml:AbstractFeatureType">
  73. <xs:annotation>
  74. <xs:documentation>Dane geograficzne obiektu - linia, punkt,
  75. polygon
  76. KONIECZNIE UZUPELNIONE</xs:documentation>
  77. </xs:annotation>
  78. </xs:element>
  79. <xs:element minOccurs="0" name="A_STATUS_INFO" type="xs:string"/>
  80. <xs:element minOccurs="0" name="opis" type="xs:string">
  81. <xs:annotation>
  82. <xs:documentation>To zmiany na ID_ZASOBU pod katem kosztorysowym</xs:documentation>
  83. </xs:annotation>
  84. </xs:element>
  85. <xs:element minOccurs="0" name="ID_ZASOB" type="xs:int"/>
  86. <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:ID_ZASOB" minOccurs="0">
  87. <xs:annotation>
  88. <xs:appinfo>
  89. <system_cache__appinfo:flat_relation_cache>
  90. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
  91. system_cache__appinfo:name="ID_ZASOB"
  92. system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW:ID_ZASOB/ID"/>
  93. </system_cache__appinfo:flat_relation_cache>
  94. </xs:appinfo>
  95. <xs:documentation>
  96. TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #51112 !!!
  97. </xs:documentation>
  98. </xs:annotation>
  99. </xs:element>
  100. <xs:element minOccurs="0" name="Dlugosc" type="xs:double"/>
  101. <xs:element minOccurs="0" name="Powierzchnia" type="xs:double"/>
  102. <xs:element minOccurs="0" name="L_APPOITMENT_USER" type="xs:string"/>
  103. <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER" minOccurs="0">
  104. <xs:annotation>
  105. <xs:appinfo>
  106. <system_cache__appinfo:flat_relation_cache>
  107. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
  108. system_cache__appinfo:name="L_APPOITMENT_USER"
  109. system_cache__appinfo:xpath="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER/ADM_ACCOUNT"/>
  110. </system_cache__appinfo:flat_relation_cache>
  111. </xs:appinfo>
  112. <xs:documentation>
  113. TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #166
  114. </xs:documentation>
  115. </xs:annotation>
  116. </xs:element>
  117. <!--<xs:element ref="SystemObjects__x3A__AccessOwner:AccessOwner" id="cza_Dzialki___d4e6454-1">
  118. <xs:annotation>
  119. <xs:appinfo>
  120. <system_cache__appinfo:flat_relation_cache>
  121. <system_cache__appinfo:source system_cache__appinfo:name="L_APPOITMENT_USER" system_cache__appinfo:xpath="SystemObjects__x3A__AccessOwner:AccessOwner/name"/>
  122. </system_cache__appinfo:flat_relation_cache>
  123. </xs:appinfo>
  124. </xs:annotation>
  125. </xs:element>-->
  126. <xs:element minOccurs="0" name="A_CLASSIFIED" type="xs:string"/>
  127. <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupRead"
  128. id="cza_Dzialki___d4e6461-1">
  129. <xs:annotation>
  130. <xs:appinfo>
  131. <system_cache__appinfo:flat_relation_cache>
  132. <system_cache__appinfo:source system_cache__appinfo:name="A_CLASSIFIED" system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:AccessGroupRead/name"/>
  133. </system_cache__appinfo:flat_relation_cache>
  134. </xs:appinfo>
  135. </xs:annotation>
  136. </xs:element>-->
  137. <xs:element minOccurs="0" name="A_ADM_COMPANY" type="xs:string"/>
  138. <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupWrite"
  139. id="cza_Dzialki___d4e6467-1">
  140. <xs:annotation>
  141. <xs:appinfo>
  142. <system_cache__appinfo:flat_relation_cache>
  143. <system_cache__appinfo:source system_cache__appinfo:name="A_ADM_COMPANY" system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:AccessGroupWrite/name"/>
  144. </system_cache__appinfo:flat_relation_cache>
  145. </xs:appinfo>
  146. </xs:annotation>
  147. </xs:element>-->
  148. <xs:element minOccurs="0" name="ID_PROJECT" type="xs:int"/>
  149. <xs:element ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT" minOccurs="0">
  150. <xs:annotation>
  151. <xs:appinfo>
  152. <system_cache__appinfo:flat_relation_cache>
  153. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
  154. system_cache__appinfo:name="ID_PROJECT"
  155. system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
  156. </system_cache__appinfo:flat_relation_cache>
  157. </xs:appinfo>
  158. <xs:documentation>
  159. TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
  160. </xs:documentation>
  161. </xs:annotation>
  162. </xs:element>
  163. <xs:element minOccurs="0" name="ID_BILLING_USERS" type="xs:int"/>
  164. <xs:element ref="default_db__x3A__COMPANIES:ID_BILLING_USERS" minOccurs="0">
  165. <xs:annotation>
  166. <xs:appinfo>
  167. <system_cache__appinfo:flat_relation_cache>
  168. <system_cache__appinfo:source system_cache__appinfo:name="ID_BILLING_USERS"
  169. system_cache__appinfo:xpath="default_db__x3A__COMPANIES:ID_BILLING_USERS/ID"/>
  170. </system_cache__appinfo:flat_relation_cache>
  171. </xs:appinfo>
  172. </xs:annotation>
  173. </xs:element>
  174. <xs:element minOccurs="0" name="IDENTYFIKATOR" type="xs:string">
  175. <xs:annotation>
  176. <xs:documentation>e.g. 220405_2.0003.AR_2.94/2</xs:documentation>
  177. </xs:annotation>
  178. </xs:element>
  179. <xs:element minOccurs="0" name="OBREB" type="xs:string">
  180. <xs:annotation>
  181. <xs:documentation>e.g. Ostrołęka</xs:documentation>
  182. </xs:annotation>
  183. </xs:element>
  184. <xs:element minOccurs="0" name="NUMER" type="xs:string">
  185. <xs:annotation>
  186. <xs:documentation>e.g. 94/2</xs:documentation>
  187. </xs:annotation>
  188. </xs:element>
  189. <xs:element minOccurs="0" name="P_NAME" type="xs:string"/>
  190. <xs:element minOccurs="0" name="P_NAME_SECOND" type="xs:string"/>
  191. <xs:element minOccurs="0" name="P_NIP" type="xs:string"/>
  192. <xs:element minOccurs="0" name="P_PESEL" type="xs:string"/>
  193. <xs:element minOccurs="0" name="P_OTHER_DOC" type="xs:string"/>
  194. <xs:element minOccurs="0" name="P_PHONE" type="xs:string"/>
  195. <xs:element minOccurs="0" name="P_ADDRESS" type="xs:string"/>
  196. <xs:element name="INWDZ__typ_dzialki"
  197. minOccurs="0"
  198. type="default_db__x3A__Dzialki:INWDZ__typ_dzialki"/>
  199. </xs:sequence>
  200. <xs:assert test="P_NAME = default_db__x3A__COMPANIES:ID_BILLING_USERS/P_NAME"/>
  201. <xs:assert test="P_NAME_SECOND = default_db__x3A__COMPANIES:ID_BILLING_USERS/P_NAME_SECOND"/>
  202. <xs:assert test="P_NIP = default_db__x3A__COMPANIES:ID_BILLING_USERS/P_NIP"/>
  203. <xs:assert test="P_PESEL = default_db__x3A__COMPANIES:ID_BILLING_USERS/P_PESEL"/>
  204. <xs:assert test="P_OTHER_DOC = default_db__x3A__COMPANIES:ID_BILLING_USERS"/>
  205. <xs:assert test="P_PHONE = default_db__x3A__COMPANIES:ID_BILLING_USERS/P_PHONE"/>
  206. <xs:assert test="P_ADDRESS = default_db__x3A__COMPANIES:ID_BILLING_USERS/concat(P_ADDRESS_POST_CODE, ' ', P_ADDRESS_CITY, ' ', P_ADDRESS_STREET, ' ', P_ADDRESS_HOME, '/', P_ADDRESS_HOUSE)"/>
  207. </xs:complexType>
  208. <xs:element name="Dzialki" type="default_db__x3A__Dzialki:Dzialki"/>
  209. <xs:complexType name="Dzialki_Known" system_cache__appinfo:primaryKey="ID">
  210. <xs:complexContent>
  211. <xs:restriction base="default_db__x3A__Dzialki:Dzialki">
  212. <xs:sequence>
  213. <xs:element name="ID" type="xs:int"/>
  214. <xs:element name="the_geom" type="gml:AbstractFeatureType">
  215. <xs:annotation>
  216. <xs:documentation>Dane geograficzne obiektu - linia, punkt,
  217. polygon</xs:documentation>
  218. </xs:annotation>
  219. </xs:element>
  220. <xs:element minOccurs="0" name="A_STATUS_INFO" type="xs:string"/>
  221. <xs:element minOccurs="0" name="opis" type="xs:string">
  222. <xs:annotation>
  223. <xs:documentation>To zmiany na ID_ZASOBU pod katem kosztorysowym</xs:documentation>
  224. </xs:annotation>
  225. </xs:element>
  226. <xs:element minOccurs="0" name="ID_ZASOB" type="xs:int"/>
  227. <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:ID_ZASOB" minOccurs="0">
  228. <xs:annotation>
  229. <xs:appinfo>
  230. <system_cache__appinfo:flat_relation_cache>
  231. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
  232. system_cache__appinfo:name="ID_ZASOB"
  233. system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW:ID_ZASOB/ID"/>
  234. </system_cache__appinfo:flat_relation_cache>
  235. </xs:appinfo>
  236. <xs:documentation>
  237. TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #51112 !!!
  238. </xs:documentation>
  239. </xs:annotation>
  240. </xs:element>
  241. <xs:element minOccurs="0" name="Dlugosc" type="xs:double"/>
  242. <xs:element minOccurs="0" name="Powierzchnia" type="xs:double"/>
  243. <xs:element minOccurs="0" name="L_APPOITMENT_USER" type="xs:string"/>
  244. <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER" minOccurs="0">
  245. <xs:annotation>
  246. <xs:appinfo>
  247. <system_cache__appinfo:flat_relation_cache>
  248. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
  249. system_cache__appinfo:name="L_APPOITMENT_USER"
  250. system_cache__appinfo:xpath="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER/ADM_ACCOUNT"/>
  251. </system_cache__appinfo:flat_relation_cache>
  252. </xs:appinfo>
  253. <xs:documentation>
  254. TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #166
  255. </xs:documentation>
  256. </xs:annotation>
  257. </xs:element>
  258. <!--<xs:element ref="SystemObjects__x3A__AccessOwner:AccessOwner" id="cza_Dzialki___d4e6454-1">
  259. <xs:annotation>
  260. <xs:appinfo>
  261. <system_cache__appinfo:flat_relation_cache>
  262. <system_cache__appinfo:source system_cache__appinfo:name="L_APPOITMENT_USER" system_cache__appinfo:xpath="SystemObjects__x3A__AccessOwner:AccessOwner/name"/>
  263. </system_cache__appinfo:flat_relation_cache>
  264. </xs:appinfo>
  265. </xs:annotation>
  266. </xs:element>-->
  267. <xs:element minOccurs="0" name="A_CLASSIFIED" type="xs:string"/>
  268. <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupRead"
  269. id="cza_Dzialki___d4e6461-1">
  270. <xs:annotation>
  271. <xs:appinfo>
  272. <system_cache__appinfo:flat_relation_cache>
  273. <system_cache__appinfo:source system_cache__appinfo:name="A_CLASSIFIED" system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:AccessGroupRead/name"/>
  274. </system_cache__appinfo:flat_relation_cache>
  275. </xs:appinfo>
  276. </xs:annotation>
  277. </xs:element>-->
  278. <xs:element minOccurs="0" name="A_ADM_COMPANY" type="xs:string"/>
  279. <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupWrite"
  280. id="cza_Dzialki___d4e6467-1">
  281. <xs:annotation>
  282. <xs:appinfo>
  283. <system_cache__appinfo:flat_relation_cache>
  284. <system_cache__appinfo:source system_cache__appinfo:name="A_ADM_COMPANY" system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:AccessGroupWrite/name"/>
  285. </system_cache__appinfo:flat_relation_cache>
  286. </xs:appinfo>
  287. </xs:annotation>
  288. </xs:element>-->
  289. <xs:element minOccurs="0" name="ID_PROJECT" type="xs:int"/>
  290. <xs:element ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT" minOccurs="0">
  291. <xs:annotation>
  292. <xs:appinfo>
  293. <system_cache__appinfo:flat_relation_cache>
  294. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
  295. system_cache__appinfo:name="ID_PROJECT"
  296. system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
  297. </system_cache__appinfo:flat_relation_cache>
  298. </xs:appinfo>
  299. <xs:documentation>
  300. TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
  301. </xs:documentation>
  302. </xs:annotation>
  303. </xs:element>
  304. <xs:element minOccurs="1" name="ID_BILLING_USERS" type="xs:int"/>
  305. <xs:element ref="default_db__x3A__COMPANIES:ID_BILLING_USERS" minOccurs="1">
  306. <xs:annotation>
  307. <xs:appinfo>
  308. <system_cache__appinfo:flat_relation_cache>
  309. <system_cache__appinfo:source system_cache__appinfo:name="ID_BILLING_USERS"
  310. system_cache__appinfo:xpath="default_db__x3A__COMPANIES:ID_BILLING_USERS/ID"/>
  311. </system_cache__appinfo:flat_relation_cache>
  312. </xs:appinfo>
  313. </xs:annotation>
  314. </xs:element>
  315. <xs:element minOccurs="0" name="IDENTYFIKATOR" type="xs:string">
  316. <xs:annotation>
  317. <xs:documentation>e.g. 220405_2.0003.AR_2.94/2</xs:documentation>
  318. </xs:annotation>
  319. </xs:element>
  320. <xs:element minOccurs="1" name="OBREB" type="xs:string">
  321. <xs:annotation>
  322. <xs:documentation>e.g. Ostrołęka</xs:documentation>
  323. </xs:annotation>
  324. </xs:element>
  325. <xs:element minOccurs="1" name="NUMER" type="xs:string">
  326. <xs:annotation>
  327. <xs:documentation>e.g. 94/2</xs:documentation>
  328. </xs:annotation>
  329. </xs:element>
  330. <xs:element minOccurs="0" name="P_NAME" type="xs:string"/>
  331. <xs:element minOccurs="1" name="P_NAME_SECOND" type="xs:string"/>
  332. <xs:element minOccurs="0" name="P_NIP" type="xs:string"/>
  333. <xs:element minOccurs="0" name="P_PESEL" type="xs:string"/>
  334. <xs:element minOccurs="0" name="P_OTHER_DOC" type="xs:string"/>
  335. <xs:element minOccurs="0" name="P_PHONE" type="xs:string"/>
  336. <xs:element minOccurs="1" name="P_ADDRESS" type="xs:string">
  337. <xs:annotation>
  338. <xs:documentation>assert - concat adresu</xs:documentation>
  339. </xs:annotation>
  340. </xs:element>
  341. <xs:element name="INWDZ__typ_dzialki"
  342. minOccurs="0"
  343. type="default_db__x3A__Dzialki:INWDZ__typ_dzialki"/>
  344. </xs:sequence>
  345. </xs:restriction>
  346. </xs:complexContent>
  347. </xs:complexType>
  348. <xs:element name="Dzialki_Known" type="default_db__x3A__Dzialki:Dzialki_Known"/>
  349. <xs:complexType name="Dzialki_Unknown" system_cache__appinfo:primaryKey="ID">
  350. <xs:complexContent>
  351. <xs:restriction base="default_db__x3A__Dzialki:Dzialki">
  352. <xs:sequence>
  353. <xs:element name="ID" type="xs:int"/>
  354. <xs:element name="the_geom" type="gml:AbstractFeatureType">
  355. <xs:annotation>
  356. <xs:documentation>Dane geograficzne obiektu - linia, punkt,
  357. polygon</xs:documentation>
  358. </xs:annotation>
  359. </xs:element>
  360. <xs:element minOccurs="0" name="A_STATUS_INFO" type="xs:string"/>
  361. <xs:element minOccurs="0" name="opis" type="xs:string">
  362. <xs:annotation>
  363. <xs:documentation>To zmiany na ID_ZASOBU pod katem kosztorysowym</xs:documentation>
  364. </xs:annotation>
  365. </xs:element>
  366. <xs:element minOccurs="0" name="ID_ZASOB" type="xs:int"/>
  367. <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:ID_ZASOB" minOccurs="0">
  368. <xs:annotation>
  369. <xs:appinfo>
  370. <system_cache__appinfo:flat_relation_cache>
  371. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
  372. system_cache__appinfo:name="ID_ZASOB"
  373. system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW:ID_ZASOB/ID"/>
  374. </system_cache__appinfo:flat_relation_cache>
  375. </xs:appinfo>
  376. <xs:documentation>
  377. TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #51112 !!!
  378. </xs:documentation>
  379. </xs:annotation>
  380. </xs:element>
  381. <xs:element minOccurs="0" name="Dlugosc" type="xs:double"/>
  382. <xs:element minOccurs="0" name="Powierzchnia" type="xs:double"/>
  383. <xs:element minOccurs="0" name="L_APPOITMENT_USER" type="xs:string"/>
  384. <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER" minOccurs="0">
  385. <xs:annotation>
  386. <xs:appinfo>
  387. <system_cache__appinfo:flat_relation_cache>
  388. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
  389. system_cache__appinfo:name="L_APPOITMENT_USER"
  390. system_cache__appinfo:xpath="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER/ADM_ACCOUNT"/>
  391. </system_cache__appinfo:flat_relation_cache>
  392. </xs:appinfo>
  393. <xs:documentation>
  394. TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #166
  395. </xs:documentation>
  396. </xs:annotation>
  397. </xs:element>
  398. <!--<xs:element ref="SystemObjects__x3A__AccessOwner:AccessOwner" id="cza_Dzialki___d4e6454-1">
  399. <xs:annotation>
  400. <xs:appinfo>
  401. <system_cache__appinfo:flat_relation_cache>
  402. <system_cache__appinfo:source system_cache__appinfo:name="L_APPOITMENT_USER" system_cache__appinfo:xpath="SystemObjects__x3A__AccessOwner:AccessOwner/name"/>
  403. </system_cache__appinfo:flat_relation_cache>
  404. </xs:appinfo>
  405. </xs:annotation>
  406. </xs:element>-->
  407. <xs:element minOccurs="0" name="A_CLASSIFIED" type="xs:string"/>
  408. <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupRead"
  409. id="cza_Dzialki___d4e6461-1">
  410. <xs:annotation>
  411. <xs:appinfo>
  412. <system_cache__appinfo:flat_relation_cache>
  413. <system_cache__appinfo:source system_cache__appinfo:name="A_CLASSIFIED" system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:AccessGroupRead/name"/>
  414. </system_cache__appinfo:flat_relation_cache>
  415. </xs:appinfo>
  416. </xs:annotation>
  417. </xs:element>-->
  418. <xs:element minOccurs="0" name="A_ADM_COMPANY" type="xs:string"/>
  419. <!--<xs:element ref="SystemObjects__x3A__AccessGroup:AccessGroupWrite"
  420. id="cza_Dzialki___d4e6467-1">
  421. <xs:annotation>
  422. <xs:appinfo>
  423. <system_cache__appinfo:flat_relation_cache>
  424. <system_cache__appinfo:source system_cache__appinfo:name="A_ADM_COMPANY" system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:AccessGroupWrite/name"/>
  425. </system_cache__appinfo:flat_relation_cache>
  426. </xs:appinfo>
  427. </xs:annotation>
  428. </xs:element>-->
  429. <xs:element minOccurs="0" name="ID_PROJECT" type="xs:int"/>
  430. <xs:element ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT" minOccurs="0">
  431. <xs:annotation>
  432. <xs:appinfo>
  433. <system_cache__appinfo:flat_relation_cache>
  434. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
  435. system_cache__appinfo:name="ID_PROJECT"
  436. system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
  437. </system_cache__appinfo:flat_relation_cache>
  438. </xs:appinfo>
  439. <xs:documentation>
  440. TODO CHECK IF THIS IS CORRECT FLAT RELATION! WAS GENERATED #204
  441. </xs:documentation>
  442. </xs:annotation>
  443. </xs:element>
  444. <xs:element minOccurs="1" name="ID_BILLING_USERS" type="xs:int"/>
  445. <xs:element ref="default_db__x3A__COMPANIES:ID_BILLING_USERS" minOccurs="1">
  446. <xs:annotation>
  447. <xs:appinfo>
  448. <system_cache__appinfo:flat_relation_cache>
  449. <system_cache__appinfo:source system_cache__appinfo:name="ID_BILLING_USERS"
  450. system_cache__appinfo:xpath="default_db__x3A__COMPANIES:ID_BILLING_USERS/ID"/>
  451. </system_cache__appinfo:flat_relation_cache>
  452. </xs:appinfo>
  453. </xs:annotation>
  454. </xs:element>
  455. <xs:element minOccurs="0" name="IDENTYFIKATOR" type="xs:string">
  456. <xs:annotation>
  457. <xs:documentation>e.g. 220405_2.0003.AR_2.94/2</xs:documentation>
  458. </xs:annotation>
  459. </xs:element>
  460. <xs:element minOccurs="1" name="OBREB" type="xs:string">
  461. <xs:annotation>
  462. <xs:documentation>e.g. Ostrołęka</xs:documentation>
  463. </xs:annotation>
  464. </xs:element>
  465. <xs:element minOccurs="0" name="NUMER" type="xs:string">
  466. <xs:annotation>
  467. <xs:documentation>e.g. 94/2</xs:documentation>
  468. </xs:annotation>
  469. </xs:element>
  470. <xs:element minOccurs="0" name="P_NAME" type="xs:string"/>
  471. <xs:element minOccurs="0" name="P_NAME_SECOND" type="xs:string"/>
  472. <xs:element minOccurs="0" name="P_NIP" type="xs:string"/>
  473. <xs:element minOccurs="0" name="P_PESEL" type="xs:string"/>
  474. <xs:element minOccurs="0" name="P_OTHER_DOC" type="xs:string"/>
  475. <xs:element minOccurs="0" name="P_PHONE" type="xs:string"/>
  476. <xs:element minOccurs="0" name="P_ADDRESS" type="xs:string"/>
  477. <xs:element name="INWDZ__typ_dzialki"
  478. minOccurs="0"
  479. type="default_db__x3A__Dzialki:INWDZ__typ_dzialki"/>
  480. </xs:sequence>
  481. </xs:restriction>
  482. </xs:complexContent>
  483. </xs:complexType>
  484. <xs:element name="Dzialki_Unknown" type="default_db__x3A__Dzialki:Dzialki_Unknown"/>
  485. </xs:schema>