a.binder 9 jaren geleden
bovenliggende
commit
743353d5f8
1 gewijzigde bestanden met toevoegingen van 3775 en 0 verwijderingen
  1. 3775 0
      SE/schema/ant-object/default_db.Rozdzielcza_rurociag_wsg84/Rozdzielcza_rurociag_wsg84.xsd

+ 3775 - 0
SE/schema/ant-object/default_db.Rozdzielcza_rurociag_wsg84/Rozdzielcza_rurociag_wsg84.xsd

@@ -0,0 +1,3775 @@
+<?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:vc="http://www.w3.org/2007/XMLSchema-versioning"
+           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__Rozdzielcza_rurociag_wsg84="https://biuro.biall-net.pl/wfs/default_db/table/Rozdzielcza_rurociag_wsg84.xsd"
+           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/Rozdzielcza_rurociag_wsg84.xsd">
+   <xs:import namespace="http://www.opengis.net/gml/3.2"
+              schemaLocation="../Types/gml.xsd"/>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_DZIENNIK_KORESP.xsd"
+              schemaLocation="../table/IN7_DZIENNIK_KORESP.xsd"/>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"
+              schemaLocation="../table/IN7_MK_BAZA_DYSTRYBUCJI.xsd"/>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessGroup.xsd"
+              schemaLocation="../SystemObjects/AccessGroup.xsd"/>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessOwner.xsd"
+              schemaLocation="../SystemObjects/AccessOwner.xsd"/>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/CRM_LISTA_ZASOBOW.xsd"
+              schemaLocation="../table/CRM_LISTA_ZASOBOW.xsd"/>
+   <xs:simpleType name="ID_KORESP" id="ociag_wsg84___d4e22855-1_ID_KORESP">
+      <xs:restriction base="xs:int"/>
+   </xs:simpleType>
+   <xs:simpleType name="ID_KORESP_SET" id="ociag_wsg84___d4e22857-1_ID_KORESP_">
+      <xs:restriction base="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP">
+         <xs:minInclusive value="1"/>
+      </xs:restriction>
+   </xs:simpleType>
+   <xs:simpleType name="ID_KORESP_UNSET" id="ociag_wsg84___d4e22860-1_ID_KORESP_">
+      <xs:restriction base="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP">
+         <xs:enumeration value="0"/>
+      </xs:restriction>
+   </xs:simpleType>
+   <xs:complexType name="Rozdzielcza_rurociag_wsg84"
+                   id="ociag_wsg84___d4e22863-1_Rozdzielcz">
+      <xs:annotation>
+         <xs:documentation>Instancyjny - 
+Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych technologii. Podzielony z uwagi na stany projektowania oraz realizacji.
+
+</xs:documentation>
+      </xs:annotation>
+      <xs:sequence id="ociag_wsg84___d4e22867-1">
+         <xs:element name="ID" type="xs:int" id="ociag_wsg84___d4e22868-1_ID"/>
+         <xs:element name="the_geom"
+                     type="gml:AbstractFeatureType"
+                     id="ociag_wsg84___d4e22869-1_the_geom">
+            <xs:annotation>
+               <xs:documentation>Dane geograficzne obiektu - linia, punkt, polygon</xs:documentation>
+            </xs:annotation>
+         </xs:element>
+         <xs:element name="A_STATUS_INFO"
+                     type="xs:string"
+                     id="ociag_wsg84___d4e22873-1_A_STATUS_I"/>
+         <xs:element name="opis" type="xs:string" id="ociag_wsg84___d4e22874-1_opis">
+            <xs:annotation>
+               <xs:documentation>To zmiany na ID_ZASOBU pod katem kosztorysowym</xs:documentation>
+            </xs:annotation>
+         </xs:element>
+         <xs:element name="ID_ZASOB"
+                     type="xs:int"
+                     id="ociag_wsg84___d4e22878-1_ID_ZASOB"/>
+         <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
+                     id="ociag_wsg84___d4e22879-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID_ZASOB"
+                                                   system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW/ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>
+         <xs:element name="Dlugosc"
+                     type="xs:double"
+                     id="ociag_wsg84___d4e22884-1_Dlugosc"/>
+         <xs:element name="Powierzchnia"
+                     type="xs:double"
+                     id="ociag_wsg84___d4e22885-1_Powierzchn"/>
+         <xs:element name="L_APPOITMENT_USER"
+                     type="xs:string"
+                     id="ociag_wsg84___d4e22886-1_L_APPOITME"/>
+         <xs:element ref="SystemObjects__x3A__AccessOwner:L_APPOITMENT_USER"
+                     id="ociag_wsg84___d4e22887-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="L_APPOITMENT_USER"
+                                                   system_cache__appinfo:xpath="SystemObjects__x3A__AccessOwner:L_APPOITMENT_USER/name"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>
+         <xs:element name="A_CLASSIFIED"
+                     type="xs:string"
+                     id="ociag_wsg84___d4e22892-1_A_CLASSIFI"/>
+         <xs:element ref="SystemObjects__x3A__AccessGroup:A_CLASSIFIED"
+                     id="ociag_wsg84___d4e22894-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="A_CLASSIFIED"
+                                                   system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:A_CLASSIFIED/name"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>
+         <xs:element name="A_ADM_COMPANY"
+                     type="xs:string"
+                     id="ociag_wsg84___d4e22899-1_A_ADM_COMP"/>
+         <xs:element ref="SystemObjects__x3A__AccessGroup:A_ADM_COMPANY"
+                     id="ociag_wsg84___d4e22900-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="A_ADM_COMPANY"
+                                                   system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:A_ADM_COMPANY/name"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>
+         <xs:element name="ID_PROJECT"
+                     type="xs:int"
+                     id="ociag_wsg84___d4e22905-1_ID_PROJECT"/>
+         <xs:element name="ID_KORESP_PROJEKT"
+                     type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                     id="ociag_wsg84___d4e22906-1_ID_KORESP_"/>
+         <xs:element minOccurs="0"
+                     maxOccurs="unbounded"
+                     ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT"
+                     id="ociag_wsg84___d4e22907-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_PROJEKT"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT/ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>Obiekt został zatwierdzony, że jest projektowy i zgodny z zasadami projektowania</xs:documentation>
+            </xs:annotation>
+         </xs:element>
+         <xs:element name="ID_KORESP_PROJEKT_WYK"
+                     type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                     id="ociag_wsg84___d4e22914-1_ID_KORESP_"/>
+         <xs:element minOccurs="0"
+                     maxOccurs="unbounded"
+                     ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT_WYK"
+                     id="ociag_wsg84___d4e22915-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_PROJEKT_WYK"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT_WYK/ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>Obiekt został zatwierdzony, że jest projektowy i zgodny z zasadami projektowania - proj wykonawczy</xs:documentation>
+            </xs:annotation>
+         </xs:element>
+         <xs:element name="ID_KORESP_DO_REALIZ"
+                     type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                     id="ociag_wsg84___d4e22922-1_ID_KORESP_"/>
+         <xs:element minOccurs="0"
+                     ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_REALIZ"
+                     id="ociag_wsg84___d4e22923-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_DO_REALIZ"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_REALIZ/ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>Czy jest decyzja na realizacje</xs:documentation>
+            </xs:annotation>
+         </xs:element>
+         <xs:element name="ID_KORESP_OFFER"
+                     type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                     id="ociag_wsg84___d4e22930-1_ID_KORESP_"/>
+         <xs:element minOccurs="0"
+                     maxOccurs="unbounded"
+                     ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_OFFER"
+                     id="ociag_wsg84___d4e22932-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_OFFER"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_OFFER/ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>Czy jest oferta na obiekt</xs:documentation>
+            </xs:annotation>
+         </xs:element>
+         <xs:element name="ID_KORESP_DO_UZG"
+                     type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                     id="ociag_wsg84___d4e22939-1_ID_KORESP_"/>
+         <xs:element minOccurs="0"
+                     maxOccurs="unbounded"
+                     ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG"
+                     id="ociag_wsg84___d4e22940-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_DO_UZG"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG/ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>Powiązanie do wysłanego pisma o zgodę na usytuowanie obiektu, do właściciela nieruchomości</xs:documentation>
+            </xs:annotation>
+         </xs:element>
+         <xs:element name="ID_KORESP_UZG"
+                     type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                     id="ociag_wsg84___d4e22947-1_ID_KORESP_"/>
+         <xs:element minOccurs="0"
+                     maxOccurs="unbounded"
+                     ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG"
+                     id="ociag_wsg84___d4e22948-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_UZG"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG/ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>Fakt wyrażenia zgody na usytuowanie sieci od właściciela. Brak zgody powinien być wiązany z relacją dla wysyłania wniosków o zgody</xs:documentation>
+            </xs:annotation>
+         </xs:element>
+         <xs:element name="ID_KORESP_DO_UZG_ZUD"
+                     type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                     id="ociag_wsg84___d4e22955-1_ID_KORESP_"/>
+         <xs:element minOccurs="0"
+                     maxOccurs="unbounded"
+                     ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG_ZUD"
+                     id="ociag_wsg84___d4e22956-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_DO_UZG_ZUD"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG_ZUD/ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>Potwierdzenie nadania wniosku o uzgodnienie ZUD</xs:documentation>
+            </xs:annotation>
+         </xs:element>
+         <xs:element name="ID_KORESP_UZG_ZUD"
+                     type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                     id="ociag_wsg84___d4e22963-1_ID_KORESP_"/>
+         <xs:element minOccurs="0"
+                     ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG_ZUD"
+                     id="ociag_wsg84___d4e22964-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_UZG_ZUD"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG_ZUD/ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>Potwierdzenie zwrotnego pisma ze zgodą ZUD</xs:documentation>
+            </xs:annotation>
+         </xs:element>
+         <xs:element name="ID_KORESP_ZLECENIE"
+                     type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                     id="ociag_wsg84___d4e22971-1_ID_KORESP_"/>
+         <xs:element minOccurs="0"
+                     ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZLECENIE"
+                     id="ociag_wsg84___d4e22972-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_ZLECENIE"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZLECENIE/ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>Powiązanie obiektu ze zleceniem na wykonanie obiektu przez wykonawce</xs:documentation>
+            </xs:annotation>
+         </xs:element>
+         <xs:element name="ID_KORESP_ZGL_ODB"
+                     type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                     id="ociag_wsg84___d4e22980-1_ID_KORESP_"/>
+         <xs:element minOccurs="0"
+                     ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZGL_ODB"
+                     id="ociag_wsg84___d4e22981-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_ZGL_ODB"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZGL_ODB/ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>Relacja tworzona przez podwykonawcę jako zgłoszenie do odbioru=wykonanie</xs:documentation>
+            </xs:annotation>
+         </xs:element>
+         <xs:element name="ID_KORESP_POM_GEOD"
+                     type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                     id="ociag_wsg84___d4e22988-1_ID_KORESP_"/>
+         <xs:element minOccurs="0"
+                     ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_POM_GEOD"
+                     id="ociag_wsg84___d4e22989-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_POM_GEOD"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_POM_GEOD/ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>Stwierdzenie, że współrzędne obiektu został zaktualizowane oraz są powiązane do dokumentu z operatem</xs:documentation>
+            </xs:annotation>
+         </xs:element>
+         <xs:element name="ID_KORESP_PROTOK_ODB"
+                     type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                     id="ociag_wsg84___d4e22996-1_ID_KORESP_"/>
+         <xs:element minOccurs="0"
+                     ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROTOK_ODB"
+                     id="ociag_wsg84___d4e22997-1">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_PROTOK_ODB"
+                                                   system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROTOK_ODB/ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+               <xs:documentation>Odebranie obiektu przez trójstronny dokument właściciel, wykonawca, inwestor</xs:documentation>
+            </xs:annotation>
+         </xs:element>
+      </xs:sequence>
+   </xs:complexType>
+   <xs:element name="Rozdzielcza_rurociag_wsg84"
+               type="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84"
+               id="ociag_wsg84___d4e23004-1_Rozdzielcz"/>
+   <xs:complexType name="Rozdzielcza_rurociag_wsg84_DRAFT"
+                   id="ociag_wsg84___d4e23006-1_Rozdzielcz">
+      <xs:complexContent id="ociag_wsg84___d4e23007-1">
+         <xs:restriction base="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84">
+            <xs:sequence id="ociag_wsg84___d4e23009-1">
+               <xs:element name="ID" type="xs:int" id="ociag_wsg84___d4e23010-1_ID"/>
+               <xs:element name="the_geom"
+                           type="gml:AbstractFeatureType"
+                           id="ociag_wsg84___d4e23011-1_the_geom">
+                  <xs:annotation>
+                     <xs:documentation>Dane geograficzne obiektu - linia, punkt, polygon</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="A_STATUS_INFO"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e23015-1_A_STATUS_I"/>
+               <xs:element name="opis" type="xs:string" id="ociag_wsg84___d4e23016-1_opis">
+                  <xs:annotation>
+                     <xs:documentation>To zmiany na ID_ZASOBU pod katem kosztorysowym</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_ZASOB"
+                           type="xs:int"
+                           id="ociag_wsg84___d4e23020-1_ID_ZASOB"/>
+               <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
+                           id="ociag_wsg84___d4e23021-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_ZASOB"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="Dlugosc"
+                           type="xs:double"
+                           id="ociag_wsg84___d4e23026-1_Dlugosc"/>
+               <xs:element name="Powierzchnia"
+                           type="xs:double"
+                           id="ociag_wsg84___d4e23027-1_Powierzchn"/>
+               <xs:element name="L_APPOITMENT_USER"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e23028-1_L_APPOITME"/>
+               <xs:element ref="SystemObjects__x3A__AccessOwner:L_APPOITMENT_USER"
+                           id="ociag_wsg84___d4e23029-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="L_APPOITMENT_USER"
+                                                         system_cache__appinfo:xpath="SystemObjects__x3A__AccessOwner:L_APPOITMENT_USER/name"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="A_CLASSIFIED"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e23034-1_A_CLASSIFI"/>
+               <xs:element ref="SystemObjects__x3A__AccessGroup:A_CLASSIFIED"
+                           id="ociag_wsg84___d4e23036-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="A_CLASSIFIED"
+                                                         system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:A_CLASSIFIED/name"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="A_ADM_COMPANY"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e23041-1_A_ADM_COMP"/>
+               <xs:element ref="SystemObjects__x3A__AccessGroup:A_ADM_COMPANY"
+                           id="ociag_wsg84___d4e23042-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="A_ADM_COMPANY"
+                                                         system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:A_ADM_COMPANY/name"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_PROJECT"
+                           type="xs:int"
+                           id="ociag_wsg84___d4e23047-1_ID_PROJECT"/>
+               <xs:element name="ID_KORESP_PROJEKT"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_UNSET"
+                           id="ociag_wsg84___d4e23048-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           maxOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT"
+                           id="ociag_wsg84___d4e23049-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_PROJEKT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Obiekt został zatwierdzony, że jest projektowy i zgodny z zasadami projektowania</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_PROJEKT_WYK"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23056-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT_WYK"
+                           id="ociag_wsg84___d4e23057-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_PROJEKT_WYK"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT_WYK/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Obiekt został zatwierdzony, że jest projektowy i zgodny z zasadami projektowania - proj wykonawczy</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_DO_REALIZ"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23064-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_REALIZ"
+                           id="ociag_wsg84___d4e23065-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_DO_REALIZ"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_REALIZ/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Czy jest decyzja na realizacje</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_OFFER"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23072-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_OFFER"
+                           id="ociag_wsg84___d4e23074-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_OFFER"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_OFFER/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Czy jest oferta na obiekt</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_DO_UZG"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23081-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG"
+                           id="ociag_wsg84___d4e23082-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_DO_UZG"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Powiązanie do wysłanego pisma o zgodę na usytuowanie obiektu, do właściciela nieruchomości</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_UZG"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23089-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG"
+                           id="ociag_wsg84___d4e23090-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_UZG"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Fakt wyrażenia zgody na usytuowanie sieci od właściciela. Brak zgody powinien być wiązany z relacją dla wysyłania wniosków o zgody</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_DO_UZG_ZUD"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23097-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG_ZUD"
+                           id="ociag_wsg84___d4e23098-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_DO_UZG_ZUD"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG_ZUD/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Potwierdzenie nadania wniosku o uzgodnienie ZUD</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_UZG_ZUD"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23105-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG_ZUD"
+                           id="ociag_wsg84___d4e23106-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_UZG_ZUD"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG_ZUD/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Potwierdzenie zwrotnego pisma ze zgodą ZUD</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_ZLECENIE"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23113-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZLECENIE"
+                           id="ociag_wsg84___d4e23114-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_ZLECENIE"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZLECENIE/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Powiązanie obiektu ze zleceniem na wykonanie obiektu przez wykonawce</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_ZGL_ODB"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23122-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZGL_ODB"
+                           id="ociag_wsg84___d4e23123-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_ZGL_ODB"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZGL_ODB/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Relacja tworzona przez podwykonawcę jako zgłoszenie do odbioru=wykonanie</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_POM_GEOD"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23130-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_POM_GEOD"
+                           id="ociag_wsg84___d4e23131-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_POM_GEOD"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_POM_GEOD/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Stwierdzenie, że współrzędne obiektu został zaktualizowane oraz są powiązane do dokumentu z operatem</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_PROTOK_ODB"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23138-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROTOK_ODB"
+                           id="ociag_wsg84___d4e23139-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_PROTOK_ODB"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROTOK_ODB/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Odebranie obiektu przez trójstronny dokument właściciel, wykonawca, inwestor</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+            </xs:sequence>
+         </xs:restriction>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="Rozdzielcza_rurociag_wsg84_DRAFT"
+               type="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_DRAFT"
+               id="ociag_wsg84___d4e23146-1_Rozdzielcz"/>
+   <xs:complexType name="Rozdzielcza_rurociag_wsg84_PROJEKT"
+                   id="ociag_wsg84___d4e23147-1_Rozdzielcz">
+      <xs:annotation>
+         <xs:documentation>Generalnie prototyp obiektu już jest jego planem, dla tego na ten moment bedzie to extensions obiektu infrastruktury</xs:documentation>
+      </xs:annotation>
+      <xs:complexContent id="ociag_wsg84___d4e23151-1">
+         <xs:restriction base="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84">
+            <xs:sequence id="ociag_wsg84___d4e23153-1">
+               <xs:element name="ID" type="xs:int" id="ociag_wsg84___d4e23154-1_ID"/>
+               <xs:element name="the_geom"
+                           type="gml:AbstractFeatureType"
+                           id="ociag_wsg84___d4e23155-1_the_geom"/>
+               <xs:element name="A_STATUS_INFO"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e23156-1_A_STATUS_I"/>
+               <xs:element name="opis" type="xs:string" id="ociag_wsg84___d4e23157-1_opis">
+                  <xs:annotation>
+                     <xs:documentation>To zmiany na ID_ZASOBU pod katem kosztorysowym</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_ZASOB"
+                           type="xs:int"
+                           id="ociag_wsg84___d4e23161-1_ID_ZASOB"/>
+               <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
+                           id="ociag_wsg84___d4e23162-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_ZASOB"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="Dlugosc"
+                           type="xs:double"
+                           id="ociag_wsg84___d4e23167-1_Dlugosc"/>
+               <xs:element name="Powierzchnia"
+                           type="xs:double"
+                           id="ociag_wsg84___d4e23168-1_Powierzchn"/>
+               <xs:element name="L_APPOITMENT_USER"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e23169-1_L_APPOITME"/>
+               <xs:element ref="SystemObjects__x3A__AccessOwner:L_APPOITMENT_USER"
+                           id="ociag_wsg84___d4e23170-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="L_APPOITMENT_USER"
+                                                         system_cache__appinfo:xpath="SystemObjects__x3A__AccessOwner:L_APPOITMENT_USER/name"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="A_CLASSIFIED"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e23175-1_A_CLASSIFI"/>
+               <xs:element ref="SystemObjects__x3A__AccessGroup:A_CLASSIFIED"
+                           id="ociag_wsg84___d4e23177-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="A_CLASSIFIED"
+                                                         system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:A_CLASSIFIED/name"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="A_ADM_COMPANY"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e23182-1_A_ADM_COMP"/>
+               <xs:element ref="SystemObjects__x3A__AccessGroup:A_ADM_COMPANY"
+                           id="ociag_wsg84___d4e23183-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="A_ADM_COMPANY"
+                                                         system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:A_ADM_COMPANY/name"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_PROJECT"
+                           type="xs:int"
+                           id="ociag_wsg84___d4e23188-1_ID_PROJECT"/>
+               <xs:element name="ID_KORESP_PROJEKT"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e23189-1_ID_KORESP_"/>
+               <xs:element maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT"
+                           id="ociag_wsg84___d4e23190-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_PROJEKT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>stworzono i wydrukowano fizycznie dokument projektu dla danego zakresu elementow</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_PROJEKT_WYK"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23197-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT_WYK"
+                           id="ociag_wsg84___d4e23198-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_PROJEKT_WYK"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT_WYK/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Obiekt został zatwierdzony, że jest projektowy i zgodny z zasadami projektowania - proj wykonawczy</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_DO_REALIZ"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23205-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_REALIZ"
+                           id="ociag_wsg84___d4e23206-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_DO_REALIZ"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_REALIZ/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Czy jest decyzja na realizacje</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_OFFER"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23213-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_OFFER"
+                           id="ociag_wsg84___d4e23215-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_OFFER"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_OFFER/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Czy jest oferta na obiekt</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_DO_UZG"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23222-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG"
+                           id="ociag_wsg84___d4e23223-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_DO_UZG"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Powiązanie do wysłanego pisma o zgodę na usytuowanie obiektu, do właściciela nieruchomości</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_UZG"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23230-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG"
+                           id="ociag_wsg84___d4e23231-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_UZG"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Fakt wyrażenia zgody na usytuowanie sieci od właściciela. Brak zgody powinien być wiązany z relacją dla wysyłania wniosków o zgody</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_DO_UZG_ZUD"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23238-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG_ZUD"
+                           id="ociag_wsg84___d4e23239-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_DO_UZG_ZUD"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG_ZUD/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Potwierdzenie nadania wniosku o uzgodnienie ZUD</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_UZG_ZUD"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23246-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG_ZUD"
+                           id="ociag_wsg84___d4e23247-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_UZG_ZUD"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG_ZUD/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Potwierdzenie zwrotnego pisma ze zgodą ZUD</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_ZLECENIE"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23254-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZLECENIE"
+                           id="ociag_wsg84___d4e23255-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_ZLECENIE"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZLECENIE/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Czy jest zlecenie</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_ZGL_ODB"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23263-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZGL_ODB"
+                           id="ociag_wsg84___d4e23264-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_ZGL_ODB"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZGL_ODB/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Relacja tworzona przez podwykonawcę jako zgłoszenie do odbioru=wykonanie</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_POM_GEOD"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23271-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_POM_GEOD"
+                           id="ociag_wsg84___d4e23272-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_POM_GEOD"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_POM_GEOD/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Stwierdzenie, że współrzędne obiektu został zaktualizowane oraz są powiązane do dokumentu z operatem</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_PROTOK_ODB"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23279-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROTOK_ODB"
+                           id="ociag_wsg84___d4e23280-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_PROTOK_ODB"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROTOK_ODB/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Odebranie obiektu przez trójstronny dokument właściciel, wykonawca, inwestor</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+            </xs:sequence>
+         </xs:restriction>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="Rozdzielcza_rurociag_wsg84_PROJEKT"
+               type="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_PROJEKT"
+               id="ociag_wsg84___d4e23287-1_Rozdzielcz">
+      <xs:annotation>
+         <xs:documentation>Zaprojektowany - został wydrukowany projekt dla danego rekordu</xs:documentation>
+      </xs:annotation>
+   </xs:element>
+   <xs:complexType name="Rozdzielcza_rurociag_wsg84_DO_REALIZ"
+                   id="ociag_wsg84___d4e23291-1_Rozdzielcz">
+      <xs:complexContent id="ociag_wsg84___d4e23292-1">
+         <xs:restriction base="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_PROJEKT">
+            <xs:sequence id="ociag_wsg84___d4e23294-1">
+               <xs:element name="ID" type="xs:int" id="ociag_wsg84___d4e23295-1_ID"/>
+               <xs:element name="the_geom"
+                           type="gml:AbstractFeatureType"
+                           id="ociag_wsg84___d4e23296-1_the_geom"/>
+               <xs:element name="A_STATUS_INFO"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e23297-1_A_STATUS_I"/>
+               <xs:element name="opis" type="xs:string" id="ociag_wsg84___d4e23298-1_opis">
+                  <xs:annotation>
+                     <xs:documentation>To zmiany na ID_ZASOBU pod katem kosztorysowym</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_ZASOB"
+                           type="xs:int"
+                           id="ociag_wsg84___d4e23302-1_ID_ZASOB"/>
+               <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
+                           id="ociag_wsg84___d4e23303-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_ZASOB"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="Dlugosc"
+                           type="xs:double"
+                           id="ociag_wsg84___d4e23308-1_Dlugosc"/>
+               <xs:element name="Powierzchnia"
+                           type="xs:double"
+                           id="ociag_wsg84___d4e23309-1_Powierzchn"/>
+               <xs:element name="L_APPOITMENT_USER"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e23310-1_L_APPOITME"/>
+               <xs:element ref="SystemObjects__x3A__AccessOwner:L_APPOITMENT_USER"
+                           id="ociag_wsg84___d4e23311-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="L_APPOITMENT_USER"
+                                                         system_cache__appinfo:xpath="SystemObjects__x3A__AccessOwner:L_APPOITMENT_USER/name"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="A_CLASSIFIED"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e23316-1_A_CLASSIFI"/>
+               <xs:element ref="SystemObjects__x3A__AccessGroup:A_CLASSIFIED"
+                           id="ociag_wsg84___d4e23318-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="A_CLASSIFIED"
+                                                         system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:A_CLASSIFIED/name"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="A_ADM_COMPANY"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e23323-1_A_ADM_COMP"/>
+               <xs:element ref="SystemObjects__x3A__AccessGroup:A_ADM_COMPANY"
+                           id="ociag_wsg84___d4e23324-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="A_ADM_COMPANY"
+                                                         system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:A_ADM_COMPANY/name"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_PROJECT"
+                           type="xs:int"
+                           id="ociag_wsg84___d4e23329-1_ID_PROJECT"/>
+               <xs:element name="ID_KORESP_PROJEKT"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e23330-1_ID_KORESP_"/>
+               <xs:element ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT"
+                           id="ociag_wsg84___d4e23331-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_PROJEKT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Obiekt został zatwierdzony, że jest projektowy i zgodny z zasadami projektowania</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_PROJEKT_WYK"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23338-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT_WYK"
+                           id="ociag_wsg84___d4e23339-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_PROJEKT_WYK"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT_WYK/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Obiekt został zatwierdzony, że jest projektowy i zgodny z zasadami projektowania - proj wykonawczy</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_DO_REALIZ"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e23346-1_ID_KORESP_"/>
+               <xs:element ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_REALIZ"
+                           id="ociag_wsg84___d4e23347-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_DO_REALIZ"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_REALIZ/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Czy jest decyzja na realizacje</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_OFFER"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23354-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_OFFER"
+                           id="ociag_wsg84___d4e23356-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_OFFER"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_OFFER/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Czy jest oferta na obiekt</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_DO_UZG"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23363-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG"
+                           id="ociag_wsg84___d4e23364-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_DO_UZG"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Powiązanie do wysłanego pisma o zgodę na usytuowanie obiektu, do właściciela nieruchomości</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_UZG"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23371-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG"
+                           id="ociag_wsg84___d4e23372-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_UZG"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Fakt wyrażenia zgody na usytuowanie sieci od właściciela. Brak zgody powinien być wiązany z relacją dla wysyłania wniosków o zgody</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_DO_UZG_ZUD"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23379-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG_ZUD"
+                           id="ociag_wsg84___d4e23380-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_DO_UZG_ZUD"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG_ZUD/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Potwierdzenie nadania wniosku o uzgodnienie ZUD</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_UZG_ZUD"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23387-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG_ZUD"
+                           id="ociag_wsg84___d4e23388-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_UZG_ZUD"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG_ZUD/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Potwierdzenie zwrotnego pisma ze zgodą ZUD</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_ZLECENIE"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23395-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZLECENIE"
+                           id="ociag_wsg84___d4e23396-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_ZLECENIE"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZLECENIE/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Czy jest zlecenie</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_ZGL_ODB"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23404-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZGL_ODB"
+                           id="ociag_wsg84___d4e23405-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_ZGL_ODB"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZGL_ODB/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Relacja tworzona przez podwykonawcę jako zgłoszenie do odbioru=wykonanie</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_POM_GEOD"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23412-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_POM_GEOD"
+                           id="ociag_wsg84___d4e23413-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_POM_GEOD"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_POM_GEOD/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Stwierdzenie, że współrzędne obiektu został zaktualizowane oraz są powiązane do dokumentu z operatem</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_PROTOK_ODB"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23420-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROTOK_ODB"
+                           id="ociag_wsg84___d4e23421-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_PROTOK_ODB"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROTOK_ODB/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Odebranie obiektu przez trójstronny dokument właściciel, wykonawca, inwestor</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+            </xs:sequence>
+         </xs:restriction>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="Rozdzielcza_rurociag_wsg84_DO_REALIZ"
+               type="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_DO_REALIZ"
+               id="ociag_wsg84___d4e23428-1_Rozdzielcz"/>
+   <xs:complexType name="Rozdzielcza_rurociag_wsg84_OFFER"
+                   id="ociag_wsg84___d4e23429-1_Rozdzielcz">
+      <xs:annotation>
+         <xs:documentation>Obiekt, na ktory otryzmalismy oferte</xs:documentation>
+      </xs:annotation>
+      <xs:complexContent id="ociag_wsg84___d4e23433-1">
+         <xs:restriction base="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_PROJEKT">
+            <xs:sequence id="ociag_wsg84___d4e23435-1">
+               <xs:element name="ID" type="xs:int" id="ociag_wsg84___d4e23436-1_ID"/>
+               <xs:element name="the_geom"
+                           type="gml:AbstractFeatureType"
+                           id="ociag_wsg84___d4e23437-1_the_geom"/>
+               <xs:element name="A_STATUS_INFO"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e23438-1_A_STATUS_I"/>
+               <xs:element name="opis" type="xs:string" id="ociag_wsg84___d4e23439-1_opis">
+                  <xs:annotation>
+                     <xs:documentation>To zmiany na ID_ZASOBU pod katem kosztorysowym</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_ZASOB"
+                           type="xs:int"
+                           id="ociag_wsg84___d4e23443-1_ID_ZASOB"/>
+               <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
+                           id="ociag_wsg84___d4e23444-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_ZASOB"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="Dlugosc"
+                           type="xs:double"
+                           id="ociag_wsg84___d4e23449-1_Dlugosc"/>
+               <xs:element name="Powierzchnia"
+                           type="xs:double"
+                           id="ociag_wsg84___d4e23450-1_Powierzchn"/>
+               <xs:element name="L_APPOITMENT_USER"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e23451-1_L_APPOITME"/>
+               <xs:element ref="SystemObjects__x3A__AccessOwner:L_APPOITMENT_USER"
+                           id="ociag_wsg84___d4e23452-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="L_APPOITMENT_USER"
+                                                         system_cache__appinfo:xpath="SystemObjects__x3A__AccessOwner:L_APPOITMENT_USER/name"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="A_CLASSIFIED"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e23457-1_A_CLASSIFI"/>
+               <xs:element ref="SystemObjects__x3A__AccessGroup:A_CLASSIFIED"
+                           id="ociag_wsg84___d4e23459-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="A_CLASSIFIED"
+                                                         system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:A_CLASSIFIED/name"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="A_ADM_COMPANY"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e23464-1_A_ADM_COMP"/>
+               <xs:element ref="SystemObjects__x3A__AccessGroup:A_ADM_COMPANY"
+                           id="ociag_wsg84___d4e23465-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="A_ADM_COMPANY"
+                                                         system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:A_ADM_COMPANY/name"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_PROJECT"
+                           type="xs:int"
+                           id="ociag_wsg84___d4e23470-1_ID_PROJECT"/>
+               <xs:element name="ID_KORESP_PROJEKT"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e23471-1_ID_KORESP_"/>
+               <xs:element maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT"
+                           id="ociag_wsg84___d4e23472-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_PROJEKT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Obiekt został zatwierdzony, że jest projektowy i zgodny z zasadami projektowania</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_PROJEKT_WYK"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e23479-1_ID_KORESP_"/>
+               <xs:element minOccurs="1"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT_WYK"
+                           id="ociag_wsg84___d4e23480-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_PROJEKT_WYK"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT_WYK/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Obiekt został zatwierdzony, że jest projektowy i zgodny z zasadami projektowania - proj wykonawczy</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_DO_REALIZ"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e23487-1_ID_KORESP_"/>
+               <xs:element ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_REALIZ"
+                           id="ociag_wsg84___d4e23488-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_DO_REALIZ"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_REALIZ/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Czy jest decyzja na realizacje</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_OFFER"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e23495-1_ID_KORESP_"/>
+               <xs:element minOccurs="1"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_OFFER"
+                           id="ociag_wsg84___d4e23497-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_OFFER"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_OFFER/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Czy jest oferta na obiekt</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_DO_UZG"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23504-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG"
+                           id="ociag_wsg84___d4e23505-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_DO_UZG"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Powiązanie do wysłanego pisma o zgodę na usytuowanie obiektu, do właściciela nieruchomości</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_UZG"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23512-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG"
+                           id="ociag_wsg84___d4e23513-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_UZG"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Fakt wyrażenia zgody na usytuowanie sieci od właściciela. Brak zgody powinien być wiązany z relacją dla wysyłania wniosków o zgody</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_DO_UZG_ZUD"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23520-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG_ZUD"
+                           id="ociag_wsg84___d4e23521-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_DO_UZG_ZUD"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG_ZUD/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Potwierdzenie nadania wniosku o uzgodnienie ZUD</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_UZG_ZUD"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23528-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG_ZUD"
+                           id="ociag_wsg84___d4e23529-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_UZG_ZUD"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG_ZUD/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Potwierdzenie zwrotnego pisma ze zgodą ZUD</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_ZLECENIE"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23536-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZLECENIE"
+                           id="ociag_wsg84___d4e23537-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_ZLECENIE"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZLECENIE/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Czy jest zlecenie</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_ZGL_ODB"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23545-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZGL_ODB"
+                           id="ociag_wsg84___d4e23546-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_ZGL_ODB"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZGL_ODB/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Relacja tworzona przez podwykonawcę jako zgłoszenie do odbioru=wykonanie</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_POM_GEOD"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23553-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_POM_GEOD"
+                           id="ociag_wsg84___d4e23554-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_POM_GEOD"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_POM_GEOD/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Stwierdzenie, że współrzędne obiektu został zaktualizowane oraz są powiązane do dokumentu z operatem</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_PROTOK_ODB"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23561-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROTOK_ODB"
+                           id="ociag_wsg84___d4e23562-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_PROTOK_ODB"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROTOK_ODB/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Odebranie obiektu przez trójstronny dokument właściciel, wykonawca, inwestor</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+            </xs:sequence>
+         </xs:restriction>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="Rozdzielcza_rurociag_wsg84_OFFER"
+               type="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_OFFER"
+               id="ociag_wsg84___d4e23569-1_Rozdzielcz"/>
+   <xs:complexType name="Rozdzielcza_rurociag_wsg84_DO_UZG"
+                   id="ociag_wsg84___d4e23570-1_Rozdzielcz">
+      <xs:complexContent id="ociag_wsg84___d4e23571-1">
+         <xs:restriction base="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_DO_REALIZ">
+            <xs:sequence id="ociag_wsg84___d4e23573-1">
+               <xs:element name="ID" type="xs:int" id="ociag_wsg84___d4e23574-1_ID"/>
+               <xs:element name="the_geom"
+                           type="gml:AbstractFeatureType"
+                           id="ociag_wsg84___d4e23575-1_the_geom"/>
+               <xs:element name="A_STATUS_INFO"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e23576-1_A_STATUS_I"/>
+               <xs:element name="opis" type="xs:string" id="ociag_wsg84___d4e23577-1_opis">
+                  <xs:annotation>
+                     <xs:documentation>To zmiany na ID_ZASOBU pod katem kosztorysowym</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_ZASOB"
+                           type="xs:int"
+                           id="ociag_wsg84___d4e23581-1_ID_ZASOB"/>
+               <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
+                           id="ociag_wsg84___d4e23582-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_ZASOB"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="Dlugosc"
+                           type="xs:double"
+                           id="ociag_wsg84___d4e23587-1_Dlugosc"/>
+               <xs:element name="Powierzchnia"
+                           type="xs:double"
+                           id="ociag_wsg84___d4e23588-1_Powierzchn"/>
+               <xs:element name="L_APPOITMENT_USER"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e23589-1_L_APPOITME"/>
+               <xs:element ref="SystemObjects__x3A__AccessOwner:L_APPOITMENT_USER"
+                           id="ociag_wsg84___d4e23590-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="L_APPOITMENT_USER"
+                                                         system_cache__appinfo:xpath="SystemObjects__x3A__AccessOwner:L_APPOITMENT_USER/name"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="A_CLASSIFIED"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e23595-1_A_CLASSIFI"/>
+               <xs:element ref="SystemObjects__x3A__AccessGroup:A_CLASSIFIED"
+                           id="ociag_wsg84___d4e23597-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="A_CLASSIFIED"
+                                                         system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:A_CLASSIFIED/name"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="A_ADM_COMPANY"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e23602-1_A_ADM_COMP"/>
+               <xs:element ref="SystemObjects__x3A__AccessGroup:A_ADM_COMPANY"
+                           id="ociag_wsg84___d4e23603-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="A_ADM_COMPANY"
+                                                         system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:A_ADM_COMPANY/name"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_PROJECT"
+                           type="xs:int"
+                           id="ociag_wsg84___d4e23608-1_ID_PROJECT"/>
+               <xs:element name="ID_KORESP_PROJEKT"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e23609-1_ID_KORESP_"/>
+               <xs:element ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT"
+                           id="ociag_wsg84___d4e23610-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_PROJEKT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Obiekt został zatwierdzony, że jest projektowy i zgodny z zasadami projektowania</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_PROJEKT_WYK"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e23617-1_ID_KORESP_"/>
+               <xs:element minOccurs="1"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT_WYK"
+                           id="ociag_wsg84___d4e23618-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_PROJEKT_WYK"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT_WYK/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Obiekt został zatwierdzony, że jest projektowy i zgodny z zasadami projektowania - proj wykonawczy</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_DO_REALIZ"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e23625-1_ID_KORESP_"/>
+               <xs:element ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_REALIZ"
+                           id="ociag_wsg84___d4e23626-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_DO_REALIZ"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_REALIZ/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Czy jest decyzja na realizacje</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_OFFER"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23633-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_OFFER"
+                           id="ociag_wsg84___d4e23635-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_OFFER"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_OFFER/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Czy jest oferta na obiekt</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_DO_UZG"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e23642-1_ID_KORESP_"/>
+               <xs:element minOccurs="1"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG"
+                           id="ociag_wsg84___d4e23643-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_DO_UZG"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Powiązanie do wysłanego pisma o zgodę na usytuowanie obiektu, do właściciela nieruchomości</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_UZG"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23650-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG"
+                           id="ociag_wsg84___d4e23651-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_UZG"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Fakt wyrażenia zgody na usytuowanie sieci od właściciela. Brak zgody powinien być wiązany z relacją dla wysyłania wniosków o zgody</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_DO_UZG_ZUD"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23658-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG_ZUD"
+                           id="ociag_wsg84___d4e23659-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_DO_UZG_ZUD"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG_ZUD/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Potwierdzenie nadania wniosku o uzgodnienie ZUD</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_UZG_ZUD"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23666-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG_ZUD"
+                           id="ociag_wsg84___d4e23667-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_UZG_ZUD"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG_ZUD/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Potwierdzenie zwrotnego pisma ze zgodą ZUD</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_ZLECENIE"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23674-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZLECENIE"
+                           id="ociag_wsg84___d4e23675-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_ZLECENIE"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZLECENIE/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Czy jest zlecenie</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_ZGL_ODB"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23683-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZGL_ODB"
+                           id="ociag_wsg84___d4e23684-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_ZGL_ODB"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZGL_ODB/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Relacja tworzona przez podwykonawcę jako zgłoszenie do odbioru=wykonanie</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_POM_GEOD"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23691-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_POM_GEOD"
+                           id="ociag_wsg84___d4e23692-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_POM_GEOD"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_POM_GEOD/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Stwierdzenie, że współrzędne obiektu został zaktualizowane oraz są powiązane do dokumentu z operatem</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_PROTOK_ODB"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23699-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROTOK_ODB"
+                           id="ociag_wsg84___d4e23700-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_PROTOK_ODB"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROTOK_ODB/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Odebranie obiektu przez trójstronny dokument właściciel, wykonawca, inwestor</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+            </xs:sequence>
+         </xs:restriction>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="Rozdzielcza_rurociag_wsg84_DO_UZG"
+               type="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_DO_UZG"
+               id="ociag_wsg84___d4e23707-1_Rozdzielcz">
+      <xs:annotation>
+         <xs:documentation>Taki co wyszedl do uzgodnien z wlascicielem nieruchomosci / dzialki
+</xs:documentation>
+      </xs:annotation>
+   </xs:element>
+   <xs:complexType name="Rozdzielcza_rurociag_wsg84_UZG"
+                   id="ociag_wsg84___d4e23711-1_Rozdzielcz">
+      <xs:annotation>
+         <xs:documentation>Został uzgodniony, bo otrzymalismy dokument z uzogdnieniem pozytywnym</xs:documentation>
+      </xs:annotation>
+      <xs:complexContent id="ociag_wsg84___d4e23715-1">
+         <xs:restriction base="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_DO_REALIZ">
+            <xs:sequence id="ociag_wsg84___d4e23717-1">
+               <xs:element name="ID" type="xs:int" id="ociag_wsg84___d4e23718-1_ID"/>
+               <xs:element name="the_geom"
+                           type="gml:AbstractFeatureType"
+                           id="ociag_wsg84___d4e23719-1_the_geom"/>
+               <xs:element name="A_STATUS_INFO"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e23720-1_A_STATUS_I"/>
+               <xs:element name="opis" type="xs:string" id="ociag_wsg84___d4e23721-1_opis">
+                  <xs:annotation>
+                     <xs:documentation>To zmiany na ID_ZASOBU pod katem kosztorysowym</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_ZASOB"
+                           type="xs:int"
+                           id="ociag_wsg84___d4e23725-1_ID_ZASOB"/>
+               <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
+                           id="ociag_wsg84___d4e23726-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_ZASOB"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="Dlugosc"
+                           type="xs:double"
+                           id="ociag_wsg84___d4e23731-1_Dlugosc"/>
+               <xs:element name="Powierzchnia"
+                           type="xs:double"
+                           id="ociag_wsg84___d4e23732-1_Powierzchn"/>
+               <xs:element name="L_APPOITMENT_USER"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e23733-1_L_APPOITME"/>
+               <xs:element ref="SystemObjects__x3A__AccessOwner:L_APPOITMENT_USER"
+                           id="ociag_wsg84___d4e23734-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="L_APPOITMENT_USER"
+                                                         system_cache__appinfo:xpath="SystemObjects__x3A__AccessOwner:L_APPOITMENT_USER/name"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="A_CLASSIFIED"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e23739-1_A_CLASSIFI"/>
+               <xs:element ref="SystemObjects__x3A__AccessGroup:A_CLASSIFIED"
+                           id="ociag_wsg84___d4e23741-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="A_CLASSIFIED"
+                                                         system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:A_CLASSIFIED/name"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="A_ADM_COMPANY"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e23746-1_A_ADM_COMP"/>
+               <xs:element ref="SystemObjects__x3A__AccessGroup:A_ADM_COMPANY"
+                           id="ociag_wsg84___d4e23747-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="A_ADM_COMPANY"
+                                                         system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:A_ADM_COMPANY/name"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_PROJECT"
+                           type="xs:int"
+                           id="ociag_wsg84___d4e23752-1_ID_PROJECT"/>
+               <xs:element name="ID_KORESP_PROJEKT"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e23753-1_ID_KORESP_"/>
+               <xs:element ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT"
+                           id="ociag_wsg84___d4e23754-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_PROJEKT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Obiekt został zatwierdzony, że jest projektowy i zgodny z zasadami projektowania</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_PROJEKT_WYK"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e23761-1_ID_KORESP_"/>
+               <xs:element minOccurs="1"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT_WYK"
+                           id="ociag_wsg84___d4e23762-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_PROJEKT_WYK"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT_WYK/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Obiekt został zatwierdzony, że jest projektowy i zgodny z zasadami projektowania - proj wykonawczy</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_DO_REALIZ"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e23769-1_ID_KORESP_"/>
+               <xs:element ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_REALIZ"
+                           id="ociag_wsg84___d4e23770-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_DO_REALIZ"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_REALIZ/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Czy jest decyzja na realizacje</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_OFFER"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23777-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_OFFER"
+                           id="ociag_wsg84___d4e23779-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_OFFER"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_OFFER/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Czy jest oferta na obiekt</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_DO_UZG"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23786-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG"
+                           id="ociag_wsg84___d4e23787-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_DO_UZG"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Powiązanie do wysłanego pisma o zgodę na usytuowanie obiektu, do właściciela nieruchomości</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_UZG"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23794-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG"
+                           id="ociag_wsg84___d4e23795-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_DO_UZG"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Powiązanie do wysłanego pisma o zgodę na usytuowanie obiektu, do właściciela nieruchomości</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_DO_UZG_ZUD"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23802-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG_ZUD"
+                           id="ociag_wsg84___d4e23803-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_DO_UZG_ZUD"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG_ZUD/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Fakt wyrażenia zgody na usytuowanie sieci od właściciela. Brak zgody powinien być wiązany z relacją dla wysyłania wniosków o zgody</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_UZG_ZUD"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23810-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG_ZUD"
+                           id="ociag_wsg84___d4e23811-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_UZG_ZUD"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG_ZUD/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Potwierdzenie nadania wniosku o uzgodnienie ZUD</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_ZLECENIE"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23818-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZLECENIE"
+                           id="ociag_wsg84___d4e23819-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_ZLECENIE"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZLECENIE/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Czy jest zlecenie</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_ZGL_ODB"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23827-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZGL_ODB"
+                           id="ociag_wsg84___d4e23828-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_ZGL_ODB"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZGL_ODB/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Relacja tworzona przez podwykonawcę jako zgłoszenie do odbioru=wykonanie</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_POM_GEOD"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23835-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_POM_GEOD"
+                           id="ociag_wsg84___d4e23836-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_POM_GEOD"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_POM_GEOD/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Stwierdzenie, że współrzędne obiektu został zaktualizowane oraz są powiązane do dokumentu z operatem</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_PROTOK_ODB"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23843-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROTOK_ODB"
+                           id="ociag_wsg84___d4e23844-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_PROTOK_ODB"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROTOK_ODB/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Odebranie obiektu przez trójstronny dokument właściciel, wykonawca, inwestor</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+            </xs:sequence>
+         </xs:restriction>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="Rozdzielcza_rurociag_wsg84_UZG"
+               type="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_UZG"
+               id="ociag_wsg84___d4e23852-1_Rozdzielcz"/>
+   <xs:complexType name="Rozdzielcza_rurociag_wsg84_DO_UZG_ZUD"
+                   id="ociag_wsg84___d4e23853-1_Rozdzielcz">
+      <xs:complexContent id="ociag_wsg84___d4e23854-1">
+         <xs:restriction base="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_DO_REALIZ">
+            <xs:sequence id="ociag_wsg84___d4e23856-1">
+               <xs:element name="ID" type="xs:int" id="ociag_wsg84___d4e23857-1_ID"/>
+               <xs:element name="the_geom"
+                           type="gml:AbstractFeatureType"
+                           id="ociag_wsg84___d4e23858-1_the_geom"/>
+               <xs:element name="A_STATUS_INFO"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e23859-1_A_STATUS_I"/>
+               <xs:element name="opis" type="xs:string" id="ociag_wsg84___d4e23860-1_opis">
+                  <xs:annotation>
+                     <xs:documentation>To zmiany na ID_ZASOBU pod katem kosztorysowym</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_ZASOB"
+                           type="xs:int"
+                           id="ociag_wsg84___d4e23864-1_ID_ZASOB"/>
+               <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
+                           id="ociag_wsg84___d4e23865-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_ZASOB"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="Dlugosc"
+                           type="xs:double"
+                           id="ociag_wsg84___d4e23870-1_Dlugosc"/>
+               <xs:element name="Powierzchnia"
+                           type="xs:double"
+                           id="ociag_wsg84___d4e23871-1_Powierzchn"/>
+               <xs:element name="L_APPOITMENT_USER"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e23872-1_L_APPOITME"/>
+               <xs:element ref="SystemObjects__x3A__AccessOwner:L_APPOITMENT_USER"
+                           id="ociag_wsg84___d4e23873-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="L_APPOITMENT_USER"
+                                                         system_cache__appinfo:xpath="SystemObjects__x3A__AccessOwner:L_APPOITMENT_USER/name"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="A_CLASSIFIED"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e23878-1_A_CLASSIFI"/>
+               <xs:element ref="SystemObjects__x3A__AccessGroup:A_CLASSIFIED"
+                           id="ociag_wsg84___d4e23880-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="A_CLASSIFIED"
+                                                         system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:A_CLASSIFIED/name"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="A_ADM_COMPANY"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e23885-1_A_ADM_COMP"/>
+               <xs:element ref="SystemObjects__x3A__AccessGroup:A_ADM_COMPANY"
+                           id="ociag_wsg84___d4e23886-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="A_ADM_COMPANY"
+                                                         system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:A_ADM_COMPANY/name"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_PROJECT"
+                           type="xs:int"
+                           id="ociag_wsg84___d4e23891-1_ID_PROJECT"/>
+               <xs:element name="ID_KORESP_PROJEKT"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e23892-1_ID_KORESP_"/>
+               <xs:element ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT"
+                           id="ociag_wsg84___d4e23893-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_PROJEKT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Obiekt został zatwierdzony, że jest projektowy i zgodny z zasadami projektowania</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_PROJEKT_WYK"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e23900-1_ID_KORESP_"/>
+               <xs:element minOccurs="1"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT_WYK"
+                           id="ociag_wsg84___d4e23901-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_PROJEKT_WYK"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT_WYK/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Obiekt został zatwierdzony, że jest projektowy i zgodny z zasadami projektowania - proj wykonawczy</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_DO_REALIZ"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e23908-1_ID_KORESP_"/>
+               <xs:element ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_REALIZ"
+                           id="ociag_wsg84___d4e23909-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_DO_REALIZ"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_REALIZ/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Czy jest decyzja na realizacje</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_OFFER"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23916-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_OFFER"
+                           id="ociag_wsg84___d4e23918-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_OFFER"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_OFFER/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Czy jest oferta na obiekt</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_DO_UZG"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23925-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG"
+                           id="ociag_wsg84___d4e23926-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_DO_UZG"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Powiązanie do wysłanego pisma o zgodę na usytuowanie obiektu, do właściciela nieruchomości</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_UZG"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23933-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG"
+                           id="ociag_wsg84___d4e23934-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_UZG"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Fakt wyrażenia zgody na usytuowanie sieci od właściciela. Brak zgody powinien być wiązany z relacją dla wysyłania wniosków o zgody</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_DO_UZG_ZUD"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e23941-1_ID_KORESP_"/>
+               <xs:element minOccurs="1"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG_ZUD"
+                           id="ociag_wsg84___d4e23942-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_DO_UZG_ZUD"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG_ZUD/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Potwierdzenie nadania wniosku o uzgodnienie ZUD</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_UZG_ZUD"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23949-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG_ZUD"
+                           id="ociag_wsg84___d4e23950-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_UZG_ZUD"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG_ZUD/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Potwierdzenie zwrotnego pisma ze zgodą ZUD</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_ZLECENIE"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23957-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZLECENIE"
+                           id="ociag_wsg84___d4e23958-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_ZLECENIE"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZLECENIE/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Czy jest zlecenie</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_ZGL_ODB"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23966-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZGL_ODB"
+                           id="ociag_wsg84___d4e23967-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_ZGL_ODB"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZGL_ODB/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Relacja tworzona przez podwykonawcę jako zgłoszenie do odbioru=wykonanie</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_POM_GEOD"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23974-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_POM_GEOD"
+                           id="ociag_wsg84___d4e23975-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_POM_GEOD"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_POM_GEOD/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Stwierdzenie, że współrzędne obiektu został zaktualizowane oraz są powiązane do dokumentu z operatem</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_PROTOK_ODB"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e23982-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROTOK_ODB"
+                           id="ociag_wsg84___d4e23983-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_PROTOK_ODB"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROTOK_ODB/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Odebranie obiektu przez trójstronny dokument właściciel, wykonawca, inwestor</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+            </xs:sequence>
+         </xs:restriction>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="Rozdzielcza_rurociag_wsg84_DO_UZG_ZUD"
+               type="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_DO_UZG_ZUD"
+               id="ociag_wsg84___d4e23990-1_Rozdzielcz"/>
+   <xs:complexType name="Rozdzielcza_rurociag_wsg84_UZG_ZUD"
+                   id="ociag_wsg84___d4e23991-1_Rozdzielcz">
+      <xs:complexContent id="ociag_wsg84___d4e23992-1">
+         <xs:restriction base="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_DO_UZG_ZUD">
+            <xs:sequence id="ociag_wsg84___d4e23994-1">
+               <xs:element name="ID" type="xs:int" id="ociag_wsg84___d4e23995-1_ID"/>
+               <xs:element name="the_geom"
+                           type="gml:AbstractFeatureType"
+                           id="ociag_wsg84___d4e23996-1_the_geom"/>
+               <xs:element name="A_STATUS_INFO"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e23997-1_A_STATUS_I"/>
+               <xs:element name="opis" type="xs:string" id="ociag_wsg84___d4e23998-1_opis">
+                  <xs:annotation>
+                     <xs:documentation>To zmiany na ID_ZASOBU pod katem kosztorysowym</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_ZASOB"
+                           type="xs:int"
+                           id="ociag_wsg84___d4e24002-1_ID_ZASOB"/>
+               <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
+                           id="ociag_wsg84___d4e24003-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_ZASOB"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="Dlugosc"
+                           type="xs:double"
+                           id="ociag_wsg84___d4e24008-1_Dlugosc"/>
+               <xs:element name="Powierzchnia"
+                           type="xs:double"
+                           id="ociag_wsg84___d4e24009-1_Powierzchn"/>
+               <xs:element name="L_APPOITMENT_USER"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e24010-1_L_APPOITME"/>
+               <xs:element ref="SystemObjects__x3A__AccessOwner:L_APPOITMENT_USER"
+                           id="ociag_wsg84___d4e24011-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="L_APPOITMENT_USER"
+                                                         system_cache__appinfo:xpath="SystemObjects__x3A__AccessOwner:L_APPOITMENT_USER/name"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="A_CLASSIFIED"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e24016-1_A_CLASSIFI"/>
+               <xs:element ref="SystemObjects__x3A__AccessGroup:A_CLASSIFIED"
+                           id="ociag_wsg84___d4e24018-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="A_CLASSIFIED"
+                                                         system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:A_CLASSIFIED/name"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="A_ADM_COMPANY"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e24023-1_A_ADM_COMP"/>
+               <xs:element ref="SystemObjects__x3A__AccessGroup:A_ADM_COMPANY"
+                           id="ociag_wsg84___d4e24024-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="A_ADM_COMPANY"
+                                                         system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:A_ADM_COMPANY/name"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_PROJECT"
+                           type="xs:int"
+                           id="ociag_wsg84___d4e24029-1_ID_PROJECT"/>
+               <xs:element name="ID_KORESP_PROJEKT"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e24030-1_ID_KORESP_"/>
+               <xs:element ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT"
+                           id="ociag_wsg84___d4e24031-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_PROJEKT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Obiekt został zatwierdzony, że jest projektowy i zgodny z zasadami projektowania</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_PROJEKT_WYK"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e24038-1_ID_KORESP_"/>
+               <xs:element minOccurs="1"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT_WYK"
+                           id="ociag_wsg84___d4e24039-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_PROJEKT_WYK"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT_WYK/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Obiekt został zatwierdzony, że jest projektowy i zgodny z zasadami projektowania - proj wykonawczy</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_DO_REALIZ"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e24046-1_ID_KORESP_"/>
+               <xs:element ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_REALIZ"
+                           id="ociag_wsg84___d4e24047-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_DO_REALIZ"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_REALIZ/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Czy jest decyzja na realizacje</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_OFFER"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e24054-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_OFFER"
+                           id="ociag_wsg84___d4e24056-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_OFFER"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_OFFER/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Czy jest oferta na obiekt</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_DO_UZG"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e24063-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG"
+                           id="ociag_wsg84___d4e24064-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_DO_UZG"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Powiązanie do wysłanego pisma o zgodę na usytuowanie obiektu, do właściciela nieruchomości</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_UZG"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e24071-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG"
+                           id="ociag_wsg84___d4e24072-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_UZG"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Fakt wyrażenia zgody na usytuowanie sieci od właściciela. Brak zgody powinien być wiązany z relacją dla wysyłania wniosków o zgody</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_DO_UZG_ZUD"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e24079-1_ID_KORESP_"/>
+               <xs:element minOccurs="1"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG_ZUD"
+                           id="ociag_wsg84___d4e24080-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_DO_UZG_ZUD"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG_ZUD/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Potwierdzenie nadania wniosku o uzgodnienie ZUD</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_UZG_ZUD"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e24087-1_ID_KORESP_"/>
+               <xs:element minOccurs="1"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG_ZUD"
+                           id="ociag_wsg84___d4e24088-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_UZG_ZUD"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG_ZUD/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Potwierdzenie zwrotnego pisma ze zgodą ZUD</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_ZLECENIE"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e24095-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZLECENIE"
+                           id="ociag_wsg84___d4e24096-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_ZLECENIE"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZLECENIE/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Czy jest zlecenie</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_ZGL_ODB"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e24104-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZGL_ODB"
+                           id="ociag_wsg84___d4e24105-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_ZGL_ODB"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZGL_ODB/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Relacja tworzona przez podwykonawcę jako zgłoszenie do odbioru=wykonanie</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_POM_GEOD"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e24112-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_POM_GEOD"
+                           id="ociag_wsg84___d4e24113-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_POM_GEOD"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_POM_GEOD/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Stwierdzenie, że współrzędne obiektu został zaktualizowane oraz są powiązane do dokumentu z operatem</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_PROTOK_ODB"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e24120-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROTOK_ODB"
+                           id="ociag_wsg84___d4e24121-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_PROTOK_ODB"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROTOK_ODB/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Odebranie obiektu przez trójstronny dokument właściciel, wykonawca, inwestor</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+            </xs:sequence>
+         </xs:restriction>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="Rozdzielcza_rurociag_wsg84_UZG_ZUD"
+               type="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_UZG_ZUD"
+               id="ociag_wsg84___d4e24128-1_Rozdzielcz"/>
+   <xs:complexType name="Rozdzielcza_rurociag_wsg84_ZLECENIE"
+                   id="ociag_wsg84___d4e24129-1_Rozdzielcz">
+      <xs:annotation>
+         <xs:documentation>Popdisano zlecenie na realizacje danego obiektu</xs:documentation>
+      </xs:annotation>
+      <xs:complexContent id="ociag_wsg84___d4e24133-1">
+         <xs:restriction base="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_OFFER">
+            <xs:sequence id="ociag_wsg84___d4e24135-1">
+               <xs:element name="ID" type="xs:int" id="ociag_wsg84___d4e24136-1_ID"/>
+               <xs:element name="the_geom"
+                           type="gml:AbstractFeatureType"
+                           id="ociag_wsg84___d4e24137-1_the_geom"/>
+               <xs:element name="A_STATUS_INFO"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e24138-1_A_STATUS_I"/>
+               <xs:element name="opis" type="xs:string" id="ociag_wsg84___d4e24139-1_opis">
+                  <xs:annotation>
+                     <xs:documentation>To zmiany na ID_ZASOBU pod katem kosztorysowym</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_ZASOB"
+                           type="xs:int"
+                           id="ociag_wsg84___d4e24143-1_ID_ZASOB"/>
+               <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
+                           id="ociag_wsg84___d4e24144-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_ZASOB"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="Dlugosc"
+                           type="xs:double"
+                           id="ociag_wsg84___d4e24149-1_Dlugosc"/>
+               <xs:element name="Powierzchnia"
+                           type="xs:double"
+                           id="ociag_wsg84___d4e24150-1_Powierzchn"/>
+               <xs:element name="L_APPOITMENT_USER"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e24151-1_L_APPOITME"/>
+               <xs:element ref="SystemObjects__x3A__AccessOwner:L_APPOITMENT_USER"
+                           id="ociag_wsg84___d4e24152-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="L_APPOITMENT_USER"
+                                                         system_cache__appinfo:xpath="SystemObjects__x3A__AccessOwner:L_APPOITMENT_USER/name"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="A_CLASSIFIED"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e24157-1_A_CLASSIFI"/>
+               <xs:element ref="SystemObjects__x3A__AccessGroup:A_CLASSIFIED"
+                           id="ociag_wsg84___d4e24159-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="A_CLASSIFIED"
+                                                         system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:A_CLASSIFIED/name"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="A_ADM_COMPANY"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e24164-1_A_ADM_COMP"/>
+               <xs:element ref="SystemObjects__x3A__AccessGroup:A_ADM_COMPANY"
+                           id="ociag_wsg84___d4e24165-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="A_ADM_COMPANY"
+                                                         system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:A_ADM_COMPANY/name"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_PROJECT"
+                           type="xs:int"
+                           id="ociag_wsg84___d4e24170-1_ID_PROJECT"/>
+               <xs:element name="ID_KORESP_PROJEKT"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e24171-1_ID_KORESP_"/>
+               <xs:element maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT"
+                           id="ociag_wsg84___d4e24172-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_PROJEKT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Obiekt został zatwierdzony, że jest projektowy i zgodny z zasadami projektowania</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_PROJEKT_WYK"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e24179-1_ID_KORESP_"/>
+               <xs:element minOccurs="1"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT_WYK"
+                           id="ociag_wsg84___d4e24180-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_PROJEKT_WYK"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT_WYK/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Obiekt został zatwierdzony, że jest projektowy i zgodny z zasadami projektowania - proj wykonawczy</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_DO_REALIZ"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e24187-1_ID_KORESP_"/>
+               <xs:element ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_REALIZ"
+                           id="ociag_wsg84___d4e24188-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_DO_REALIZ"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_REALIZ/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Czy jest decyzja na realizacje</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_OFFER"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e24195-1_ID_KORESP_"/>
+               <xs:element minOccurs="1"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_OFFER"
+                           id="ociag_wsg84___d4e24197-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_OFFER"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_OFFER/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Czy jest oferta na obiekt</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_DO_UZG"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e24204-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG"
+                           id="ociag_wsg84___d4e24205-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_DO_UZG"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Powiązanie do wysłanego pisma o zgodę na usytuowanie obiektu, do właściciela nieruchomości</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_UZG"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e24212-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG"
+                           id="ociag_wsg84___d4e24213-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_UZG"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Fakt wyrażenia zgody na usytuowanie sieci od właściciela. Brak zgody powinien być wiązany z relacją dla wysyłania wniosków o zgody</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_DO_UZG_ZUD"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e24220-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG_ZUD"
+                           id="ociag_wsg84___d4e24221-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_DO_UZG_ZUD"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG_ZUD/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Potwierdzenie nadania wniosku o uzgodnienie ZUD</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_UZG_ZUD"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e24228-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG_ZUD"
+                           id="ociag_wsg84___d4e24229-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_UZG_ZUD"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG_ZUD/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Potwierdzenie zwrotnego pisma ze zgodą ZUD</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_ZLECENIE"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e24236-1_ID_KORESP_"/>
+               <xs:element ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZLECENIE"
+                           id="ociag_wsg84___d4e24237-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_ZLECENIE"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZLECENIE/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Czy jest zlecenie</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_ZGL_ODB"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e24245-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZGL_ODB"
+                           id="ociag_wsg84___d4e24246-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_ZGL_ODB"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZGL_ODB/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Relacja tworzona przez podwykonawcę jako zgłoszenie do odbioru=wykonanie</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_POM_GEOD"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e24253-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_POM_GEOD"
+                           id="ociag_wsg84___d4e24254-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_POM_GEOD"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_POM_GEOD/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Stwierdzenie, że współrzędne obiektu został zaktualizowane oraz są powiązane do dokumentu z operatem</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_PROTOK_ODB"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e24261-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROTOK_ODB"
+                           id="ociag_wsg84___d4e24262-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_PROTOK_ODB"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROTOK_ODB/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+            </xs:sequence>
+         </xs:restriction>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="Rozdzielcza_rurociag_wsg84_ZLECENIE"
+               type="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_ZLECENIE"
+               id="ociag_wsg84___d4e24267-1_Rozdzielcz"/>
+   <xs:complexType name="Rozdzielcza_rurociag_wsg84_ZGL_ODB"
+                   id="ociag_wsg84___d4e24268-1_Rozdzielcz">
+      <xs:annotation>
+         <xs:documentation>Wykonawca zgłasza wykonanie danego elementu do jego odbioru</xs:documentation>
+      </xs:annotation>
+      <xs:complexContent id="ociag_wsg84___d4e24272-1">
+         <xs:restriction base="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_ZLECENIE">
+            <xs:sequence id="ociag_wsg84___d4e24274-1">
+               <xs:element name="ID" type="xs:int" id="ociag_wsg84___d4e24275-1_ID"/>
+               <xs:element name="the_geom"
+                           type="gml:AbstractFeatureType"
+                           id="ociag_wsg84___d4e24276-1_the_geom"/>
+               <xs:element name="A_STATUS_INFO"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e24277-1_A_STATUS_I"/>
+               <xs:element name="opis" type="xs:string" id="ociag_wsg84___d4e24278-1_opis">
+                  <xs:annotation>
+                     <xs:documentation>To zmiany na ID_ZASOBU pod katem kosztorysowym</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_ZASOB"
+                           type="xs:int"
+                           id="ociag_wsg84___d4e24282-1_ID_ZASOB"/>
+               <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
+                           id="ociag_wsg84___d4e24283-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_ZASOB"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="Dlugosc"
+                           type="xs:double"
+                           id="ociag_wsg84___d4e24288-1_Dlugosc"/>
+               <xs:element name="Powierzchnia"
+                           type="xs:double"
+                           id="ociag_wsg84___d4e24289-1_Powierzchn"/>
+               <xs:element name="L_APPOITMENT_USER"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e24290-1_L_APPOITME"/>
+               <xs:element ref="SystemObjects__x3A__AccessOwner:L_APPOITMENT_USER"
+                           id="ociag_wsg84___d4e24291-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="L_APPOITMENT_USER"
+                                                         system_cache__appinfo:xpath="SystemObjects__x3A__AccessOwner:L_APPOITMENT_USER/name"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="A_CLASSIFIED"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e24296-1_A_CLASSIFI"/>
+               <xs:element ref="SystemObjects__x3A__AccessGroup:A_CLASSIFIED"
+                           id="ociag_wsg84___d4e24298-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="A_CLASSIFIED"
+                                                         system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:A_CLASSIFIED/name"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="A_ADM_COMPANY"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e24303-1_A_ADM_COMP"/>
+               <xs:element ref="SystemObjects__x3A__AccessGroup:A_ADM_COMPANY"
+                           id="ociag_wsg84___d4e24304-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="A_ADM_COMPANY"
+                                                         system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:A_ADM_COMPANY/name"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_PROJECT"
+                           type="xs:int"
+                           id="ociag_wsg84___d4e24309-1_ID_PROJECT"/>
+               <xs:element name="ID_KORESP_PROJEKT"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e24310-1_ID_KORESP_"/>
+               <xs:element maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT"
+                           id="ociag_wsg84___d4e24311-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_PROJEKT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Obiekt został zatwierdzony, że jest projektowy i zgodny z zasadami projektowania</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_PROJEKT_WYK"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e24318-1_ID_KORESP_"/>
+               <xs:element minOccurs="1"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT_WYK"
+                           id="ociag_wsg84___d4e24319-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_PROJEKT_WYK"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT_WYK/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Obiekt został zatwierdzony, że jest projektowy i zgodny z zasadami projektowania - proj wykonawczy</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_DO_REALIZ"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e24326-1_ID_KORESP_"/>
+               <xs:element ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_REALIZ"
+                           id="ociag_wsg84___d4e24327-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_DO_REALIZ"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_REALIZ/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Czy jest decyzja na realizacje</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_OFFER"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e24334-1_ID_KORESP_"/>
+               <xs:element minOccurs="1"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_OFFER"
+                           id="ociag_wsg84___d4e24336-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_OFFER"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_OFFER/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Czy jest oferta na obiekt</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_DO_UZG"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e24343-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG"
+                           id="ociag_wsg84___d4e24344-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_DO_UZG"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Powiązanie do wysłanego pisma o zgodę na usytuowanie obiektu, do właściciela nieruchomości</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_UZG"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e24351-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG"
+                           id="ociag_wsg84___d4e24352-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_UZG"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Fakt wyrażenia zgody na usytuowanie sieci od właściciela. Brak zgody powinien być wiązany z relacją dla wysyłania wniosków o zgody</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_DO_UZG_ZUD"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e24359-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG_ZUD"
+                           id="ociag_wsg84___d4e24360-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_DO_UZG_ZUD"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG_ZUD/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Potwierdzenie nadania wniosku o uzgodnienie ZUD</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_UZG_ZUD"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e24367-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG_ZUD"
+                           id="ociag_wsg84___d4e24368-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_UZG_ZUD"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG_ZUD/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Potwierdzenie zwrotnego pisma ze zgodą ZUD</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_ZLECENIE"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e24375-1_ID_KORESP_"/>
+               <xs:element ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZLECENIE"
+                           id="ociag_wsg84___d4e24376-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_ZLECENIE"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZLECENIE/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Czy jest zlecenie</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_ZGL_ODB"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e24384-1_ID_KORESP_"/>
+               <xs:element minOccurs="1"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZGL_ODB"
+                           id="ociag_wsg84___d4e24385-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_ZGL_ODB"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZGL_ODB/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Relacja tworzona przez podwykonawcę jako zgłoszenie do odbioru=wykonanie</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_POM_GEOD"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e24392-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_POM_GEOD"
+                           id="ociag_wsg84___d4e24393-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_POM_GEOD"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_POM_GEOD/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Stwierdzenie, że współrzędne obiektu został zaktualizowane oraz są powiązane do dokumentu z operatem</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_PROTOK_ODB"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e24400-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROTOK_ODB"
+                           id="ociag_wsg84___d4e24401-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_PROTOK_ODB"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROTOK_ODB/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Odebranie obiektu przez trójstronny dokument właściciel, wykonawca, inwestor</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+            </xs:sequence>
+         </xs:restriction>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="Rozdzielcza_rurociag_wsg84_ZGL_ODB"
+               type="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_ZGL_ODB"
+               id="ociag_wsg84___d4e24408-1_Rozdzielcz"/>
+   <xs:complexType name="Rozdzielcza_rurociag_wsg84_POM_GEOD"
+                   id="ociag_wsg84___d4e24409-1_Rozdzielcz">
+      <xs:complexContent id="ociag_wsg84___d4e24410-1">
+         <xs:restriction base="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_ZGL_ODB">
+            <xs:sequence id="ociag_wsg84___d4e24412-1">
+               <xs:element name="ID" type="xs:int" id="ociag_wsg84___d4e24413-1_ID"/>
+               <xs:element name="the_geom"
+                           type="gml:AbstractFeatureType"
+                           id="ociag_wsg84___d4e24414-1_the_geom"/>
+               <xs:element name="A_STATUS_INFO"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e24415-1_A_STATUS_I"/>
+               <xs:element name="opis" type="xs:string" id="ociag_wsg84___d4e24416-1_opis">
+                  <xs:annotation>
+                     <xs:documentation>To zmiany na ID_ZASOBU pod katem kosztorysowym</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_ZASOB"
+                           type="xs:int"
+                           id="ociag_wsg84___d4e24420-1_ID_ZASOB"/>
+               <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
+                           id="ociag_wsg84___d4e24421-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_ZASOB"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="Dlugosc"
+                           type="xs:double"
+                           id="ociag_wsg84___d4e24426-1_Dlugosc"/>
+               <xs:element name="Powierzchnia"
+                           type="xs:double"
+                           id="ociag_wsg84___d4e24427-1_Powierzchn"/>
+               <xs:element name="L_APPOITMENT_USER"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e24428-1_L_APPOITME"/>
+               <xs:element ref="SystemObjects__x3A__AccessOwner:L_APPOITMENT_USER"
+                           id="ociag_wsg84___d4e24429-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="L_APPOITMENT_USER"
+                                                         system_cache__appinfo:xpath="SystemObjects__x3A__AccessOwner:L_APPOITMENT_USER/name"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="A_CLASSIFIED"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e24434-1_A_CLASSIFI"/>
+               <xs:element ref="SystemObjects__x3A__AccessGroup:A_CLASSIFIED"
+                           id="ociag_wsg84___d4e24436-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="A_CLASSIFIED"
+                                                         system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:A_CLASSIFIED/name"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="A_ADM_COMPANY"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e24441-1_A_ADM_COMP"/>
+               <xs:element ref="SystemObjects__x3A__AccessGroup:A_ADM_COMPANY"
+                           id="ociag_wsg84___d4e24442-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="A_ADM_COMPANY"
+                                                         system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:A_ADM_COMPANY/name"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_PROJECT"
+                           type="xs:int"
+                           id="ociag_wsg84___d4e24447-1_ID_PROJECT"/>
+               <xs:element name="ID_KORESP_PROJEKT"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e24448-1_ID_KORESP_"/>
+               <xs:element maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT"
+                           id="ociag_wsg84___d4e24449-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_PROJEKT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Obiekt został zatwierdzony, że jest projektowy i zgodny z zasadami projektowania</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_PROJEKT_WYK"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e24456-1_ID_KORESP_"/>
+               <xs:element minOccurs="1"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT_WYK"
+                           id="ociag_wsg84___d4e24457-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_PROJEKT_WYK"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT_WYK/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Obiekt został zatwierdzony, że jest projektowy i zgodny z zasadami projektowania - proj wykonawczy</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_DO_REALIZ"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e24464-1_ID_KORESP_"/>
+               <xs:element ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_REALIZ"
+                           id="ociag_wsg84___d4e24465-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_DO_REALIZ"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_REALIZ/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Czy jest decyzja na realizacje</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_OFFER"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e24472-1_ID_KORESP_"/>
+               <xs:element minOccurs="1"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_OFFER"
+                           id="ociag_wsg84___d4e24474-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_OFFER"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_OFFER/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Czy jest oferta na obiekt</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_DO_UZG"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e24481-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG"
+                           id="ociag_wsg84___d4e24482-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_DO_UZG"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Powiązanie do wysłanego pisma o zgodę na usytuowanie obiektu, do właściciela nieruchomości</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_UZG"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e24489-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG"
+                           id="ociag_wsg84___d4e24490-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_UZG"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Fakt wyrażenia zgody na usytuowanie sieci od właściciela. Brak zgody powinien być wiązany z relacją dla wysyłania wniosków o zgody</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_DO_UZG_ZUD"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e24497-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG_ZUD"
+                           id="ociag_wsg84___d4e24498-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_DO_UZG_ZUD"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG_ZUD/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Potwierdzenie nadania wniosku o uzgodnienie ZUD</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_UZG_ZUD"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e24505-1_ID_KORESP_"/>
+               <xs:element ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG_ZUD"
+                           id="ociag_wsg84___d4e24506-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_UZG_ZUD"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG_ZUD/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Potwierdzenie zwrotnego pisma ze zgodą ZUD</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_ZLECENIE"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e24513-1_ID_KORESP_"/>
+               <xs:element ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZLECENIE"
+                           id="ociag_wsg84___d4e24514-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_ZLECENIE"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZLECENIE/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Czy jest zlecenie</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_ZGL_ODB"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e24522-1_ID_KORESP_"/>
+               <xs:element minOccurs="1"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZGL_ODB"
+                           id="ociag_wsg84___d4e24523-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_ZGL_ODB"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZGL_ODB/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Relacja tworzona przez podwykonawcę jako zgłoszenie do odbioru=wykonanie</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_POM_GEOD"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e24530-1_ID_KORESP_"/>
+               <xs:element minOccurs="1"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_POM_GEOD"
+                           id="ociag_wsg84___d4e24531-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_POM_GEOD"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_POM_GEOD/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Stwierdzenie, że współrzędne obiektu został zaktualizowane oraz są powiązane do dokumentu z operatem</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_PROTOK_ODB"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e24538-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROTOK_ODB"
+                           id="ociag_wsg84___d4e24539-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_PROTOK_ODB"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROTOK_ODB/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Odebranie obiektu przez trójstronny dokument właściciel, wykonawca, inwestor</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+            </xs:sequence>
+         </xs:restriction>
+      </xs:complexContent>
+   </xs:complexType>
+   <xs:element name="Rozdzielcza_rurociag_wsg84_POM_GEOD"
+               type="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_POM_GEOD"
+               id="ociag_wsg84___d4e24546-1_Rozdzielcz"/>
+   <xs:complexType name="Rozdzielcza_rurociag_wsg84_PROTOK_ODB"
+                   id="ociag_wsg84___d4e24548-1_Rozdzielcz">
+      <xs:annotation>
+         <xs:documentation>Podpisany protokol odbioru z podwykonawca oraz wlascicielem
+</xs:documentation>
+      </xs:annotation>
+      <xs:complexContent id="ociag_wsg84___d4e24552-1">
+         <xs:restriction base="default_db__x3A__Rozdzielcza_rurociag_wsg84:Rozdzielcza_rurociag_wsg84_ZGL_ODB">
+            <xs:sequence id="ociag_wsg84___d4e24554-1">
+               <xs:element name="ID" type="xs:int" id="ociag_wsg84___d4e24555-1_ID"/>
+               <xs:element name="the_geom"
+                           type="gml:AbstractFeatureType"
+                           id="ociag_wsg84___d4e24556-1_the_geom"/>
+               <xs:element name="A_STATUS_INFO"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e24557-1_A_STATUS_I"/>
+               <xs:element name="opis" type="xs:string" id="ociag_wsg84___d4e24558-1_opis">
+                  <xs:annotation>
+                     <xs:documentation>To zmiany na ID_ZASOBU pod katem kosztorysowym</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_ZASOB"
+                           type="xs:int"
+                           id="ociag_wsg84___d4e24562-1_ID_ZASOB"/>
+               <xs:element ref="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW"
+                           id="ociag_wsg84___d4e24563-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_ZASOB"
+                                                         system_cache__appinfo:xpath="default_db__x3A__CRM_LISTA_ZASOBOW:CRM_LISTA_ZASOBOW/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="Dlugosc"
+                           type="xs:double"
+                           id="ociag_wsg84___d4e24568-1_Dlugosc"/>
+               <xs:element name="Powierzchnia"
+                           type="xs:double"
+                           id="ociag_wsg84___d4e24569-1_Powierzchn"/>
+               <xs:element name="L_APPOITMENT_USER"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e24570-1_L_APPOITME"/>
+               <xs:element ref="SystemObjects__x3A__AccessOwner:L_APPOITMENT_USER"
+                           id="ociag_wsg84___d4e24571-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="L_APPOITMENT_USER"
+                                                         system_cache__appinfo:xpath="SystemObjects__x3A__AccessOwner:L_APPOITMENT_USER/name"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="A_CLASSIFIED"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e24576-1_A_CLASSIFI"/>
+               <xs:element ref="SystemObjects__x3A__AccessGroup:A_CLASSIFIED"
+                           id="ociag_wsg84___d4e24578-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="A_CLASSIFIED"
+                                                         system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:A_CLASSIFIED/name"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="A_ADM_COMPANY"
+                           type="xs:string"
+                           id="ociag_wsg84___d4e24583-1_A_ADM_COMP"/>
+               <xs:element ref="SystemObjects__x3A__AccessGroup:A_ADM_COMPANY"
+                           id="ociag_wsg84___d4e24584-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="A_ADM_COMPANY"
+                                                         system_cache__appinfo:xpath="SystemObjects__x3A__AccessGroup:A_ADM_COMPANY/name"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_PROJECT"
+                           type="xs:int"
+                           id="ociag_wsg84___d4e24589-1_ID_PROJECT"/>
+               <xs:element name="ID_KORESP_PROJEKT"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e24590-1_ID_KORESP_"/>
+               <xs:element maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT"
+                           id="ociag_wsg84___d4e24591-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_PROJEKT"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Obiekt został zatwierdzony, że jest projektowy i zgodny z zasadami projektowania</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_PROJEKT_WYK"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e24598-1_ID_KORESP_"/>
+               <xs:element minOccurs="1"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT_WYK"
+                           id="ociag_wsg84___d4e24599-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_PROJEKT_WYK"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROJEKT_WYK/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Obiekt został zatwierdzony, że jest projektowy i zgodny z zasadami projektowania - proj wykonawczy</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_DO_REALIZ"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e24606-1_ID_KORESP_"/>
+               <xs:element ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_REALIZ"
+                           id="ociag_wsg84___d4e24607-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_DO_REALIZ"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_REALIZ/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Czy jest decyzja na realizacje</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_OFFER"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e24614-1_ID_KORESP_"/>
+               <xs:element minOccurs="1"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_OFFER"
+                           id="ociag_wsg84___d4e24616-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_OFFER"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_OFFER/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Czy jest oferta na obiekt</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_DO_UZG"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e24623-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG"
+                           id="ociag_wsg84___d4e24624-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_DO_UZG"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Powiązanie do wysłanego pisma o zgodę na usytuowanie obiektu, do właściciela nieruchomości</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_UZG"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e24631-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG"
+                           id="ociag_wsg84___d4e24632-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_UZG"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Fakt wyrażenia zgody na usytuowanie sieci od właściciela. Brak zgody powinien być wiązany z relacją dla wysyłania wniosków o zgody</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_DO_UZG_ZUD"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e24639-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           maxOccurs="unbounded"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG_ZUD"
+                           id="ociag_wsg84___d4e24640-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_DO_UZG_ZUD"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_DO_UZG_ZUD/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Potwierdzenie nadania wniosku o uzgodnienie ZUD</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_UZG_ZUD"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e24647-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG_ZUD"
+                           id="ociag_wsg84___d4e24648-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_UZG_ZUD"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_UZG_ZUD/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Potwierdzenie zwrotnego pisma ze zgodą ZUD</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_ZLECENIE"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e24655-1_ID_KORESP_"/>
+               <xs:element ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZLECENIE"
+                           id="ociag_wsg84___d4e24656-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_ZLECENIE"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZLECENIE/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Czy jest zlecenie</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_ZGL_ODB"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e24664-1_ID_KORESP_"/>
+               <xs:element minOccurs="1"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZGL_ODB"
+                           id="ociag_wsg84___d4e24665-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_ZGL_ODB"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_ZGL_ODB/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Relacja tworzona przez podwykonawcę jako zgłoszenie do odbioru=wykonanie</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_POM_GEOD"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP"
+                           id="ociag_wsg84___d4e24672-1_ID_KORESP_"/>
+               <xs:element minOccurs="0"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_POM_GEOD"
+                           id="ociag_wsg84___d4e24673-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_POM_GEOD"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_POM_GEOD/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Stwierdzenie, że współrzędne obiektu został zaktualizowane oraz są powiązane do dokumentu z operatem</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+               <xs:element name="ID_KORESP_PROTOK_ODB"
+                           type="default_db__x3A__Rozdzielcza_rurociag_wsg84:ID_KORESP_SET"
+                           id="ociag_wsg84___d4e24680-1_ID_KORESP_"/>
+               <xs:element minOccurs="1"
+                           ref="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROTOK_ODB"
+                           id="ociag_wsg84___d4e24681-1">
+                  <xs:annotation>
+                     <xs:appinfo>
+                        <system_cache__appinfo:flat_relation_cache>
+                           <system_cache__appinfo:source system_cache__appinfo:name="ID_KORESP_PROTOK_ODB"
+                                                         system_cache__appinfo:xpath="default_db__x3A__IN7_DZIENNIK_KORESP:ID_KORESP_PROTOK_ODB/ID"/>
+                        </system_cache__appinfo:flat_relation_cache>
+                     </xs:appinfo>
+                     <xs:documentation>Odebranie obiektu przez trójstronny dokument właściciel, wykonawca, inwestor</xs:documentation>
+                  </xs:annotation>
+               </xs:element>
+            </xs:sequence>
+         </xs:restriction>
+      </xs:complexContent>
+   </xs:complexType>
+</xs:schema>