Преглед изворни кода

auto commit z ant f.fix_se_defaultdb_schema git_push_folder for Dzialki.xsd

a.binder пре 8 година
родитељ
комит
109e83b224

+ 78 - 53
SE/schema/ant-object/default_db.Dzialki/Dzialki/Dzialki.xsd

@@ -1,37 +1,38 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml/3.2"
-   xmlns:Types__x3A__default_Infrastructure="https://biuro.biall-net.pl/wfs/default_db/Types/Infrastructure.xsd"
-   xmlns:default_db__x3A__IN7_DZIENNIK_KORESP="https://biuro.biall-net.pl/wfs/default_db/table/IN7_DZIENNIK_KORESP.xsd"
-   xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty"
-   xmlns:default_db__x3A__ADMIN_USERS="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
-   xmlns:default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
-   xmlns:SystemObjects__x3A__AccessGroup="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessGroup.xsd"
-   xmlns:SystemObjects__x3A__AccessOwner="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessOwner.xsd"
-   xmlns:default_db__x3A__CRM_LISTA_ZASOBOW="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW.xsd"
-   xmlns:default_db__x3A__Dzialki="https://biuro.biall-net.pl/wfs/default_db/table/Dzialki.xsd"
-   xmlns:default_db__x3A__COMPANIES="https://biuro.biall-net.pl/wfs/default_db/table/COMPANIES.xsd"
-   xmlns:p5_tr_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/procesy5_translate_map.xsd"
-   xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
-   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"
-   xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
-   xmlns:fix_se_defaultdb_schema="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/fix_se_defaultdb_schema/fix_se_defaultdb_schema.xsd"
-   xmlns:p5Type="http://biuro.biall-net.pl/p5/schema/types"
-   targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/Dzialki.xsd" vc:minVersion="1.1">
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+           xmlns:gml="http://www.opengis.net/gml/3.2"
+           xmlns:Types__x3A__default_Infrastructure="https://biuro.biall-net.pl/wfs/default_db/Types/Infrastructure.xsd"
+           xmlns:default_db__x3A__IN7_DZIENNIK_KORESP="https://biuro.biall-net.pl/wfs/default_db/table/IN7_DZIENNIK_KORESP.xsd"
+           xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty"
+           xmlns:default_db__x3A__ADMIN_USERS="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
+           xmlns:default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
+           xmlns:SystemObjects__x3A__AccessGroup="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessGroup.xsd"
+           xmlns:SystemObjects__x3A__AccessOwner="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessOwner.xsd"
+           xmlns:default_db__x3A__CRM_LISTA_ZASOBOW="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW.xsd"
+           xmlns:default_db__x3A__Dzialki="https://biuro.biall-net.pl/wfs/default_db/table/Dzialki.xsd"
+           xmlns:default_db__x3A__COMPANIES="https://biuro.biall-net.pl/wfs/default_db/table/COMPANIES.xsd"
+           xmlns:p5_tr_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/procesy5_translate_map.xsd"
+           xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+           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"
+           xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+           xmlns:fix_se_defaultdb_schema="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/fix_se_defaultdb_schema/fix_se_defaultdb_schema.xsd"
+           xmlns:p5Type="http://biuro.biall-net.pl/p5/schema/types"
+           targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/Dzialki.xsd"
+           vc:minVersion="1.1">
    <xs:import namespace="http://biuro.biall-net.pl/p5/schema/types"
-      schemaLocation="../../../types.xsd"/>
+              schemaLocation="../../../types.xsd"/>
    <xs:import namespace="http://www.opengis.net/gml/3.2"
-      schemaLocation="http://www.opengis.net/gml/3.2"/>
+              schemaLocation="http://www.opengis.net/gml/3.2"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_DZIENNIK_KORESP.xsd"
-      schemaLocation="../../default_db.IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP.xsd"/>
-   <xs:import
-      namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
-      schemaLocation="../../default_db.IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI.xsd"/>
+              schemaLocation="../../default_db.IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP.xsd"/>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
+              schemaLocation="../../default_db.IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI/IN7_MK_BAZA_DYSTRYBUCJI.xsd"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/COMPANIES.xsd"
-      schemaLocation="../../default_db.COMPANIES/COMPANIES/COMPANIES.xsd"/>
+              schemaLocation="../../default_db.COMPANIES/COMPANIES/COMPANIES.xsd"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
-      schemaLocation="../../default_db.ADMIN_USERS/ADMIN_USERS/ADMIN_USERS.xsd"/>
+              schemaLocation="../../default_db.ADMIN_USERS/ADMIN_USERS/ADMIN_USERS.xsd"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW.xsd"
-      schemaLocation="../../default_db.CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW.xsd"/>
+              schemaLocation="../../default_db.CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW.xsd"/>
    <xs:simpleType name="INWDZ__typ_dzialki">
       <xs:restriction base="xs:string">
          <xs:enumeration value=""/>
@@ -48,16 +49,18 @@
          <xs:enumeration value="WOJEWÓDZKA"/>
       </xs:restriction>
    </xs:simpleType>
-   <xs:complexType name="Dzialki">
+   <xs:complexType name="Dzialki" system_cache__appinfo:primaryKey="ID">
       <xs:annotation>
          <xs:appinfo>
             <system_cache__appinfo:heritage>
-               <system_cache__appinfo:inherit system_cache__appinfo:inherit_ref="default_db:Dzialki" system_cache__appinfo:heritage_acl="true">
+               <system_cache__appinfo:inherit system_cache__appinfo:inherit_ref="default_db:Dzialki"
+                                              system_cache__appinfo:heritage_acl="true">
                   <system_cache__appinfo:acl_rule_inherit_to_all_same_name_elements_and_refs/>
                   <acl_rule_inherit_to_all_refs_by_primary/>
                   <acl_rule_inherit_to_all_refs_by_local_element system_cache__appinfo:acl_rule_inherit_local_element_name="A_STATUS"/>
                </system_cache__appinfo:inherit>
-               <system_cache__appinfo:exherit_all system_cache__appinfo:heritage_acl="true" system_cache__appinfo:heritage_sort="true"/>
+               <system_cache__appinfo:exherit_all system_cache__appinfo:heritage_acl="true"
+                                                  system_cache__appinfo:heritage_sort="true"/>
             </system_cache__appinfo:heritage>
          </xs:appinfo>
          <xs:documentation>Instancyjny - Protopyowy obiekt, który powinien mieć typy konkretnych
@@ -84,7 +87,9 @@
             <xs:annotation>
                <xs:appinfo>
                   <system_cache__appinfo:flat_relation_cache>
-                     <system_cache__appinfo:source system_cache__appinfo:ref_engine="view" system_cache__appinfo:name="ID_ZASOB" system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW:ID_ZASOB/ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:name="ID_ZASOB"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW:ID_ZASOB/ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xs:appinfo>
                <xs:documentation>
@@ -99,7 +104,9 @@
             <xs:annotation>
                <xs:appinfo>
                   <system_cache__appinfo:flat_relation_cache>
-                     <system_cache__appinfo:source system_cache__appinfo:ref_engine="view" system_cache__appinfo:name="L_APPOITMENT_USER" system_cache__appinfo:xpath="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER/ADM_ACCOUNT"/>
+                     <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:name="L_APPOITMENT_USER"
+                                                   system_cache__appinfo:xpath="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER/ADM_ACCOUNT"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xs:appinfo>
                <xs:documentation>
@@ -143,7 +150,9 @@
             <xs:annotation>
                <xs:appinfo>
                   <system_cache__appinfo:flat_relation_cache>
-                     <system_cache__appinfo:source system_cache__appinfo:ref_engine="view" system_cache__appinfo:name="ID_PROJECT" system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                   system_cache__appinfo:name="ID_PROJECT"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xs:appinfo>
                <xs:documentation>
@@ -156,7 +165,8 @@
             <xs:annotation>
                <xs:appinfo>
                   <system_cache__appinfo:flat_relation_cache>
-                     <system_cache__appinfo:source system_cache__appinfo:name="ID_BILLING_USERS" system_cache__appinfo:xpath="default_db__x3A__COMPANIES:ID_BILLING_USERS/ID"/>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID_BILLING_USERS"
+                                                   system_cache__appinfo:xpath="default_db__x3A__COMPANIES:ID_BILLING_USERS/ID"/>
                   </system_cache__appinfo:flat_relation_cache>
                </xs:appinfo>
             </xs:annotation>
@@ -183,8 +193,9 @@
          <xs:element minOccurs="0" name="P_OTHER_DOC" type="xs:string"/>
          <xs:element minOccurs="0" name="P_PHONE" type="xs:string"/>
          <xs:element minOccurs="0" name="P_ADDRESS" type="xs:string"/>
-         <xs:element name="INWDZ__typ_dzialki" minOccurs="0"
-            type="default_db__x3A__Dzialki:INWDZ__typ_dzialki"/>
+         <xs:element name="INWDZ__typ_dzialki"
+                     minOccurs="0"
+                     type="default_db__x3A__Dzialki:INWDZ__typ_dzialki"/>
       </xs:sequence>
       <xs:assert test="P_NAME = default_db__x3A__COMPANIES:ID_BILLING_USERS/P_NAME"/>
       <xs:assert test="P_NAME_SECOND = default_db__x3A__COMPANIES:ID_BILLING_USERS/P_NAME_SECOND"/>
@@ -192,12 +203,10 @@
       <xs:assert test="P_PESEL = default_db__x3A__COMPANIES:ID_BILLING_USERS/P_PESEL"/>
       <xs:assert test="P_OTHER_DOC = default_db__x3A__COMPANIES:ID_BILLING_USERS"/>
       <xs:assert test="P_PHONE = default_db__x3A__COMPANIES:ID_BILLING_USERS/P_PHONE"/>
-      <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)"
-      />
+      <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)"/>
    </xs:complexType>
    <xs:element name="Dzialki" type="default_db__x3A__Dzialki:Dzialki"/>
-   <xs:complexType name="Dzialki_Known">
+   <xs:complexType name="Dzialki_Known" system_cache__appinfo:primaryKey="ID">
       <xs:complexContent>
          <xs:restriction base="default_db__x3A__Dzialki:Dzialki">
             <xs:sequence>
@@ -219,7 +228,9 @@
                   <xs:annotation>
                      <xs:appinfo>
                         <system_cache__appinfo:flat_relation_cache>
-                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view" system_cache__appinfo:name="ID_ZASOB" system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW:ID_ZASOB/ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:name="ID_ZASOB"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW:ID_ZASOB/ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xs:appinfo>
                      <xs:documentation>
@@ -234,7 +245,9 @@
                   <xs:annotation>
                      <xs:appinfo>
                         <system_cache__appinfo:flat_relation_cache>
-                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view" system_cache__appinfo:name="L_APPOITMENT_USER" system_cache__appinfo:xpath="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER/ADM_ACCOUNT"/>
+                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:name="L_APPOITMENT_USER"
+                                                         system_cache__appinfo:xpath="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER/ADM_ACCOUNT"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xs:appinfo>
                      <xs:documentation>
@@ -278,7 +291,9 @@
                   <xs:annotation>
                      <xs:appinfo>
                         <system_cache__appinfo:flat_relation_cache>
-                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view" system_cache__appinfo:name="ID_PROJECT" system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:name="ID_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xs:appinfo>
                      <xs:documentation>
@@ -291,7 +306,8 @@
                   <xs:annotation>
                      <xs:appinfo>
                         <system_cache__appinfo:flat_relation_cache>
-                           <system_cache__appinfo:source system_cache__appinfo:name="ID_BILLING_USERS" system_cache__appinfo:xpath="default_db__x3A__COMPANIES:ID_BILLING_USERS/ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_BILLING_USERS"
+                                                         system_cache__appinfo:xpath="default_db__x3A__COMPANIES:ID_BILLING_USERS/ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xs:appinfo>
                   </xs:annotation>
@@ -322,14 +338,15 @@
                      <xs:documentation>assert - concat adresu</xs:documentation>
                   </xs:annotation>
                </xs:element>
-               <xs:element name="INWDZ__typ_dzialki" minOccurs="0"
-                  type="default_db__x3A__Dzialki:INWDZ__typ_dzialki"/>
+               <xs:element name="INWDZ__typ_dzialki"
+                           minOccurs="0"
+                           type="default_db__x3A__Dzialki:INWDZ__typ_dzialki"/>
             </xs:sequence>
          </xs:restriction>
       </xs:complexContent>
    </xs:complexType>
    <xs:element name="Dzialki_Known" type="default_db__x3A__Dzialki:Dzialki_Known"/>
-   <xs:complexType name="Dzialki_Unknown">
+   <xs:complexType name="Dzialki_Unknown" system_cache__appinfo:primaryKey="ID">
       <xs:complexContent>
          <xs:restriction base="default_db__x3A__Dzialki:Dzialki">
             <xs:sequence>
@@ -351,7 +368,9 @@
                   <xs:annotation>
                      <xs:appinfo>
                         <system_cache__appinfo:flat_relation_cache>
-                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view" system_cache__appinfo:name="ID_ZASOB" system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW:ID_ZASOB/ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:name="ID_ZASOB"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW:ID_ZASOB/ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xs:appinfo>
                      <xs:documentation>
@@ -366,7 +385,9 @@
                   <xs:annotation>
                      <xs:appinfo>
                         <system_cache__appinfo:flat_relation_cache>
-                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view" system_cache__appinfo:name="L_APPOITMENT_USER" system_cache__appinfo:xpath="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER/ADM_ACCOUNT"/>
+                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:name="L_APPOITMENT_USER"
+                                                         system_cache__appinfo:xpath="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER/ADM_ACCOUNT"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xs:appinfo>
                      <xs:documentation>
@@ -410,7 +431,9 @@
                   <xs:annotation>
                      <xs:appinfo>
                         <system_cache__appinfo:flat_relation_cache>
-                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view" system_cache__appinfo:name="ID_PROJECT" system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
+                                                         system_cache__appinfo:name="ID_PROJECT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xs:appinfo>
                      <xs:documentation>
@@ -423,7 +446,8 @@
                   <xs:annotation>
                      <xs:appinfo>
                         <system_cache__appinfo:flat_relation_cache>
-                           <system_cache__appinfo:source system_cache__appinfo:name="ID_BILLING_USERS" system_cache__appinfo:xpath="default_db__x3A__COMPANIES:ID_BILLING_USERS/ID"/>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_BILLING_USERS"
+                                                         system_cache__appinfo:xpath="default_db__x3A__COMPANIES:ID_BILLING_USERS/ID"/>
                         </system_cache__appinfo:flat_relation_cache>
                      </xs:appinfo>
                   </xs:annotation>
@@ -450,8 +474,9 @@
                <xs:element minOccurs="0" name="P_OTHER_DOC" type="xs:string"/>
                <xs:element minOccurs="0" name="P_PHONE" type="xs:string"/>
                <xs:element minOccurs="0" name="P_ADDRESS" type="xs:string"/>
-               <xs:element name="INWDZ__typ_dzialki" minOccurs="0"
-                  type="default_db__x3A__Dzialki:INWDZ__typ_dzialki"/>
+               <xs:element name="INWDZ__typ_dzialki"
+                           minOccurs="0"
+                           type="default_db__x3A__Dzialki:INWDZ__typ_dzialki"/>
             </xs:sequence>
          </xs:restriction>
       </xs:complexContent>

+ 29 - 4
SE/schema/ant-object/default_db.Dzialki/Dzialki_Known/Dzialki_Known.xsd

@@ -33,7 +33,23 @@
               schemaLocation="../../default_db.ADMIN_USERS/ADMIN_USERS/ADMIN_USERS.xsd"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW.xsd"
               schemaLocation="../../default_db.CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW.xsd"/>
-   <xs:complexType name="Dzialki">
+   <xs:simpleType name="INWDZ__typ_dzialki">
+      <xs:restriction base="xs:string">
+         <xs:enumeration value=""/>
+         <xs:enumeration value="DROGA"/>
+         <xs:enumeration value="PRYWATNA"/>
+         <xs:enumeration value="LAS"/>
+         <xs:enumeration value="CIEK"/>
+         <xs:enumeration value="INNE"/>
+         <xs:enumeration value="PKP"/>
+         <xs:enumeration value="AGENCJA ROLNA"/>
+         <xs:enumeration value="SPÓŁDZIELNIA"/>
+         <xs:enumeration value="GMINNA"/>
+         <xs:enumeration value="POWIATOWA"/>
+         <xs:enumeration value="WOJEWÓDZKA"/>
+      </xs:restriction>
+   </xs:simpleType>
+   <xs:complexType name="Dzialki" system_cache__appinfo:primaryKey="ID">
       <xs:annotation>
          <xs:appinfo>
             <system_cache__appinfo:heritage>
@@ -177,6 +193,9 @@
          <xs:element minOccurs="0" name="P_OTHER_DOC" type="xs:string"/>
          <xs:element minOccurs="0" name="P_PHONE" type="xs:string"/>
          <xs:element minOccurs="0" name="P_ADDRESS" type="xs:string"/>
+         <xs:element name="INWDZ__typ_dzialki"
+                     minOccurs="0"
+                     type="default_db__x3A__Dzialki:INWDZ__typ_dzialki"/>
       </xs:sequence>
       <xs:assert test="P_NAME = default_db__x3A__COMPANIES:ID_BILLING_USERS/P_NAME"/>
       <xs:assert test="P_NAME_SECOND = default_db__x3A__COMPANIES:ID_BILLING_USERS/P_NAME_SECOND"/>
@@ -184,10 +203,10 @@
       <xs:assert test="P_PESEL = default_db__x3A__COMPANIES:ID_BILLING_USERS/P_PESEL"/>
       <xs:assert test="P_OTHER_DOC = default_db__x3A__COMPANIES:ID_BILLING_USERS"/>
       <xs:assert test="P_PHONE = default_db__x3A__COMPANIES:ID_BILLING_USERS/P_PHONE"/>
-      <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)"/>
+      <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)"/>
    </xs:complexType>
    <xs:element name="Dzialki" type="default_db__x3A__Dzialki:Dzialki"/>
-   <xs:complexType name="Dzialki_Known">
+   <xs:complexType name="Dzialki_Known" system_cache__appinfo:primaryKey="ID">
       <xs:complexContent>
          <xs:restriction base="default_db__x3A__Dzialki:Dzialki">
             <xs:sequence>
@@ -319,12 +338,15 @@
                      <xs:documentation>assert - concat adresu</xs:documentation>
                   </xs:annotation>
                </xs:element>
+               <xs:element name="INWDZ__typ_dzialki"
+                           minOccurs="0"
+                           type="default_db__x3A__Dzialki:INWDZ__typ_dzialki"/>
             </xs:sequence>
          </xs:restriction>
       </xs:complexContent>
    </xs:complexType>
    <xs:element name="Dzialki_Known" type="default_db__x3A__Dzialki:Dzialki_Known"/>
-   <xs:complexType name="Dzialki_Unknown">
+   <xs:complexType name="Dzialki_Unknown" system_cache__appinfo:primaryKey="ID">
       <xs:complexContent>
          <xs:restriction base="default_db__x3A__Dzialki:Dzialki">
             <xs:sequence>
@@ -452,6 +474,9 @@
                <xs:element minOccurs="0" name="P_OTHER_DOC" type="xs:string"/>
                <xs:element minOccurs="0" name="P_PHONE" type="xs:string"/>
                <xs:element minOccurs="0" name="P_ADDRESS" type="xs:string"/>
+               <xs:element name="INWDZ__typ_dzialki"
+                           minOccurs="0"
+                           type="default_db__x3A__Dzialki:INWDZ__typ_dzialki"/>
             </xs:sequence>
          </xs:restriction>
       </xs:complexContent>

+ 29 - 4
SE/schema/ant-object/default_db.Dzialki/Dzialki_Unknown/Dzialki_Unknown.xsd

@@ -33,7 +33,23 @@
               schemaLocation="../../default_db.ADMIN_USERS/ADMIN_USERS/ADMIN_USERS.xsd"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW.xsd"
               schemaLocation="../../default_db.CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW/CRM_LISTA_ZASOBOW.xsd"/>
-   <xs:complexType name="Dzialki">
+   <xs:simpleType name="INWDZ__typ_dzialki">
+      <xs:restriction base="xs:string">
+         <xs:enumeration value=""/>
+         <xs:enumeration value="DROGA"/>
+         <xs:enumeration value="PRYWATNA"/>
+         <xs:enumeration value="LAS"/>
+         <xs:enumeration value="CIEK"/>
+         <xs:enumeration value="INNE"/>
+         <xs:enumeration value="PKP"/>
+         <xs:enumeration value="AGENCJA ROLNA"/>
+         <xs:enumeration value="SPÓŁDZIELNIA"/>
+         <xs:enumeration value="GMINNA"/>
+         <xs:enumeration value="POWIATOWA"/>
+         <xs:enumeration value="WOJEWÓDZKA"/>
+      </xs:restriction>
+   </xs:simpleType>
+   <xs:complexType name="Dzialki" system_cache__appinfo:primaryKey="ID">
       <xs:annotation>
          <xs:appinfo>
             <system_cache__appinfo:heritage>
@@ -177,6 +193,9 @@
          <xs:element minOccurs="0" name="P_OTHER_DOC" type="xs:string"/>
          <xs:element minOccurs="0" name="P_PHONE" type="xs:string"/>
          <xs:element minOccurs="0" name="P_ADDRESS" type="xs:string"/>
+         <xs:element name="INWDZ__typ_dzialki"
+                     minOccurs="0"
+                     type="default_db__x3A__Dzialki:INWDZ__typ_dzialki"/>
       </xs:sequence>
       <xs:assert test="P_NAME = default_db__x3A__COMPANIES:ID_BILLING_USERS/P_NAME"/>
       <xs:assert test="P_NAME_SECOND = default_db__x3A__COMPANIES:ID_BILLING_USERS/P_NAME_SECOND"/>
@@ -184,10 +203,10 @@
       <xs:assert test="P_PESEL = default_db__x3A__COMPANIES:ID_BILLING_USERS/P_PESEL"/>
       <xs:assert test="P_OTHER_DOC = default_db__x3A__COMPANIES:ID_BILLING_USERS"/>
       <xs:assert test="P_PHONE = default_db__x3A__COMPANIES:ID_BILLING_USERS/P_PHONE"/>
-      <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)"/>
+      <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)"/>
    </xs:complexType>
    <xs:element name="Dzialki" type="default_db__x3A__Dzialki:Dzialki"/>
-   <xs:complexType name="Dzialki_Known">
+   <xs:complexType name="Dzialki_Known" system_cache__appinfo:primaryKey="ID">
       <xs:complexContent>
          <xs:restriction base="default_db__x3A__Dzialki:Dzialki">
             <xs:sequence>
@@ -319,12 +338,15 @@
                      <xs:documentation>assert - concat adresu</xs:documentation>
                   </xs:annotation>
                </xs:element>
+               <xs:element name="INWDZ__typ_dzialki"
+                           minOccurs="0"
+                           type="default_db__x3A__Dzialki:INWDZ__typ_dzialki"/>
             </xs:sequence>
          </xs:restriction>
       </xs:complexContent>
    </xs:complexType>
    <xs:element name="Dzialki_Known" type="default_db__x3A__Dzialki:Dzialki_Known"/>
-   <xs:complexType name="Dzialki_Unknown">
+   <xs:complexType name="Dzialki_Unknown" system_cache__appinfo:primaryKey="ID">
       <xs:complexContent>
          <xs:restriction base="default_db__x3A__Dzialki:Dzialki">
             <xs:sequence>
@@ -452,6 +474,9 @@
                <xs:element minOccurs="0" name="P_OTHER_DOC" type="xs:string"/>
                <xs:element minOccurs="0" name="P_PHONE" type="xs:string"/>
                <xs:element minOccurs="0" name="P_ADDRESS" type="xs:string"/>
+               <xs:element name="INWDZ__typ_dzialki"
+                           minOccurs="0"
+                           type="default_db__x3A__Dzialki:INWDZ__typ_dzialki"/>
             </xs:sequence>
          </xs:restriction>
       </xs:complexContent>