|
@@ -0,0 +1,212 @@
|
|
|
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
|
|
|
+ xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
|
|
|
|
|
+ xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty"
|
|
|
|
|
+ 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/BI_audit_POWIAZANIA_OBIEKTY.xsd"
|
|
|
|
|
+ vc:minVersion="1.1"
|
|
|
|
|
+ xmlns:default_db__x3A__BI_audit_POWIAZANIA_OBIEKTY="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_POWIAZANIA_OBIEKTY.xsd"
|
|
|
|
|
+ xmlns:default_db__x3A__BI_audit_taxpayer="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_taxpayer.xsd"
|
|
|
|
|
+ xmlns:default_db__x3A__BI_audit_CEIDG="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_CEIDG.xsd"
|
|
|
|
|
+ xmlns:default_db__x3A__BI_audit_CEIDG_pelnomocnicy="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_CEIDG_pelnomocnicy.xsd"
|
|
|
|
|
+ xmlns:default_db__x3A__BI_audit_CEIDG_powiazania="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_CEIDG_powiazania.xsd"
|
|
|
|
|
+ xmlns:default_db__x3A__BI_audit_ENERGA_PRACOWNICY="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_ENERGA_PRACOWNICY.xsd"
|
|
|
|
|
+ xmlns:default_db__x3A__BI_audit_ENERGA_PRACOWNICY_adresy="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_ENERGA_PRACOWNICY_adresy.xsd"
|
|
|
|
|
+ xmlns:default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_ENERGA_RUM_KONTRAHENCI.xsd"
|
|
|
|
|
+ xmlns:default_db__x3A__BI_audit_KRS="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_KRS.xsd"
|
|
|
|
|
+ xmlns:default_db__x3A__BI_audit_KRS_company="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_KRS_company.xsd"
|
|
|
|
|
+ xmlns:default_db__x3A__BI_audit_KRS_person="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_KRS_person.xsd"
|
|
|
|
|
+ xmlns:default_db__x3A__BI_audit_MSIG="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_MSIG.xsd"
|
|
|
|
|
+ xmlns:default_db__x3A__BI_audit_MSIG_address="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_MSIG_address.xsd"
|
|
|
|
|
+ xmlns:default_db__x3A__BI_audit_MSIG_company="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_MSIG_company.xsd"
|
|
|
|
|
+ xmlns:default_db__x3A__BI_audit_MSIG_person="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_MSIG_person.xsd">
|
|
|
|
|
+ <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_taxpayer.xsd"
|
|
|
|
|
+ schemaLocation="../../default_db.BI_audit_taxpayer/BI_audit_taxpayer/BI_audit_taxpayer.xsd"/>
|
|
|
|
|
+ <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_CEIDG.xsd"
|
|
|
|
|
+ schemaLocation="../../default_db.BI_audit_CEIDG/BI_audit_CEIDG/BI_audit_CEIDG.xsd"/>
|
|
|
|
|
+ <xs:import
|
|
|
|
|
+ namespace="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_CEIDG_pelnomocnicy.xsd"
|
|
|
|
|
+ schemaLocation="../../default_db.BI_audit_CEIDG_pelnomocnicy/BI_audit_CEIDG_pelnomocnicy/BI_audit_CEIDG_pelnomocnicy.xsd"/>
|
|
|
|
|
+ <xs:import
|
|
|
|
|
+ namespace="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_CEIDG_powiazania.xsd"
|
|
|
|
|
+ schemaLocation="../../default_db.BI_audit_CEIDG_powiazania/BI_audit_CEIDG_powiazania/BI_audit_CEIDG_powiazania.xsd"/>
|
|
|
|
|
+ <xs:import
|
|
|
|
|
+ namespace="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_ENERGA_PRACOWNICY.xsd"
|
|
|
|
|
+ schemaLocation="../../default_db.BI_audit_ENERGA_PRACOWNICY/BI_audit_ENERGA_PRACOWNICY/BI_audit_ENERGA_PRACOWNICY.xsd"/>
|
|
|
|
|
+ <xs:import
|
|
|
|
|
+ namespace="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_ENERGA_PRACOWNICY_adresy.xsd"
|
|
|
|
|
+ schemaLocation="../../default_db.BI_audit_ENERGA_PRACOWNICY_adresy/BI_audit_ENERGA_PRACOWNICY_adresy/BI_audit_ENERGA_PRACOWNICY_adresy.xsd"/>
|
|
|
|
|
+ <xs:import
|
|
|
|
|
+ namespace="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_ENERGA_RUM_KONTRAHENCI.xsd"
|
|
|
|
|
+ schemaLocation="../../default_db.BI_audit_ENERGA_RUM_KONTRAHENCI/BI_audit_ENERGA_RUM_KONTRAHENCI/BI_audit_ENERGA_RUM_KONTRAHENCI.xsd"/>
|
|
|
|
|
+ <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_KRS.xsd"
|
|
|
|
|
+ schemaLocation="../../default_db.BI_audit_KRS/BI_audit_KRS/BI_audit_KRS.xsd"/>
|
|
|
|
|
+ <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_KRS_company.xsd"
|
|
|
|
|
+ schemaLocation="../../default_db.BI_audit_KRS_company/BI_audit_KRS_company/BI_audit_KRS_company.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 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_MSIG_address.xsd"
|
|
|
|
|
+ schemaLocation="../../default_db.BI_audit_MSIG_address/BI_audit_MSIG_address/BI_audit_MSIG_address.xsd"/>
|
|
|
|
|
+ <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_MSIG_company.xsd"
|
|
|
|
|
+ schemaLocation="../../default_db.BI_audit_MSIG_company/BI_audit_MSIG_company/BI_audit_MSIG_company.xsd"/>
|
|
|
|
|
+ <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_MSIG_person.xsd"
|
|
|
|
|
+ schemaLocation="../../default_db.BI_audit_MSIG_person/BI_audit_MSIG_person/BI_audit_MSIG_person.xsd"/>
|
|
|
|
|
+ <xs:complexType name="BI_audit_POWIAZANIA_OBIEKTY">
|
|
|
|
|
+ <xs:annotation>
|
|
|
|
|
+ <xs:documentation>Obiekt, do którego silnik BiAudit importuje obiekty z tabel
|
|
|
|
|
+ BI_audit_POWIAZANIA_OD oraz BI_audit_POWIAZANIA_DO celem wycachowania danych używanych w
|
|
|
|
|
+ procesie szukania powiązań. </xs:documentation>
|
|
|
|
|
+ </xs:annotation>
|
|
|
|
|
+ <xs:sequence>
|
|
|
|
|
+ <xs:element name="ID" type="xs:int"/>
|
|
|
|
|
+ <xs:element id="_KRS_person___d4e4651-1_nazwisko" minOccurs="0" name="nazwisko"
|
|
|
|
|
+ type="xs:string">
|
|
|
|
|
+ <xs:annotation>
|
|
|
|
|
+ <xs:documentation>Dziedziczone z obiektow typu KRS person, MSIG person oraz innych
|
|
|
|
|
+ dotyczacych osob</xs:documentation>
|
|
|
|
|
+ </xs:annotation>
|
|
|
|
|
+ </xs:element>
|
|
|
|
|
+ <xs:element id="_KRS_person___d4e4653-1_imiona" minOccurs="0" name="imiona"
|
|
|
|
|
+ type="xs:string">
|
|
|
|
|
+ <xs:annotation>
|
|
|
|
|
+ <xs:documentation>Dziedziczone z obiektow typu KRS person, MSIG person oraz innych
|
|
|
|
|
+ dotyczacych osob</xs:documentation>
|
|
|
|
|
+ </xs:annotation>
|
|
|
|
|
+ </xs:element>
|
|
|
|
|
+ <xs:element id="_KRS_person___d4e4654-1_pesel" minOccurs="0" name="pesel" type="xs:NMTOKEN">
|
|
|
|
|
+ <xs:annotation>
|
|
|
|
|
+ <xs:documentation>Dziedziczone z obiektow typu KRS person, MSIG person oraz innych
|
|
|
|
|
+ dotyczacych osob</xs:documentation>
|
|
|
|
|
+ </xs:annotation>
|
|
|
|
|
+ </xs:element>
|
|
|
|
|
+ <xs:element name="krs" minOccurs="0" type="xs:string">
|
|
|
|
|
+ <xs:annotation>
|
|
|
|
|
+ <xs:documentation>Dziedziczone z obiektow typu KRS , MSIG oraz innych dotyczacych
|
|
|
|
|
+ podmiotow</xs:documentation>
|
|
|
|
|
+ </xs:annotation>
|
|
|
|
|
+ </xs:element>
|
|
|
|
|
+ <xs:element name="nip" minOccurs="0" type="xs:string">
|
|
|
|
|
+ <xs:annotation>
|
|
|
|
|
+ <xs:documentation>Dziedziczone z obiektow typu KRS , MSIG oraz innych dotyczacych
|
|
|
|
|
+ podmiotow</xs:documentation>
|
|
|
|
|
+ </xs:annotation>
|
|
|
|
|
+ </xs:element>
|
|
|
|
|
+ <xs:element name="regon" minOccurs="0" type="xs:string">
|
|
|
|
|
+ <xs:annotation>
|
|
|
|
|
+ <xs:documentation>Dziedziczone z obiektow typu KRS , MSIG oraz innych dotyczacych
|
|
|
|
|
+ podmiotow</xs:documentation>
|
|
|
|
|
+ </xs:annotation>
|
|
|
|
|
+ </xs:element>
|
|
|
|
|
+ <xs:element name="nazwa" type="xs:string" minOccurs="0">
|
|
|
|
|
+ <xs:annotation>
|
|
|
|
|
+ <xs:documentation>Dziedziczone z obiektow typu KRS , MSIG oraz innych dotyczacych
|
|
|
|
|
+ podmiotow</xs:documentation>
|
|
|
|
|
+ </xs:annotation>
|
|
|
|
|
+ </xs:element>
|
|
|
|
|
+ <xs:element minOccurs="0" name="miejscowosc" type="xs:string">
|
|
|
|
|
+ <xs:annotation>
|
|
|
|
|
+ <xs:documentation>Dziedziczona assert miejscowosc na podstawie relacji z TERYT i jego
|
|
|
|
|
+ relacji</xs:documentation>
|
|
|
|
|
+ </xs:annotation>
|
|
|
|
|
+ </xs:element>
|
|
|
|
|
+ <xs:element minOccurs="0" name="ulica" type="xs:string">
|
|
|
|
|
+ <xs:annotation>
|
|
|
|
|
+ <xs:documentation>Dziedziczona assert miejscowosc na podstawie relacji z TERYT i jego
|
|
|
|
|
+ relacji</xs:documentation>
|
|
|
|
|
+ </xs:annotation>
|
|
|
|
|
+ </xs:element>
|
|
|
|
|
+ <xs:element minOccurs="0" name="nrDomu" type="xs:string">
|
|
|
|
|
+ <xs:annotation>
|
|
|
|
|
+ <xs:documentation>Dziedziczona assert miejscowosc na podstawie relacji z
|
|
|
|
|
+ TERYT</xs:documentation>
|
|
|
|
|
+ </xs:annotation>
|
|
|
|
|
+ </xs:element>
|
|
|
|
|
+ <xs:element minOccurs="0" name="nrLokalu" type="xs:string">
|
|
|
|
|
+ <xs:annotation>
|
|
|
|
|
+ <xs:documentation>Dziedziczona assert miejscowosc na podstawie relacji z
|
|
|
|
|
+ TERYT</xs:documentation>
|
|
|
|
|
+ </xs:annotation>
|
|
|
|
|
+ </xs:element>
|
|
|
|
|
+ <xs:element name="cached" type="xs:int"/>
|
|
|
|
|
+ <xs:element name="A_CLASSIFIED" type="xs:string" minOccurs="0"/>
|
|
|
|
|
+ <xs:element name="A_ADM_COMPANY" type="xs:string" minOccurs="0"/>
|
|
|
|
|
+ <xs:element name="A_RECORD_CREATE_DATE" type="xs:dateTime"/>
|
|
|
|
|
+ <xs:element name="A_RECORD_CREATE_AUTHOR" type="xs:string"/>
|
|
|
|
|
+ <xs:element name="A_RECORD_UPDATE_DATE" type="xs:dateTime"/>
|
|
|
|
|
+ <xs:element name="A_RECORD_UPDATE_AUTHOR" type="xs:string"/>
|
|
|
|
|
+ <xs:element maxOccurs="unbounded" minOccurs="0"
|
|
|
|
|
+ ref="default_db__x3A__BI_audit_CEIDG_powiazania:BI_audit_CEIDG_powiazania"
|
|
|
|
|
+ id="audit_CEIDG___d5e4678-1_pow_"/>
|
|
|
|
|
+ <xs:element maxOccurs="unbounded" minOccurs="0"
|
|
|
|
|
+ ref="default_db__x3A__BI_audit_CEIDG_pelnomocnicy:BI_audit_CEIDG_pelnomocnicy"
|
|
|
|
|
+ id="audit_CEIDG___d5e4678-1_pel_"/>
|
|
|
|
|
+ <xs:element maxOccurs="1" minOccurs="0"
|
|
|
|
|
+ ref="default_db__x3A__BI_audit_taxpayer:BI_audit_taxpayer" id="audit_CEIDG___d5e4680-1">
|
|
|
|
|
+ <xs:annotation>
|
|
|
|
|
+ <xs:appinfo>
|
|
|
|
|
+ <system_cache__appinfo:flat_relation_cache>
|
|
|
|
|
+ <system_cache__appinfo:source system_cache__appinfo:name="nip"
|
|
|
|
|
+ system_cache__appinfo:xpath="default_db__x3A__BI_audit_taxpayer:BI_audit_taxpayer/nip"
|
|
|
|
|
+ system_cache__appinfo:ref_engine="view"/>
|
|
|
|
|
+ </system_cache__appinfo:flat_relation_cache>
|
|
|
|
|
+ </xs:appinfo>
|
|
|
|
|
+ <xs:documentation>Informacja o aktualnym płatniku VAT w tabeli referencyjnej (relacja
|
|
|
|
|
+ nip do
|
|
|
|
|
+ default_db__x3A__BI_audit_taxpayer:BI_audit_taxpayer/nip)</xs:documentation>
|
|
|
|
|
+ </xs:annotation>
|
|
|
|
|
+ </xs:element>
|
|
|
|
|
+ <xs:element maxOccurs="unbounded" minOccurs="0"
|
|
|
|
|
+ ref="default_db__x3A__BI_audit_CEIDG:BI_audit_CEIDG"/>
|
|
|
|
|
+ <xs:element maxOccurs="unbounded" minOccurs="0"
|
|
|
|
|
+ ref="default_db__x3A__BI_audit_ENERGA_PRACOWNICY:BI_audit_ENERGA_PRACOWNICY"/>
|
|
|
|
|
+ <xs:element maxOccurs="unbounded" minOccurs="0"
|
|
|
|
|
+ ref="default_db__x3A__BI_audit_ENERGA_PRACOWNICY_adresy:BI_audit_ENERGA_PRACOWNICY_adresy"/>
|
|
|
|
|
+ <xs:element maxOccurs="unbounded" minOccurs="0"
|
|
|
|
|
+ ref="default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI"/>
|
|
|
|
|
+ <xs:element maxOccurs="unbounded" minOccurs="0"
|
|
|
|
|
+ ref="default_db__x3A__BI_audit_KRS:BI_audit_KRS"/>
|
|
|
|
|
+ <xs:element maxOccurs="unbounded" minOccurs="0"
|
|
|
|
|
+ ref="default_db__x3A__BI_audit_KRS_company:BI_audit_KRS_company"/>
|
|
|
|
|
+ <xs:element maxOccurs="unbounded" minOccurs="0"
|
|
|
|
|
+ ref="default_db__x3A__BI_audit_KRS_person:BI_audit_KRS_person"/>
|
|
|
|
|
+ <xs:element maxOccurs="unbounded" minOccurs="0"
|
|
|
|
|
+ ref="default_db__x3A__BI_audit_MSIG:BI_audit_MSIG"/>
|
|
|
|
|
+ <xs:element maxOccurs="unbounded" minOccurs="0"
|
|
|
|
|
+ ref="default_db__x3A__BI_audit_MSIG_address:BI_audit_MSIG_address"/>
|
|
|
|
|
+ <xs:element maxOccurs="unbounded" minOccurs="0"
|
|
|
|
|
+ ref="default_db__x3A__BI_audit_MSIG_company:BI_audit_MSIG_company"/>
|
|
|
|
|
+ <xs:element maxOccurs="unbounded" minOccurs="0"
|
|
|
|
|
+ ref="default_db__x3A__BI_audit_MSIG_person:BI_audit_MSIG_person"/>
|
|
|
|
|
+ </xs:sequence>
|
|
|
|
|
+ <xs:attribute name="label" type="xs:string"/>
|
|
|
|
|
+<!-- <xs:assert
|
|
|
|
|
+ test="@label = concat(ID, ' ', rejestr, substring(nazwisko, 1, 10), substring(nazwa, 1, 10))"/>
|
|
|
|
|
+ <xs:assert test="Rejestr = */name()">
|
|
|
|
|
+ <xs:annotation>
|
|
|
|
|
+ <xs:documentation>Element Rejestr przyjmuje nazwe obiektu, do ktorego jest referencja
|
|
|
|
|
+ </xs:documentation>
|
|
|
|
|
+ </xs:annotation>
|
|
|
|
|
+ </xs:assert>
|
|
|
|
|
+ <xs:assert test="nazwisko = */nazwisko"/>
|
|
|
|
|
+ <xs:assert test="imiona = */imiona"/>
|
|
|
|
|
+ <xs:assert test="pesel = */pesel"/>
|
|
|
|
|
+ <xs:assert test="krs = */krs"/>
|
|
|
|
|
+ <xs:assert test="nip = */nip"/>
|
|
|
|
|
+ <xs:assert test="regon = */regon"/>
|
|
|
|
|
+ <xs:assert test="nazwa = */nazwa"/>
|
|
|
|
|
+ <xs:assert
|
|
|
|
|
+ test="miejscowosc = default_db__x3A__TERYT_adresy:TERYT_adresy/default_db__x3A__TERYT_SIMC:TERYT_SIMC/NAZWA"/>
|
|
|
|
|
+ <xs:assert
|
|
|
|
|
+ test="ulica = default_db__x3A__TERYT_adresy:TERYT_adresy/default_db__x3A__TERYT_ULIC:TERYT_ULIC/@label"/>
|
|
|
|
|
+ <xs:assert test="nrDomu = default_db__x3A__TERYT_adresy:TERYT_adresy/NrDomu"/>
|
|
|
|
|
+ <xs:assert test="nrLokalu = default_db__x3A__TERYT_adresy:TERYT_adresy/NrLokalu"/>-->
|
|
|
|
|
+ </xs:complexType>
|
|
|
|
|
+ <xs:element name="BI_audit_POWIAZANIA_OBIEKTY"
|
|
|
|
|
+ type="default_db__x3A__BI_audit_POWIAZANIA_OBIEKTY:BI_audit_POWIAZANIA_OBIEKTY">
|
|
|
|
|
+ <xs:annotation>
|
|
|
|
|
+ <xs:documentation>Obiekty zaciągnięte z baz danych KRS, MSiG i CEiDG do szukania powiązań.</xs:documentation>
|
|
|
|
|
+ </xs:annotation>
|
|
|
|
|
+ </xs:element>
|
|
|
|
|
+</xs:schema>
|