TERYT_ULIC.xsd 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
  3. xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty"
  4. xmlns:default_db__x3A__TERYT_ULIC="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_ULIC.xsd"
  5. xmlns:ogc="http://www.opengis.net/ogc"
  6. xmlns:fes="http://www.opengis.net/fes/2.0"
  7. xmlns:default_db__x3A__TERYT_gminy="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_gminy.xsd"
  8. xmlns:default_db__x3A__TERYT_powiaty="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_powiaty.xsd"
  9. xmlns:default_db__x3A__TERYT_wojewodztwa="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_wojewodztwa.xsd"
  10. xmlns:default_db__x3A__TERYT_adresy="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_adresy.xsd"
  11. xmlns:default_db__x3A__TERYT_SIMC="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_SIMC.xsd"
  12. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  13. xmlns:p5_tr_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/procesy5_translate_map.xsd"
  14. xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
  15. xmlns:system_cache__resources_tree_generate_xsl_required_occurs_raport="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/resources_tree_generate_xsl_require_occurs_raport"
  16. xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
  17. xmlns:p5opr="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/object_parent_relations/object_parent_relations.xsd"
  18. xmlns:p5_simpleSchema_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/p5_simpleSchema_map.xsd"
  19. xmlns:ant-object="http://biuro.biall-net.pl/xmlschema_procesy5/ant-object/ant-object.xsd"
  20. xmlns:p5ant-interface="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/ant_interface/ant_interface.xsd"
  21. targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_ULIC.xsd"
  22. vc:minVersion="1.1">
  23. <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_gminy.xsd"
  24. schemaLocation="../../default_db.TERYT_gminy/TERYT_gminy/TERYT_gminy.xsd"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
  25. <xs:annotation>
  26. <xs:documentation>Powinno sie dac wyjsc z ulic do gmin aby szukac w kolko</xs:documentation>
  27. </xs:annotation>
  28. </xs:import>
  29. <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_powiaty.xsd"
  30. schemaLocation="../../default_db.TERYT_powiaty/TERYT_powiaty/TERYT_powiaty.xsd"/>
  31. <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_wojewodztwa.xsd"
  32. schemaLocation="../../default_db.TERYT_wojewodztwa/TERYT_wojewodztwa/TERYT_wojewodztwa.xsd"/>
  33. <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_adresy.xsd"
  34. schemaLocation="../../default_db.TERYT_adresy/TERYT_adresy/TERYT_adresy.xsd"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
  35. <xs:annotation>
  36. <xs:documentation>Tutaj będizemy mogli zawsze dorzycić swoje dane (dorzucić swoje dane adresowe)
  37. Będzie konieczna akcja powrotu do samego początu chodzenia, aby mieć kontekst wyzwolenia - jeżeli od razu zaczął od TERYT_adresy? Ale mógł zacząć dopisywać adres z zupełnie innego miejsca - np iść od Województw</xs:documentation>
  38. </xs:annotation>
  39. </xs:import>
  40. <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_SIMC.xsd"
  41. schemaLocation="../../default_db.TERYT_SIMC/TERYT_SIMC/TERYT_SIMC.xsd"/>
  42. <xs:complexType name="TERYT_ULIC"
  43. system_cache__appinfo:primaryKey="SYM_UL"
  44. id="_TERYT_ULIC___d18e41247-1_TERYT_ULIC"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
  45. <xs:annotation>
  46. <xs:documentation>TODO bledne system_cache__appinfo:primaryKey="SYM_UL" - to nie jest klucz! inaczej error na schema</xs:documentation>
  47. </xs:annotation>
  48. <xs:sequence id="_TERYT_ULIC___d18e41251-1">
  49. <xs:element name="WOJ" type="xs:int" id="_TERYT_ULIC___d18e41252-1_WOJ"/>
  50. <xs:element ref="default_db__x3A__TERYT_wojewodztwa:TERYT_wojewodztwa"
  51. id="_TERYT_ULIC___d18e41253-1"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
  52. <xs:annotation>
  53. <xs:appinfo>
  54. <system_cache__appinfo:flat_relation_cache>
  55. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view">
  56. <fes:Filter>
  57. <fes:PropertyIsEqualTo>
  58. <fes:ValueReference>WOJ</fes:ValueReference>
  59. <fes:ValueReference>default_db__x3A__TERYT_wojewodztwa:TERYT_wojewodztwa/WOJ</fes:ValueReference>
  60. </fes:PropertyIsEqualTo>
  61. </fes:Filter>
  62. </system_cache__appinfo:source>
  63. </system_cache__appinfo:flat_relation_cache>
  64. </xs:appinfo>
  65. <xs:documentation>Z każdej jednej ulicy powinno się dać wyjść do wojewodztwa</xs:documentation>
  66. </xs:annotation>
  67. </xs:element>
  68. <xs:element name="POW" type="xs:int" id="_TERYT_ULIC___d18e41266-1_POW"/>
  69. <xs:element ref="default_db__x3A__TERYT_powiaty:TERYT_powiaty"
  70. id="_TERYT_ULIC___d18e41267-1"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
  71. <xs:annotation>
  72. <xs:appinfo>
  73. <system_cache__appinfo:flat_relation_cache>
  74. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view">
  75. <fes:Filter>
  76. <fes:And>
  77. <fes:PropertyIsEqualTo>
  78. <fes:ValueReference>WOJ</fes:ValueReference>
  79. <fes:ValueReference>default_db__x3A__TERYT_powiaty:TERYT_powiaty/WOJ</fes:ValueReference>
  80. </fes:PropertyIsEqualTo>
  81. <fes:PropertyIsEqualTo>
  82. <fes:ValueReference>POW</fes:ValueReference>
  83. <fes:ValueReference>default_db__x3A__TERYT_powiaty:TERYT_powiaty/POW</fes:ValueReference>
  84. </fes:PropertyIsEqualTo>
  85. </fes:And>
  86. </fes:Filter>
  87. </system_cache__appinfo:source>
  88. </system_cache__appinfo:flat_relation_cache>
  89. </xs:appinfo>
  90. <xs:documentation>Z każdej jednej ulicy powinno się dać wyjść do powiatu</xs:documentation>
  91. </xs:annotation>
  92. </xs:element>
  93. <xs:element name="GMI" type="xs:int" id="_TERYT_ULIC___d18e41286-1_GMI"/>
  94. <xs:element ref="default_db__x3A__TERYT_gminy:TERYT_gminy"
  95. minOccurs="0"
  96. id="_TERYT_ULIC___d18e41287-1"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
  97. <xs:annotation>
  98. <xs:appinfo>
  99. <system_cache__appinfo:flat_relation_cache>
  100. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view">
  101. <fes:Filter>
  102. <fes:And>
  103. <fes:PropertyIsEqualTo>
  104. <fes:ValueReference>WOJ</fes:ValueReference>
  105. <fes:ValueReference>default_db__x3A__TERYT_gminy:TERYT_gminy/WOJ</fes:ValueReference>
  106. </fes:PropertyIsEqualTo>
  107. <fes:PropertyIsEqualTo>
  108. <fes:ValueReference>POW</fes:ValueReference>
  109. <fes:ValueReference>default_db__x3A__TERYT_gminy:TERYT_gminy/POW</fes:ValueReference>
  110. </fes:PropertyIsEqualTo>
  111. <fes:PropertyIsEqualTo>
  112. <fes:ValueReference>v</fes:ValueReference>
  113. <fes:ValueReference>default_db__x3A__TERYT_gminy:TERYT_gminy/GMI</fes:ValueReference>
  114. </fes:PropertyIsEqualTo>
  115. </fes:And>
  116. </fes:Filter>
  117. </system_cache__appinfo:source>
  118. </system_cache__appinfo:flat_relation_cache>
  119. </xs:appinfo>
  120. <xs:documentation>Z każdej jednej ulicy powinno się dać wyjść do gminy</xs:documentation>
  121. </xs:annotation>
  122. </xs:element>
  123. <xs:element name="RODZ_GMI"
  124. type="xs:int"
  125. id="_TERYT_ULIC___d18e41311-1_RODZ_GMI"/>
  126. <xs:element name="SYM" type="xs:int" id="_TERYT_ULIC___d18e41312-1_SYM"/>
  127. <xs:element maxOccurs="unbounded"
  128. ref="default_db__x3A__TERYT_SIMC:TERYT_SIMC"
  129. id="_TERYT_ULIC___d18e41313-1"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
  130. <xs:annotation>
  131. <xs:appinfo>
  132. <system_cache__appinfo:flat_relation_cache>
  133. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view">
  134. <fes:Filter>
  135. <fes:And>
  136. <fes:PropertyIsEqualTo>
  137. <fes:ValueReference>WOJ</fes:ValueReference>
  138. <fes:ValueReference>default_db__x3A__TERYT_SIMC:TERYT_SIMC/WOJ</fes:ValueReference>
  139. </fes:PropertyIsEqualTo>
  140. <fes:PropertyIsEqualTo>
  141. <fes:ValueReference>POW</fes:ValueReference>
  142. <fes:ValueReference>default_db__x3A__TERYT_SIMC:TERYT_SIMC/POW</fes:ValueReference>
  143. </fes:PropertyIsEqualTo>
  144. <fes:PropertyIsEqualTo>
  145. <fes:ValueReference>SYM</fes:ValueReference>
  146. <fes:ValueReference>default_db__x3A__TERYT_SIMC:TERYT_SIMC/SYM</fes:ValueReference>
  147. </fes:PropertyIsEqualTo>
  148. </fes:And>
  149. </fes:Filter>
  150. </system_cache__appinfo:source>
  151. <!--<system_cache__appinfo:TYPESPECIAL>
  152. <system_cache__appinfo:PARAM_EXPORT>
  153. <system_cache__appinfo:ALIAS_ID>
  154. <fes:ValueReference>default_db__x3A__TERYT_adresy:TERYT_adresy/TERYT_SYM</fes:ValueReference>
  155. </system_cache__appinfo:ALIAS_ID>
  156. <system_cache__appinfo:DESC>
  157. <fes:ValueReference>SYM</fes:ValueReference>
  158. </system_cache__appinfo:DESC>
  159. </system_cache__appinfo:PARAM_EXPORT>
  160. <system_cache__appinfo:PARAM_EXPORT>
  161. <system_cache__appinfo:ALIAS_ID>
  162. <fes:ValueReference>default_db__x3A__TERYT_adresy:TERYT_adresy/TERYT_SYM_UL</fes:ValueReference>
  163. </system_cache__appinfo:ALIAS_ID>
  164. <system_cache__appinfo:DESC>
  165. <fes:ValueReference>SYM_UL</fes:ValueReference>
  166. </system_cache__appinfo:DESC>
  167. </system_cache__appinfo:PARAM_EXPORT>
  168. </system_cache__appinfo:TYPESPECIAL>-->
  169. </system_cache__appinfo:flat_relation_cache>
  170. </xs:appinfo>
  171. <xs:documentation> Z ulic powinno sie przejsc na SIMC i widziec wyszukane konteksty </xs:documentation>
  172. </xs:annotation>
  173. </xs:element>
  174. <xs:element name="SYM_UL" type="xs:int" id="_TERYT_ULIC___d18e41338-1_SYM_UL"/>
  175. <xs:element name="CECHA" type="xs:string" id="_TERYT_ULIC___d18e41339-1_CECHA"/>
  176. <xs:element name="NAZWA_1"
  177. type="xs:string"
  178. id="_TERYT_ULIC___d18e41341-1_NAZWA_1"/>
  179. <xs:element name="NAZWA_2"
  180. type="xs:string"
  181. id="_TERYT_ULIC___d18e41342-1_NAZWA_2"/>
  182. <xs:element name="STAN_NA"
  183. type="xs:date"
  184. id="_TERYT_ULIC___d18e41343-1_STAN_NA"/>
  185. <xs:element ref="default_db__x3A__TERYT_adresy:TERYT_adresy"
  186. id="_TERYT_ULIC___d18e41344-1"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
  187. <xs:annotation>
  188. <xs:appinfo>
  189. <system_cache__appinfo:flat_relation_cache>
  190. <system_cache__appinfo:source system_cache__appinfo:ref_engine="view">
  191. <fes:Filter>
  192. <fes:And>
  193. <fes:PropertyIsEqualTo>
  194. <fes:ValueReference>WOJ</fes:ValueReference>
  195. <fes:ValueReference>default_db__x3A__TERYT_adresy:TERYT_adresy/WOJ</fes:ValueReference>
  196. </fes:PropertyIsEqualTo>
  197. <fes:PropertyIsEqualTo>
  198. <fes:ValueReference>POW</fes:ValueReference>
  199. <fes:ValueReference>default_db__x3A__TERYT_adresy:TERYT_adresy/POW</fes:ValueReference>
  200. </fes:PropertyIsEqualTo>
  201. <fes:PropertyIsEqualTo>
  202. <fes:ValueReference>GMI</fes:ValueReference>
  203. <fes:ValueReference>default_db__x3A__TERYT_adresy:TERYT_adresy/GMI</fes:ValueReference>
  204. </fes:PropertyIsEqualTo>
  205. </fes:And>
  206. </fes:Filter>
  207. </system_cache__appinfo:source>
  208. <system_cache__appinfo:TYPESPECIAL>
  209. <system_cache__appinfo:PARAM_EXPORT>
  210. <system_cache__appinfo:ALIAS_ID>
  211. <fes:ValueReference>default_db__x3A__TERYT_adresy:TERYT_adresy/TERYT_SYM</fes:ValueReference>
  212. </system_cache__appinfo:ALIAS_ID>
  213. <system_cache__appinfo:DESC>
  214. <fes:ValueReference>SYM</fes:ValueReference>
  215. </system_cache__appinfo:DESC>
  216. </system_cache__appinfo:PARAM_EXPORT>
  217. <system_cache__appinfo:PARAM_EXPORT>
  218. <system_cache__appinfo:ALIAS_ID>
  219. <fes:ValueReference>default_db__x3A__TERYT_adresy:TERYT_adresy/TERYT_SYM_UL</fes:ValueReference>
  220. </system_cache__appinfo:ALIAS_ID>
  221. <system_cache__appinfo:DESC>
  222. <fes:ValueReference>SYM_UL</fes:ValueReference>
  223. </system_cache__appinfo:DESC>
  224. </system_cache__appinfo:PARAM_EXPORT>
  225. </system_cache__appinfo:TYPESPECIAL>
  226. </system_cache__appinfo:flat_relation_cache>
  227. </xs:appinfo>
  228. <xs:documentation>W każdej chwili powinno być dostępne wejście do adresów w kontekście wybbranych parametrów wyszikiwania,
  229. aby móc dopisać wyszukiwanie i z niego odziedziczyć wpisanie na bazie asserts? (pushujemy) - relacje są na podstawie widoków przecież.
  230. </xs:documentation>
  231. </xs:annotation>
  232. </xs:element>
  233. </xs:sequence>
  234. <xs:attribute name="label" type="xs:string" id="_TERYT_ULIC___d18e41383-1_label"/>
  235. <xs:assert test="@label = concat(CECHA, ' ', NAZWA_1, ' ', NAZWA_2, default_db__x3A__TERYT_wojewodztwa:TERYT_wojewodztwa/@label, ' ', default_db__x3A__TERYT_powiaty:TERYT_powiaty/@label, ' ', default_db__x3A__TERYT_gminy:TERYT_gminy/GMI/@label)"
  236. id="_TERYT_ULIC___d18e41384-1"/>
  237. </xs:complexType>
  238. <xs:element name="TERYT_ULIC"
  239. type="default_db__x3A__TERYT_ULIC:TERYT_ULIC"
  240. id="_TERYT_ULIC___d18e41385-1_TERYT_ULIC"/>
  241. </xs:schema>