| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149 |
- <?xml version="1.0" encoding="UTF-8"?>
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty"
- xmlns:default_db__x3A__BI_audit_MSIG_person="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_MSIG_person.xsd"
- xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
- xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
- targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_SIMC.xsd"
- vc:minVersion="1.1" xmlns:ogc="http://www.opengis.net/ogc"
- xmlns:fes="http://www.opengis.net/fes/2.0"
- xmlns:default_db__x3A__TERYT_SIMC="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_SIMC.xsd"
- xmlns:default_db__x3A__TERYT_powiaty="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_powiaty.xsd"
- xmlns:default_db__x3A__TERYT_wojewodztwa="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_wojewodztwa.xsd"
- xmlns:default_db__x3A__TERYT_gminy="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_gminy.xsd"
- xmlns:default_db__x3A__TERYT_adresy="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_adresy.xsd"
- xmlns:default_db__x3A__TERYT_ULIC="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_ULIC.xsd">
- <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_MSIG.xsd"
- schemaLocation="../../default_db.BI_audit_MSIG/BI_audit_MSIG/BI_audit_MSIG.xsd"/>
- <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_KRS_person.xsd"
- schemaLocation="../../default_db.BI_audit_KRS_person/BI_audit_KRS_person/BI_audit_KRS_person.xsd"/>
- <xs:import schemaLocation="../../default_db.BI_audit_CEIDG/BI_audit_CEIDG/BI_audit_CEIDG.xsd"
- namespace="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_CEIDG.xsd"/>
- <xs:import
- schemaLocation="../../default_db.BI_audit_ENERGA_PRACOWNICY/BI_audit_ENERGA_PRACOWNICY/BI_audit_ENERGA_PRACOWNICY.xsd"
- namespace="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_ENERGA_PRACOWNICY.xsd"/>
- <xs:import
- schemaLocation="../../default_db.BI_audit_ENERGA_RUM_KONTRAHENCI/BI_audit_ENERGA_RUM_KONTRAHENCI/BI_audit_ENERGA_RUM_KONTRAHENCI.xsd"
- namespace="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_ENERGA_RUM_KONTRAHENCI.xsd"/>
- <xs:import schemaLocation="../../default_db.TERYT_adresy/TERYT_adresy/TERYT_adresy.xsd"
- namespace="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_adresy.xsd"/>
- <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_wojewodztwa.xsd"
- schemaLocation="../../default_db.TERYT_wojewodztwa/TERYT_wojewodztwa/TERYT_wojewodztwa.xsd"/>
- <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_powiaty.xsd"
- schemaLocation="../../default_db.TERYT_powiaty/TERYT_powiaty/TERYT_powiaty.xsd"/>
- <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_gminy.xsd"
- schemaLocation="../../default_db.TERYT_gminy/TERYT_gminy/TERYT_gminy.xsd"/>
- <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_ULIC.xsd"
- schemaLocation="../../default_db.TERYT_ULIC/TERYT_ULIC/TERYT_ULIC.xsd"/>
- <xs:complexType name="TERYT_SIMC" system_cache__appinfo:primaryKey="SYM">
- <xs:sequence>
- <xs:element name="WOJ" type="xs:int"/>
- <xs:element ref="default_db__x3A__TERYT_wojewodztwa:TERYT_wojewodztwa">
- <xs:annotation>
- <xs:appinfo>
- <system_cache__appinfo:flat_relation_cache>
- <system_cache__appinfo:source system_cache__appinfo:name="WOJ" system_cache__appinfo:ref_engine="view" system_cache__appinfo:xpath="default_db__x3A__TERYT_wojewodztwa:TERYT_wojewodztwa/WOJ"/>
- </system_cache__appinfo:flat_relation_cache>
- </xs:appinfo>
- <xs:documentation>Domyślnie wyszukuje powiązane powiaty do wojewodztwa - pokaze jedno, z ktorego bedziemy mogli wyjsc w glab</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="POW" type="xs:int"/>
- <xs:element ref="default_db__x3A__TERYT_powiaty:TERYT_powiaty">
- <xs:annotation>
- <xs:appinfo>
- <system_cache__appinfo:flat_relation_cache>
- <system_cache__appinfo:source system_cache__appinfo:name="WOJ" system_cache__appinfo:ref_engine="view" system_cache__appinfo:xpath="default_db__x3A__TERYT_powiaty:TERYT_powiaty/WOJ"/>
- </system_cache__appinfo:flat_relation_cache>
- </xs:appinfo>
- <xs:documentation>Domyślnie wyszukuje powiązane powiaty do wojewodztwa</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="GMI" type="xs:int"/>
- <xs:element ref="default_db__x3A__TERYT_gminy:TERYT_gminy">
- <xs:annotation>
- <xs:appinfo>
- <system_cache__appinfo:flat_relation_cache>
- <system_cache__appinfo:source system_cache__appinfo:name="GMI" system_cache__appinfo:ref_engine="view" system_cache__appinfo:xpath="default_db__x3A__TERYT_gminy:TERYT_gminy/GMI"/>
- </system_cache__appinfo:flat_relation_cache>
- </xs:appinfo>
- <xs:documentation>Domyślnie wyszukuje powiązane gminy do wybranego search</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="NAZWA" type="xs:string"/>
- <xs:element name="SYM" type="xs:int" />
- <xs:element ref="default_db__x3A__TERYT_ULIC:TERYT_ULIC">
- <xs:annotation>
- <xs:appinfo>
- <system_cache__appinfo:flat_relation_cache>
- <system_cache__appinfo:source system_cache__appinfo:ref_engine="view">
- <fes:Filter>
- <fes:PropertyIsEqualTo>
- <fes:ValueReference>SYM</fes:ValueReference>
- <fes:ValueReference>default_db__x3A__TERYT_ULIC:TERYT_ULIC/SYM</fes:ValueReference>
- </fes:PropertyIsEqualTo>
- </fes:Filter>
- </system_cache__appinfo:source>
- </system_cache__appinfo:flat_relation_cache>
- </xs:appinfo>
- <xs:documentation>Z Tego kroku optymalnie było by dodawać adres na podstawie niniejszego rekordu, plus dodać tylko ulicę i nr domu</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element ref="default_db__x3A__TERYT_adresy:TERYT_adresy">
- <xs:annotation>
- <xs:appinfo>
- <system_cache__appinfo:flat_relation_cache>
- <system_cache__appinfo:source system_cache__appinfo:ref_engine="view">
- <fes:Filter>
- <fes:PropertyIsEqualTo>
- <fes:ValueReference>SYM</fes:ValueReference>
- <fes:ValueReference>default_db__x3A__TERYT_adresy:TERYT_adresy/TERYT_SYM</fes:ValueReference>
- </fes:PropertyIsEqualTo>
- </fes:Filter>
- <!--<fes:Filter><!-\- chyba jest to potrzebne, eby wykluczyc niepotrzebne wyniki -\->
- <fes:PropertyIsEqualTo>
- <fes:ValueReference>default_db__x3A__TERYT_adresy:TERYT_adresy/TERYT_SYM</fes:ValueReference>
- <fes:ValueReference>default_db__x3A__TERYT_adresy:TERYT_adresy/TERYT_SYM</fes:ValueReference>
- </fes:PropertyIsEqualTo>
- </fes:Filter>-->
- </system_cache__appinfo:source>
- <!--<system_cache__appinfo:TYPESPECIAL>
- <system_cache__appinfo:PARAM_OUT>
- <system_cache__appinfo:ALIAS_ID>
- <fes:ValueReference>default_db__x3A__TERYT_adresy:TERYT_adresy/default_db__x3A__TERYT_ULIC:TERYT_ULIC/SYM_UL</fes:ValueReference>
- </system_cache__appinfo:ALIAS_ID>
- <system_cache__appinfo:DESC>
- <fes:ValueReference>default_db__x3A__TERYT_adresy:TERYT_adresy/default_db__x3A__TERYT_ULIC:TERYT_ULIC/NAZWA_1</fes:ValueReference>
- </system_cache__appinfo:DESC>
- <system_cache__appinfo:DESC>
- <fes:ValueReference>default_db__x3A__TERYT_adresy:TERYT_adresy/default_db__x3A__TERYT_ULIC:TERYT_ULIC/NAZWA_2</fes:ValueReference>
- </system_cache__appinfo:DESC>
- <!-\- chyba nie ma sensu tutaj klikac -\->
- <system_cache__appinfo:PARAM_IN>
- <!-\- tutaj nalezy zapisać wyszukaną ulicę -\->
- <fes:ValueReference>default_db__x3A__TERYT_adresy:TERYT_adresy/TERYT_SYM_UL</fes:ValueReference>
- </system_cache__appinfo:PARAM_IN>
- </system_cache__appinfo:PARAM_OUT>
- <!-\-<system_cache__appinfo:PARAM_EXPORT>
- <system_cache__appinfo:ALIAS_ID>
- <fes:ValueReference>default_db__x3A__TERYT_adresy:TERYT_adresy/TERYT_SYM_UL</fes:ValueReference>
- </system_cache__appinfo:ALIAS_ID>
- <system_cache__appinfo:DESC>
- <fes:ValueReference>SYM_UL</fes:ValueReference>
- </system_cache__appinfo:DESC>
- </system_cache__appinfo:PARAM_EXPORT>-\->
- </system_cache__appinfo:TYPESPECIAL>-->
- </system_cache__appinfo:flat_relation_cache>
- </xs:appinfo>
- <xs:documentation>Z Tego kroku optymalnie było by dodawać adres na podstawie niniejszego rekordu, plus dodać tylko ulicę i nr domu</xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- <xs:attribute name="label" type="xs:string"/>
- <xs:assert test="@miejscowosc = NAZWA"/>
- <xs:assert
- test="@label = concat(NAZWA, ' ', default_db__x3A__TERYT_wojewodztwa:TERYT_wojewodztwa/@label, ' ', default_db__x3A__TERYT_powiaty:TERYT_powiaty/@label, ' ', default_db__x3A__TERYT_gminy:TERYT_gminy/@label)"
- />
- </xs:complexType>
- <xs:element name="TERYT_SIMC" type="default_db__x3A__TERYT_SIMC:TERYT_SIMC"/>
- </xs:schema>
|