Legend: dodane   usunięte   zmienione   przeniesione z   przeniesione do   pomijane

File in editor : 1.xsd File to compare : 2.xsd
first
<?xml version="1.0" encoding="UTF-8" ?><?xml version="1.0" encoding="UTF-8" ?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
        xmlns:gml="http://www.opengis.net/gml/3.2"
        xmlns:gco="http://www.isotc211.org/2005/gco"
        xmlns:gmd="http://www.isotc211.org/2005/gmd"
        xmlns:bt="urn:gugik:specyfikacje:gmlas:modelPodstawowy:1.0"
        targetNamespace="urn:gugik:specyfikacje:gmlas:modelPodstawowy:1.0"
        elementFormDefault="qualified"
        attributeFormDefault="unqualified">
<schema xmlns="http://www.w3.org/2001/XMLSchema"
        xmlns:gml="http://www.opengis.net/gml/3.2"
        xmlns:gco="http://www.isotc211.org/2005/gco"
        xmlns:gmd="http://www.isotc211.org/2005/gmd"
        xmlns:bt="urn:gugik:specyfikacje:gmlas:modelPodstawowy:1.0"
        targetNamespace="urn:gugik:specyfikacje:gmlas:modelPodstawowy:1.0"
        elementFormDefault="qualified"
        attributeFormDefault="unqualified">
<import namespace="http://www.opengis.net/gml/3.2"
        schemaLocation="http://schemas.opengis.net/gml/3.2.1/gml.xsd"/>
<import namespace="http://www.opengis.net/gml/3.2"
        schemaLocation="http://schemas.opengis.net/gml/3.2.1/gml.xsd"/>
<import namespace="http://www.isotc211.org/2005/gmd"
        schemaLocation="http://schemas.opengis.net/iso/19139/20070417/gmd/gmd.xsd"/>
<import namespace="http://www.isotc211.org/2005/gmd"
        schemaLocation="http://schemas.opengis.net/iso/19139/20070417/gmd/gmd.xsd"/>
<import namespace="http://www.isotc211.org/2005/gmd"
        schemaLocation="http://schemas.opengis.net/iso/19139/20070417/gmd/citation.xsd"/>
<import namespace="http://www.isotc211.org/2005/gmd"
        schemaLocation="http://schemas.opengis.net/iso/19139/20070417/gmd/citation.xsd"/>
<import namespace="http://www.isotc211.org/2005/gco"
        schemaLocation="http://schemas.opengis.net/iso/19139/20070417/gco/gco.xsd"/>
<import namespace="http://www.isotc211.org/2005/gco"
        schemaLocation="http://schemas.opengis.net/iso/19139/20070417/gco/gco.xsd"/>
<!--======================================--><!--======================================-->
<element name="BT_ObiektPrzestrzenny"
         type="bt:BT_ObiektPrzestrzennyType"
         abstract="true"
         substitutionGroup="gml:AbstractFeature"/>
<element name="BT_ObiektPrzestrzenny"
         type="bt:BT_ObiektPrzestrzennyType"
         abstract="true"
         substitutionGroup="gml:AbstractFeature"/>
<complexType name="BT_ObiektPrzestrzennyType"
             abstract="true">
<complexType name="BT_ObiektPrzestrzennyType"
             abstract="true">
<complexContent><complexContent>
<extension base="gml:AbstractFeatureType"><extension base="gml:AbstractFeatureType">
<sequence><sequence>
<element name="zbior"
         minOccurs="0"
         maxOccurs="unbounded">
<element name="zbior"
         minOccurs="0"
         maxOccurs="unbounded">
<annotation><annotation>
<appinfo><appinfo>
<gml:targetElement><gml:targetElement>
bt:BT_ZbiorDanychPrzestrzennychbt:BT_ZbiorDanychPrzestrzennych
</gml:targetElement></gml:targetElement>
</appinfo></appinfo>
</annotation></annotation>
<complexType><complexType>
<complexContent><complexContent>
<extension base="gml:ReferenceType"><extension base="gml:ReferenceType">
<attribute ref="gco:nilReason"/><attribute ref="gco:nilReason"/>
</extension></extension>
</complexContent></complexContent>
</complexType></complexType>
</element></element>
</sequence></sequence>
</extension></extension>
</complexContent></complexContent>
</complexType></complexType>
<complexType name="BT_ObiektPrzestrzennyPropertyType"><complexType name="BT_ObiektPrzestrzennyPropertyType">
<sequence minOccurs="0"><sequence minOccurs="0">
<element ref="bt:BT_ObiektPrzestrzenny"/><element ref="bt:BT_ObiektPrzestrzenny"/>
</sequence></sequence>
<attributeGroup ref="gml:AssociationAttributeGroup"/><attributeGroup ref="gml:AssociationAttributeGroup"/>
<attributeGroup ref="gml:OwnershipAttributeGroup"/><attributeGroup ref="gml:OwnershipAttributeGroup"/>
</complexType></complexType>
<!--======================================--><!--======================================-->
<element name="BT_ReferencyjnyObiektPrzestrzenny"
         type="bt:BT_ReferencyjnyObiektPrzestrzennyType"
         abstract="true"
         substitutionGroup="bt:BT_ObiektPrzestrzenny"/>
<element name="BT_ReferencyjnyObiektPrzestrzenny"
         type="bt:BT_ReferencyjnyObiektPrzestrzennyType"
         abstract="true"
         substitutionGroup="bt:BT_ObiektPrzestrzenny"/>
<complexType name="BT_ReferencyjnyObiektPrzestrzennyType"
             abstract="true">
<complexType name="BT_ReferencyjnyObiektPrzestrzennyType"
             abstract="true">
<complexContent><complexContent>
<extension base="bt:BT_ObiektPrzestrzennyType"><extension base="bt:BT_ObiektPrzestrzennyType">
<sequence><sequence>
<element name="idIIP"
         type="bt:BT_IdentyfikatorPropertyType"/>
<element name="idIIP"
         type="bt:BT_IdentyfikatorPropertyType"/>
</sequence></sequence>
</extension></extension>
</complexContent></complexContent>
</complexType></complexType>
<complexType name="BT_ReferencyjnyObiektPrzestrzennyPropertyType"><complexType name="BT_ReferencyjnyObiektPrzestrzennyPropertyType">
<sequence minOccurs="0"><sequence minOccurs="0">
<element ref="bt:BT_ReferencyjnyObiektPrzestrzenny"/><element ref="bt:BT_ReferencyjnyObiektPrzestrzenny"/>
</sequence></sequence>
<attributeGroup ref="gml:AssociationAttributeGroup"/><attributeGroup ref="gml:AssociationAttributeGroup"/>
<attributeGroup ref="gml:OwnershipAttributeGroup"/><attributeGroup ref="gml:OwnershipAttributeGroup"/>
</complexType></complexType>
<!--======================================--><!--======================================-->
<element name="BT_ZbiorDanychPrzestrzennych"
         type="bt:BT_ZbiorDanychPrzestrzennychType"
         substitutionGroup="gml:AbstractFeature"/>
<element name="BT_ZbiorDanychPrzestrzennych"
         type="bt:BT_ZbiorDanychPrzestrzennychType"
         substitutionGroup="gml:AbstractFeature"/>
<complexType name="BT_ZbiorDanychPrzestrzennychType"><complexType name="BT_ZbiorDanychPrzestrzennychType">
<complexContent><complexContent>
<extension base="gml:AbstractFeatureType"><extension base="gml:AbstractFeatureType">
<sequence><sequence>
<element name="idIIP"
         type="bt:BT_IdentyfikatorPropertyType"/>
<element name="idIIP"
         type="bt:BT_IdentyfikatorPropertyType"/>
<element name="metadane"
         type="gmd:MD_Metadata_PropertyType">
<element name="metadane"
         type="gmd:MD_Metadata_PropertyType">
<annotation><annotation>
<appinfo><appinfo>
<gml:targetElement><gml:targetElement>
gmd:MD_Metadatagmd:MD_Metadata
</gml:targetElement></gml:targetElement>
</appinfo></appinfo>
</annotation></annotation>
</element></element>
<element name="obiekt"
         type="bt:BT_ObiektPrzestrzennyPropertyType"
         minOccurs="0"
         maxOccurs="unbounded">
<element name="obiekt"
         type="bt:BT_ObiektPrzestrzennyPropertyType"
         minOccurs="0"
         maxOccurs="unbounded">
<annotation><annotation>
<appinfo><appinfo>
<gml:targetElement><gml:targetElement>
bt:BT_ObiektPrzestrzennybt:BT_ObiektPrzestrzenny
</gml:targetElement></gml:targetElement>
</appinfo></appinfo>
</annotation></annotation>
</element></element>
</sequence></sequence>
</extension></extension>
</complexContent></complexContent>
</complexType></complexType>
<complexType name="BT_ZbiorDanychPrzestrzennychPropertyType"><complexType name="BT_ZbiorDanychPrzestrzennychPropertyType">
<sequence minOccurs="0"><sequence minOccurs="0">
<element ref="bt:BT_ZbiorDanychPrzestrzennych"/><element ref="bt:BT_ZbiorDanychPrzestrzennych"/>
</sequence></sequence>
<attributeGroup ref="gml:AssociationAttributeGroup"/><attributeGroup ref="gml:AssociationAttributeGroup"/>
<attributeGroup ref="gml:OwnershipAttributeGroup"/><attributeGroup ref="gml:OwnershipAttributeGroup"/>
</complexType></complexType>
<!--======================================--><!--======================================-->
<element name="BT_Identyfikator"
         type="bt:BT_IdentyfikatorType"
         substitutionGroup="gml:AbstractObject"/>
<element name="BT_Identyfikator"
         type="bt:BT_IdentyfikatorType"
         substitutionGroup="gml:AbstractObject"/>
<complexType name="BT_IdentyfikatorType"><complexType name="BT_IdentyfikatorType">
<sequence><sequence>
<element name="lokalnyId"
         type="string"/>
<element name="lokalnyId"
         type="string"/>
<element name="przestrzenNazw"
         type="string"/>
<element name="przestrzenNazw"
         type="string"/>
<element name="wersjaId"
         type="string"
         minOccurs="0"/>
<element name="wersjaId"
         type="string"
         minOccurs="0"/>
</sequence></sequence>
</complexType></complexType>
<complexType name="BT_IdentyfikatorPropertyType"><complexType name="BT_IdentyfikatorPropertyType">
<sequence><sequence>
<element ref="bt:BT_Identyfikator"/><element ref="bt:BT_Identyfikator"/>
</sequence></sequence>
<attributeGroup ref="gml:OwnershipAttributeGroup"/><attributeGroup ref="gml:OwnershipAttributeGroup"/>
</complexType></complexType>
<!--======================================--><!--======================================-->
<element name="BT_Zbior"
         type="bt:BT_ZbiorType"
         substitutionGroup="gml:AbstractObject"/>
<element name="BT_Zbior"
         type="bt:BT_ZbiorType"
         substitutionGroup="gml:AbstractObject"/>
<complexType name="BT_ZbiorType"><complexType name="BT_ZbiorType">
<sequence><sequence>
<element name="dataAktualizacji"
         type="date"
         minOccurs="0"/>
<element name="dataAktualizacji"
         type="date"
         minOccurs="0"/>
<element name="dataUtworzenia"
         type="date"/>
<element name="dataUtworzenia"
         type="date"/>
<element name="opis"
         type="string"
         minOccurs="0"/>
<element name="opis"
         type="string"
         minOccurs="0"/>
<element name="postacElektroniczna"
         type="boolean"/>
<element name="postacElektroniczna"
         type="boolean"/>
<element name="rozszerzenie"
         type="string"
         minOccurs="0"
         maxOccurs="unbounded"/>
<element name="rozszerzenie"
         type="string"
         minOccurs="0"
         maxOccurs="unbounded"/>
<element name="autor"
         type="gmd:CI_ResponsibleParty_PropertyType"
         maxOccurs="unbounded"/>
<element name="autor"
         type="gmd:CI_ResponsibleParty_PropertyType"
         maxOccurs="unbounded"/>
<element name="tytul"
         type="string"/>
<element name="tytul"
         type="string"/>
<element name="zasobSieciowy"
         type="gmd:CI_OnlineResource_PropertyType"
         minOccurs="0"
         maxOccurs="unbounded"/>
<element name="zasobSieciowy"
         type="gmd:CI_OnlineResource_PropertyType"
         minOccurs="0"
         maxOccurs="unbounded"/>
<element name="rodzajZawartosci"
         type="bt:BT_RodzajElementuType"
         maxOccurs="unbounded"/>
<element name="rodzajZawartosci"
         type="bt:BT_RodzajElementuType"
         maxOccurs="unbounded"/>
</sequence></sequence>
</complexType></complexType>
<complexType name="BT_ZbiorPropertyType"><complexType name="BT_ZbiorPropertyType">
<sequence><sequence>
<element ref="bt:BT_Zbior"/><element ref="bt:BT_Zbior"/>
</sequence></sequence>
<attributeGroup ref="gml:OwnershipAttributeGroup"/><attributeGroup ref="gml:OwnershipAttributeGroup"/>
</complexType></complexType>
<!--======================================--><!--======================================-->
<element name="BT_CyklZyciaInfo"
         type="bt:BT_CyklZyciaInfoType"
         substitutionGroup="gml:AbstractObject"/>
<element name="BT_CyklZyciaInfo"
         type="bt:BT_CyklZyciaInfoType"
         substitutionGroup="gml:AbstractObject"/>
<complexType name="BT_CyklZyciaInfoType"><complexType name="BT_CyklZyciaInfoType">
<sequence><sequence>
<element name="poczatekWersjiObiektu"
         type="dateTime"/>
<element name="poczatekWersjiObiektu"
         type="dateTime"/>
<element name="koniecWersjiObiektu"
         type="dateTime"
         minOccurs="0"/>
<element name="koniecWersjiObiektu"
         type="dateTime"
         minOccurs="0"/>
</sequence></sequence>
</complexType></complexType>
<complexType name="BT_CyklZyciaInfoPropertyType"><complexType name="BT_CyklZyciaInfoPropertyType">
<sequence><sequence>
<element ref="bt:BT_CyklZyciaInfo"/><element ref="bt:BT_CyklZyciaInfo"/>
</sequence></sequence>
<attributeGroup ref="gml:OwnershipAttributeGroup"/><attributeGroup ref="gml:OwnershipAttributeGroup"/>
</complexType></complexType>
<!--======================================--><!--======================================-->
<element name="BT_OperatTech"
         type="bt:BT_OperatTechType"
         substitutionGroup="gml:AbstractFeature"/>
<element name="BT_OperatTech"
         type="bt:BT_OperatTechType"
         substitutionGroup="gml:AbstractFeature"/>
<complexType name="BT_OperatTechType"><complexType name="BT_OperatTechType">
<complexContent><complexContent>
<extension base="gml:AbstractFeatureType"><extension base="gml:AbstractFeatureType">
<sequence><sequence>
<element name="dataUtworzenia"
         type="date"/>
<element name="dataUtworzenia"
         type="date"/>
<element name="idOpracowania"
         type="string"
         maxOccurs="unbounded"/>
<element name="idOpracowania"
         type="string"
         maxOccurs="unbounded"/>
<element name="metadane"
         type="gmd:MD_Metadata_PropertyType"/>
<element name="metadane"
         type="gmd:MD_Metadata_PropertyType"/>
<element name="odniesienieDoBazy"
         type="bt:BT_BazaEnumerationType"
         maxOccurs="unbounded"/>
<element name="odniesienieDoBazy"
         type="bt:BT_BazaEnumerationType"
         maxOccurs="unbounded"/>
<element name="wykonawca"
         type="gmd:CI_ResponsibleParty_PropertyType"/>
<element name="wykonawca"
         type="gmd:CI_ResponsibleParty_PropertyType"/>
<element name="zasiegRoboty"
         type="gml:LinearRingPropertyType"/>
<element name="zasiegRoboty"
         type="gml:LinearRingPropertyType"/>
<element name="zasobSieciowy"
         type="gmd:CI_OnlineResource_PropertyType"
         minOccurs="0"
         maxOccurs="unbounded"/>
<element name="zasobSieciowy"
         type="gmd:CI_OnlineResource_PropertyType"
         minOccurs="0"
         maxOccurs="unbounded"/>
<element name="zawartosc"
         type="bt:BT_ZbiorPropertyType"
         maxOccurs="unbounded"/>
<element name="zawartosc"
         type="bt:BT_ZbiorPropertyType"
         maxOccurs="unbounded"/>
<element name="idZgloszenia"><element name="idZgloszenia">
<complexType><complexType>
<simpleContent><simpleContent>
<extension base="string"><extension base="string">
<attribute ref="gco:nilReason"/><attribute ref="gco:nilReason"/>
</extension></extension>
</simpleContent></simpleContent>
</complexType></complexType>
</element></element>
<element name="zleceniodawca"><element name="zleceniodawca">
<complexType><complexType>
<complexContent><complexContent>
<extension base="gmd:CI_ResponsibleParty_PropertyType"/><extension base="gmd:CI_ResponsibleParty_PropertyType"/>
</complexContent></complexContent>
</complexType></complexType>
</element></element>
</sequence></sequence>
</extension></extension>
</complexContent></complexContent>
</complexType></complexType>
<complexType name="BT_OperatTechPropertyType"><complexType name="BT_OperatTechPropertyType">
<sequence><sequence>
<element ref="bt:BT_OperatTech"/><element ref="bt:BT_OperatTech"/>
</sequence></sequence>
<attributeGroup ref="gml:OwnershipAttributeGroup"/><attributeGroup ref="gml:OwnershipAttributeGroup"/>
<attributeGroup ref="gml:AssociationAttributeGroup"/><attributeGroup ref="gml:AssociationAttributeGroup"/>
</complexType></complexType>
<!--======================================--><!--======================================-->
<simpleType name="BT_BazaEnumerationType"><simpleType name="BT_BazaEnumerationType">
<annotation/><annotation/>
<restriction base="string"><restriction base="string">
<enumeration value="EGiB"/><enumeration value="EGiB"/>
<enumeration value="GESUT"/><enumeration value="GESUT"/>
<enumeration value="BDNMT"/><enumeration value="BDNMT"/>
<enumeration value="BDOrto"/><enumeration value="BDOrto"/>
<enumeration value="BDOT10k"/><enumeration value="BDOT10k"/>
<enumeration value="BDOT500"/><enumeration value="BDOT500"/>
<enumeration value="BDSOG"/><enumeration value="BDSOG"/>
<enumeration value="BDZLiS"/><enumeration value="BDZLiS"/>
<enumeration value="EMUiA"/><enumeration value="EMUiA"/>
<enumeration value="PRG"/><enumeration value="PRG"/>
<enumeration value="PRNG"/><enumeration value="PRNG"/>
<enumeration value="PRPOG"/><enumeration value="PRPOG"/>
<enumeration value="RCiWN"/><enumeration value="RCiWN"/>
<enumeration value="BDOO"/><enumeration value="BDOO"/>
</restriction></restriction>
</simpleType></simpleType>
<!--======================================--><!--======================================-->
<simpleType name="BT_RodzajElementuType"><simpleType name="BT_RodzajElementuType">
<union memberTypes="bt:BT_RodzajElementuEnumerationType bt:BT_RodzajElementuOtherType"/><union memberTypes="bt:BT_RodzajElementuEnumerationType bt:BT_RodzajElementuOtherType"/>
</simpleType></simpleType>
<simpleType name="BT_RodzajElementuEnumerationType"><simpleType name="BT_RodzajElementuEnumerationType">
<restriction base="string"><restriction base="string">
<enumeration value="dowodyIKopieDoreczen"><enumeration value="dowodyIKopieDoreczen">
<annotation/><annotation/>
</enumeration></enumeration>
<enumeration value="dziennikPomiaru"><enumeration value="dziennikPomiaru">
<annotation/><annotation/>
</enumeration></enumeration>
<enumeration value="inny"><enumeration value="inny">
<annotation/><annotation/>
</enumeration></enumeration>
<enumeration value="protokol"><enumeration value="protokol">
<annotation/><annotation/>
</enumeration></enumeration>
<enumeration value="roboczaBazaDanych"><enumeration value="roboczaBazaDanych">
<annotation/><annotation/>
</enumeration></enumeration>
<enumeration value="sprawozdanieTechniczne"><enumeration value="sprawozdanieTechniczne">
<annotation/><annotation/>
</enumeration></enumeration>
<enumeration value="szkicPomiarowy"><enumeration value="szkicPomiarowy">
<annotation/><annotation/>
</enumeration></enumeration>
</restriction></restriction>
</simpleType></simpleType>
<simpleType name="BT_RodzajElementuOtherType"><simpleType name="BT_RodzajElementuOtherType">
<restriction base="string"><restriction base="string">
<pattern value="other: \w{2,}"/><pattern value="other: \w{2,}"/>
</restriction></restriction>
</simpleType></simpleType>
<!--======================================--><!--======================================-->
<simpleType name="BT_UkladWysType"><simpleType name="BT_UkladWysType">
<union memberTypes="bt:BT_UkladWysEnumerationType bt:BT_UkladWysOtherType"/><union memberTypes="bt:BT_UkladWysEnumerationType bt:BT_UkladWysOtherType"/>
</simpleType></simpleType>
<simpleType name="BT_UkladWysEnumerationType"><simpleType name="BT_UkladWysEnumerationType">
<restriction base="string"><restriction base="string">
<enumeration value="Kronsztadt60"/><enumeration value="Kronsztadt60"/>
<enumeration value="Kronsztadt86"/><enumeration value="Kronsztadt86"/>
<enumeration value="Kronsztadt2006"/><enumeration value="Kronsztadt2006"/>
<enumeration value="Amsterdam55"/><enumeration value="Amsterdam55"/>
<enumeration value="Amsterdam2000"/><enumeration value="Amsterdam2000"/>
<enumeration value="EUREF89"/><enumeration value="EUREF89"/>
<enumeration value="ETRF2000"/><enumeration value="ETRF2000"/>
<enumeration value="ETRF2008"/><enumeration value="ETRF2008"/>
<enumeration value="Pulkowo42"/><enumeration value="Pulkowo42"/>
<enumeration value="EVRS2007"/><enumeration value="EVRS2007"/>
</restriction></restriction>
</simpleType></simpleType>
<simpleType name="BT_UkladWysOtherType"><simpleType name="BT_UkladWysOtherType">
<restriction base="string"><restriction base="string">
<pattern value="other: \w{2,}"/><pattern value="other: \w{2,}"/>
</restriction></restriction>
</simpleType></simpleType>
<!--======================================--><!--======================================-->
<simpleType name="BT_UkladGeodType"><simpleType name="BT_UkladGeodType">
<union memberTypes="bt:BT_UkladGeodEnumerationType bt:BT_UkladGeodOtherType"/><union memberTypes="bt:BT_UkladGeodEnumerationType bt:BT_UkladGeodOtherType"/>
</simpleType></simpleType>
<simpleType name="BT_UkladGeodEnumerationType"><simpleType name="BT_UkladGeodEnumerationType">
<restriction base="string"><restriction base="string">
<enumeration value="EUREF89"/><enumeration value="EUREF89"/>
<enumeration value="ETRF2000"/><enumeration value="ETRF2000"/>
<enumeration value="ETRF2008"/><enumeration value="ETRF2008"/>
<enumeration value="Pulkowo42"/><enumeration value="Pulkowo42"/>
<enumeration value="PUWP1992"/><enumeration value="PUWP1992"/>
<enumeration value="PUWP2000"/><enumeration value="PUWP2000"/>
<enumeration value="PUWP1965"/><enumeration value="PUWP1965"/>
<enumeration value="PUWP1942"/><enumeration value="PUWP1942"/>
<enumeration value="PUWPBG"/><enumeration value="PUWPBG"/>
<enumeration value="UTM"/><enumeration value="UTM"/>
</restriction></restriction>
</simpleType></simpleType>
<simpleType name="BT_UkladGeodOtherType"><simpleType name="BT_UkladGeodOtherType">
<restriction base="string"><restriction base="string">
<pattern value="other: \w{2,}"/><pattern value="other: \w{2,}"/>
</restriction></restriction>
</simpleType></simpleType>
<!--======================================--><!--======================================-->
<element name="BT_ReferencjaDoObiektu"
         type="bt:BT_ReferencjaDoObiektuType"
         substitutionGroup="gml:AbstractObject"/>
<element name="BT_ReferencjaDoObiektu"
         type="bt:BT_ReferencjaDoObiektuType"
         substitutionGroup="gml:AbstractObject"/>
<complexType name="BT_ReferencjaDoObiektuType"><complexType name="BT_ReferencjaDoObiektuType">
<choice><choice>
<element name="idIIP"
         type="bt:BT_IdentyfikatorPropertyType"/>
<element name="idIIP"
         type="bt:BT_IdentyfikatorPropertyType"/>
<element name="obiekt"
         type="gml:ReferenceType">
<element name="obiekt"
         type="gml:ReferenceType">
<annotation><annotation>
<appinfo><appinfo>
<gml:targetElement><gml:targetElement>
bt:BT_ReferencyjnyObiektPrzestrzennybt:BT_ReferencyjnyObiektPrzestrzenny
</gml:targetElement></gml:targetElement>
</appinfo></appinfo>
</annotation></annotation>
</element></element>
<element name="obiektKarto"
         type="bt:KR_ObiektKartoPropertyType"
         maxOccurs="unbounded">
<element name="obiektKarto"
         type="bt:KR_ObiektKartoPropertyType"
         maxOccurs="unbounded">
<annotation><annotation>
<appinfo><appinfo>
<gml:reversePropertyName><gml:reversePropertyName>
bt:obiektPrzedstawianybt:obiektPrzedstawiany
</gml:reversePropertyName></gml:reversePropertyName>
</appinfo></appinfo>
</annotation></annotation>
</element></element>
<element name="pktWysKarto"
         type="bt:KR_PktWysPropertyType"
         minOccurs="0">
<element name="pktWysKarto"
         type="bt:KR_PktWysPropertyType"
         minOccurs="0">
<annotation><annotation>
<appinfo><appinfo>
<gml:reversePropertyName><gml:reversePropertyName>
bt:obiektPrzedstawiany2bt:obiektPrzedstawiany2
</gml:reversePropertyName></gml:reversePropertyName>
</appinfo></appinfo>
</annotation></annotation>
</element></element>
<element name="liniaWysKarto"
         type="bt:KR_LiniaWysPropertyType"
         minOccurs="0"
         maxOccurs="unbounded">
<element name="liniaWysKarto"
         type="bt:KR_LiniaWysPropertyType"
         minOccurs="0"
         maxOccurs="unbounded">
<annotation><annotation>
<appinfo><appinfo>
<gml:reversePropertyName><gml:reversePropertyName>
bt:obiektyReferencyjnebt:obiektyReferencyjne
</gml:reversePropertyName></gml:reversePropertyName>
</appinfo></appinfo>
</annotation></annotation>
</element></element>
</choice></choice>
</complexType></complexType>
<complexType name="BT_ReferencjaDoObiektuPropertyType"><complexType name="BT_ReferencjaDoObiektuPropertyType">
<sequence><sequence>
<element ref="bt:BT_ReferencjaDoObiektu"/><element ref="bt:BT_ReferencjaDoObiektu"/>
</sequence></sequence>
<attributeGroup ref="gml:OwnershipAttributeGroup"/><attributeGroup ref="gml:OwnershipAttributeGroup"/>
</complexType></complexType>
<simpleType name="BT_ReferencjaDoObiektuUnionSemantics"><simpleType name="BT_ReferencjaDoObiektuUnionSemantics">
<restriction base="string"><restriction base="string">
<enumeration value="identyfikatorIIP"/><enumeration value="identyfikatorIIP"/>
</restriction></restriction>
</simpleType></simpleType>
<!--======================================--><!--======================================-->
<element name="BT_Dokument"
         type="bt:BT_DokumentType"
         substitutionGroup="gml:AbstractObject"/>
<element name="BT_Dokument"
         type="bt:BT_DokumentType"
         substitutionGroup="gml:AbstractObject"/>
<complexType name="BT_DokumentType"><complexType name="BT_DokumentType">
<sequence><sequence>
<element name="opis"
         type="string"
         minOccurs="0"/>
<element name="opis"
         type="string"
         minOccurs="0"/>
<element name="rodzaj"
         element="bt:DC_RodzajDokumentuType"/>
<element name="rodzaj"
         element="bt:DC_RodzajDokumentuKodType"/>
<element name="status"
         type="bt:DC_StatusDokumentuKodType"/>
<element name="status"
         type="bt:DC_StatusDokumentuKodType"/>
<element name="sygnatura"
         type="string"
         minOccurs="0"/>
<element name="sygnatura"
         type="string"
         minOccurs="0"/>
<element name="tytul"
         type="string"/>
<element name="tytul"
         type="string"/>
<element name="wydawca"
         type="string"/>
<element name="wydawca"
         type="string"/>
<element name="zasobSieciowy"
         type="gmd:CI_OnlineResource_PropertyType"
         minOccurs="0"
         maxOccurs="unbounded"/>
<element name="zasobSieciowy"
         type="gmd:CI_OnlineResource_PropertyType"
         minOccurs="0"
         maxOccurs="unbounded"/>
<element name="data"><element name="data">
<complexType><complexType>
<simpleContent><simpleContent>
<extension base="date"><extension base="date">
<attribute ref="gco:nilReason"/><attribute ref="gco:nilReason"/>
</extension></extension>
</simpleContent></simpleContent>
</complexType></complexType>
</element></element>
</sequence></sequence>
</complexType></complexType>
<complexType name="BT_DokumentPropertyType"><complexType name="BT_DokumentPropertyType">
<sequence><sequence>
<element ref="bt:BT_Dokument"/><element ref="bt:BT_Dokument"/>
</sequence></sequence>
<attributeGroup ref="gml:OwnershipAttributeGroup"/><attributeGroup ref="gml:OwnershipAttributeGroup"/>
</complexType></complexType>
<!--======================================--><!--======================================-->
<simpleType simpleType="DC_RodzajDokumentuType"><simpleType simpleType="DC_RodzajDokumentuKodType">
<annotation/><annotation/>
<union union="bt:DC_RodzajDokumentuEnumerationType bt:DC_RodzajDokumentuOtherType"/><union union="bt:DC_RodzajDokumentuKodEnumerationType bt:DC_RodzajDokumentuKodOtherType"/>
</simpleType></simpleType>
<simpleType simpleType="DC_RodzajDokumentuEnumerationType"><simpleType simpleType="DC_RodzajDokumentuKodEnumerationType">
<restriction base="string"><restriction base="string">
<enumeration value="decyzja"/><enumeration value="decyzja"/>
<enumeration value="inny"/><enumeration value="inny"/>
<enumeration value="orzeczenie"/><enumeration value="orzeczenie"/>
<enumeration value="rozporzadzenie"/><enumeration value="rozporzadzenie"/>
<enumeration value="protokol"/><enumeration value="protokol"/>
<enumeration value="uchwala"/><enumeration value="uchwala"/>
<enumeration value="umowa"/><enumeration value="umowa"/>
<enumeration value="ustawa"/><enumeration value="ustawa"/>
<enumeration enumeration="wyciągZKW"/><enumeration enumeration="wyciagZKW"/>
<enumeration value="zarzadzenie"/><enumeration value="zarzadzenie"/>
<enumeration value="zawiadomienie"/><enumeration value="zawiadomienie"/>
</restriction></restriction>
</simpleType></simpleType>
<simpleType simpleType="DC_RodzajDokumentuOtherType"><simpleType simpleType="DC_RodzajDokumentuKodOtherType">
<restriction base="string"><restriction base="string">
<pattern value="other: \w{2,}"/><pattern value="other: \w{2,}"/>
</restriction></restriction>
</simpleType></simpleType>
<!--======================================--><!--======================================-->
<simpleType name="DC_StatusDokumentuKodType"><simpleType name="DC_StatusDokumentuKodType">
<restriction base="string"><restriction base="string">
<enumeration value="obowiazujacy"/><enumeration value="obowiazujacy"/>
<enumeration value="nieobowiazujacy"/><enumeration value="nieobowiazujacy"/>
</restriction></restriction>
</simpleType></simpleType>
<!--======================================--><!--======================================-->
<element name="KR_ObiektKarto"
         type="bt:KR_ObiektKartoType"
         substitutionGroup="gml:AbstractFeature"/>
<element name="KR_ObiektKarto"
         type="bt:KR_ObiektKartoType"
         substitutionGroup="gml:AbstractFeature"/>
<complexType name="KR_ObiektKartoType"><complexType name="KR_ObiektKartoType">
<complexContent><complexContent>
<extension base="gml:AbstractFeatureType"><extension base="gml:AbstractFeatureType">
<sequence><sequence>
<element name="mianownikSkali"
         type="integer"/>
<element name="mianownikSkali"
         type="integer"/>
<element name="kodKarto"
         type="string"
         minOccurs="0"/>
<element name="kodKarto"
         type="string"
         minOccurs="0"/>
<element name="geometriaKarto"
         type="gml:GeometricPrimitivePropertyType"
         maxOccurs="unbounded"/>
<element name="geometriaKarto"
         type="gml:GeometricPrimitivePropertyType"
         maxOccurs="unbounded"/>
<element name="uwagi"
         type="string"
         minOccurs="0"/>
<element name="uwagi"
         type="string"
         minOccurs="0"/>
<element name="etykieta"
         type="bt:KR_EtykietaType"
         minOccurs="0"
         maxOccurs="unbounded"/>
<element name="etykieta"
         type="bt:KR_EtykietaType"
         minOccurs="0"
         maxOccurs="unbounded"/>
<element name="parametr"
         type="double"
         minOccurs="0"
         maxOccurs="unbounded"/>
<element name="parametr"
         type="double"
         minOccurs="0"
         maxOccurs="unbounded"/>
<element name="warstwa"
         type="string"
         minOccurs="0"/>
<element name="warstwa"
         type="string"
         minOccurs="0"/>
<element name="obiektPrzedstawiany1"
         type="bt:BT_ReferencjaDoObiektuPropertyType">
<element name="obiektPrzedstawiany1"
         type="bt:BT_ReferencjaDoObiektuPropertyType">
<annotation><annotation>
<appinfo><appinfo>
<gml:reversePropertyName><gml:reversePropertyName>
bt:obiektKartobt:obiektKarto
</gml:reversePropertyName></gml:reversePropertyName>
</appinfo></appinfo>
</annotation></annotation>
</element></element>
</sequence></sequence>
</extension></extension>
</complexContent></complexContent>
</complexType></complexType>
<complexType name="KR_ObiektKartoPropertyType"><complexType name="KR_ObiektKartoPropertyType">
<sequence><sequence>
<element ref="bt:KR_ObiektKarto"/><element ref="bt:KR_ObiektKarto"/>
</sequence></sequence>
<attributeGroup ref="gml:OwnershipAttributeGroup"/><attributeGroup ref="gml:OwnershipAttributeGroup"/>
<attributeGroup ref="gml:AssociationAttributeGroup"/><attributeGroup ref="gml:AssociationAttributeGroup"/>
</complexType></complexType>
<!--======================================--><!--======================================-->
<element name="KR_PktWys"
         type="bt:KR_PktWysType"
         substitutionGroup="gml:AbstractFeature"/>
<element name="KR_PktWys"
         type="bt:KR_PktWysType"
         substitutionGroup="gml:AbstractFeature"/>
<complexType name="KR_PktWysType"><complexType name="KR_PktWysType">
<complexContent><complexContent>
<extension base="gml:AbstractFeatureType"><extension base="gml:AbstractFeatureType">
<sequence><sequence>
<element name="polozenie"
         type="gml:DirectPositionType"/>
<element name="polozenie"
         type="gml:DirectPositionType"/>
<element name="etykieta"
         type="bt:KR_EtykietaType"/>
<element name="etykieta"
         type="bt:KR_EtykietaType"/>
<element name="rodzajPkt"
         type="bt:KR_RodzajPktuType"/>
<element name="rodzajPkt"
         type="bt:KR_RodzajPktuType"/>
<element name="obiektPrzedstawiany2"
         type="bt:BT_ReferencjaDoObiektuPropertyType"
         minOccurs="0"
         maxOccurs="unbounded">
<element name="obiektPrzedstawiany2"
         type="bt:BT_ReferencjaDoObiektuPropertyType"
         minOccurs="0"
         maxOccurs="unbounded">
<annotation><annotation>
<appinfo><appinfo>
<gml:reversePropertyName><gml:reversePropertyName>
bt:pktWysKartobt:pktWysKarto
</gml:reversePropertyName></gml:reversePropertyName>
</appinfo></appinfo>
</annotation></annotation>
</element></element>
</sequence></sequence>
</extension></extension>
</complexContent></complexContent>
</complexType></complexType>
<complexType name="KR_PktWysPropertyType"><complexType name="KR_PktWysPropertyType">
<sequence><sequence>
<element ref="bt:KR_PktWys"/><element ref="bt:KR_PktWys"/>
</sequence></sequence>
<attributeGroup ref="gml:OwnershipAttributeGroup"/><attributeGroup ref="gml:OwnershipAttributeGroup"/>
<attributeGroup ref="gml:AssociationAttributeGroup"/><attributeGroup ref="gml:AssociationAttributeGroup"/>
</complexType></complexType>
<!--======================================--><!--======================================-->
<element name="KR_LiniaWys"
         type="bt:KR_LiniaWysType"
         substitutionGroup="gml:AbstractFeature"/>
<element name="KR_LiniaWys"
         type="bt:KR_LiniaWysType"
         substitutionGroup="gml:AbstractFeature"/>
<complexType name="KR_LiniaWysType"><complexType name="KR_LiniaWysType">
<complexContent><complexContent>
<extension base="gml:AbstractFeatureType"><extension base="gml:AbstractFeatureType">
<sequence><sequence>
<element name="geometriaKarto"
         type="gml:GeometricPrimitivePropertyType"
         maxOccurs="unbounded"/>
<element name="geometriaKarto"
         type="gml:GeometricPrimitivePropertyType"
         maxOccurs="unbounded"/>
<element name="etykieta"
         type="bt:KR_EtykietaType"
         minOccurs="0"
         maxOccurs="unbounded"/>
<element name="etykieta"
         type="bt:KR_EtykietaType"
         minOccurs="0"
         maxOccurs="unbounded"/>
<element name="rodzajLinii"
         type="bt:KR_RodzajLiniiType"/>
<element name="rodzajLinii"
         type="bt:KR_RodzajLiniiType"/>
<element name="obiektyReferencyjne"
         type="bt:BT_ReferencjaDoObiektuPropertyType"
         minOccurs="0"
         maxOccurs="unbounded">
<element name="obiektyReferencyjne"
         type="bt:BT_ReferencjaDoObiektuPropertyType"
         minOccurs="0"
         maxOccurs="unbounded">
<annotation><annotation>
<appinfo><appinfo>
<gml:reversePropertyName><gml:reversePropertyName>
liniaWysKartoliniaWysKarto
</gml:reversePropertyName></gml:reversePropertyName>
</appinfo></appinfo>
</annotation></annotation>
</element></element>
</sequence></sequence>
</extension></extension>
</complexContent></complexContent>
</complexType></complexType>
<complexType name="KR_LiniaWysPropertyType"><complexType name="KR_LiniaWysPropertyType">
<sequence><sequence>
<element ref="bt:KR_LiniaWys"/><element ref="bt:KR_LiniaWys"/>
</sequence></sequence>
<attributeGroup ref="gml:OwnershipAttributeGroup"/><attributeGroup ref="gml:OwnershipAttributeGroup"/>
<attributeGroup ref="gml:AssociationAttributeGroup"/><attributeGroup ref="gml:AssociationAttributeGroup"/>
</complexType></complexType>
<!--======================================--><!--======================================-->
<element name="KR_Etykieta"
         type="bt:KR_EtykietaType"
         substitutionGroup="gml:AbstractObject"/>
<element name="KR_Etykieta"
         type="bt:KR_EtykietaType"
         substitutionGroup="gml:AbstractObject"/>
<complexType name="KR_EtykietaType"><complexType name="KR_EtykietaType">
<sequence><sequence>
<element name="tekst"
         type="string"/>
<element name="tekst"
         type="string"/>
<element name="czcionka"
         type="bt:KR_KrojPismaType"/>
<element name="czcionka"
         type="bt:KR_KrojPismaType"/>
<element name="geometriaKarto"
         type="gml:GeometricPrimitivePropertyType"
         maxOccurs="unbounded"/>
<element name="geometriaKarto"
         type="gml:GeometricPrimitivePropertyType"
         maxOccurs="unbounded"/>
<element name="odnosnik"
         type="bt:KR_OdnosnikType"
         minOccurs="0"/>
<element name="odnosnik"
         type="bt:KR_OdnosnikType"
         minOccurs="0"/>
</sequence></sequence>
</complexType></complexType>
<complexType name="KR_EtykietaTypePropertyType"><complexType name="KR_EtykietaTypePropertyType">
<sequence><sequence>
<element ref="bt:KR_Etykieta"/><element ref="bt:KR_Etykieta"/>
</sequence></sequence>
<attributeGroup ref="gml:OwnershipAttributeGroup"/><attributeGroup ref="gml:OwnershipAttributeGroup"/>
</complexType></complexType>
<!--======================================--><!--======================================-->
<element name="KR_KrojPisma"
         type="bt:KR_KrojPismaType"
         substitutionGroup="gml:AbstractObject"/>
<element name="KR_KrojPisma"
         type="bt:KR_KrojPismaType"
         substitutionGroup="gml:AbstractObject"/>
<complexType name="KR_KrojPismaType"><complexType name="KR_KrojPismaType">
<sequence><sequence>
<element name="nazwaCzcionki"
         type="string"/>
<element name="nazwaCzcionki"
         type="string"/>
<element name="wysCzcionki"
         type="integer"/>
<element name="wysCzcionki"
         type="integer"/>
<element name="pogrubiona"
         type="boolean"/>
<element name="pogrubiona"
         type="boolean"/>
<element name="kursywa"
         type="boolean"/>
<element name="kursywa"
         type="boolean"/>
<element name="podkreslona"
         type="boolean"/>
<element name="podkreslona"
         type="boolean"/>
<element name="kolor"
         type="integer"
         minOccurs="3"
         maxOccurs="4"/>
<element name="kolor"
         type="integer"
         minOccurs="3"
         maxOccurs="4"/>
</sequence></sequence>
</complexType></complexType>
<complexType name="KR_KrojPismaPropertyType"><complexType name="KR_KrojPismaPropertyType">
<sequence><sequence>
<element ref="bt:KR_KrojPisma"/><element ref="bt:KR_KrojPisma"/>
</sequence></sequence>
<attributeGroup ref="gml:OwnershipAttributeGroup"/><attributeGroup ref="gml:OwnershipAttributeGroup"/>
</complexType></complexType>
<!--======================================--><!--======================================-->
<element name="KR_Odnosnik"
         type="bt:KR_OdnosnikType"
         substitutionGroup="gml:AbstractObject"/>
<element name="KR_Odnosnik"
         type="bt:KR_OdnosnikType"
         substitutionGroup="gml:AbstractObject"/>
<complexType name="KR_OdnosnikType"><complexType name="KR_OdnosnikType">
<sequence><sequence>
<element name="polozenie"
         type="gml:PointType"
         minOccurs="3"
         maxOccurs="3"/>
<element name="polozenie"
         type="gml:PointType"
         minOccurs="3"
         maxOccurs="3"/>
</sequence></sequence>
</complexType></complexType>
<complexType name="KR_OdnosnikPropertyType"><complexType name="KR_OdnosnikPropertyType">
<sequence><sequence>
<element ref="bt:KR_Odnosnik"/><element ref="bt:KR_Odnosnik"/>
</sequence></sequence>
<attributeGroup ref="gml:OwnershipAttributeGroup"/><attributeGroup ref="gml:OwnershipAttributeGroup"/>
</complexType></complexType>
<!--======================================--><!--======================================-->
<element name="KR_Opis"
         type="bt:KR_OpisType"
         substitutionGroup="gml:AbstractFeature"/>
<element name="KR_Opis"
         type="bt:KR_OpisType"
         substitutionGroup="gml:AbstractFeature"/>
<complexType name="KR_OpisType"><complexType name="KR_OpisType">
<complexContent><complexContent>
<extension base="gml:AbstractFeatureType"><extension base="gml:AbstractFeatureType">
<sequence><sequence>
<element name="idOpisu"
         type="string"/>
<element name="idOpisu"
         type="string"/>
<element name="opis"
         type="string"
         minOccurs="0"/>
<element name="opis"
         type="string"
         minOccurs="0"/>
<element name="czcionka"
         type="bt:KR_KrojPismaType"
         minOccurs="0"/>
<element name="czcionka"
         type="bt:KR_KrojPismaType"
         minOccurs="0"/>
<element name="geometriaKarto"
         type="gml:GeometricPrimitivePropertyType"
         maxOccurs="unbounded"/>
<element name="geometriaKarto"
         type="gml:GeometricPrimitivePropertyType"
         maxOccurs="unbounded"/>
</sequence></sequence>
</extension></extension>
</complexContent></complexContent>
</complexType></complexType>
<complexType name="KR_OpisPropertyType"><complexType name="KR_OpisPropertyType">
<sequence><sequence>
<element ref="bt:KR_Opis"/><element ref="bt:KR_Opis"/>
</sequence></sequence>
<attributeGroup ref="gml:OwnershipAttributeGroup"/><attributeGroup ref="gml:OwnershipAttributeGroup"/>
<attributeGroup ref="gml:AssociationAttributeGroup"/><attributeGroup ref="gml:AssociationAttributeGroup"/>
</complexType></complexType>
<!--======================================--><!--======================================-->
<simpleType name="KR_RodzajPktuType"><simpleType name="KR_RodzajPktuType">
<annotation/><annotation/>
<union memberTypes="bt:KR_RodzajPktuEnumerationType bt:KR_RodzajPktuOtherType"/><union memberTypes="bt:KR_RodzajPktuEnumerationType bt:KR_RodzajPktuOtherType"/>
</simpleType></simpleType>
<simpleType name="KR_RodzajPktuEnumerationType"><simpleType name="KR_RodzajPktuEnumerationType">
<restriction base="string"><restriction base="string">
<enumeration value="pikieta"/><enumeration value="pikieta"/>
<enumeration value="pktOsnowy"/><enumeration value="pktOsnowy"/>
<enumeration value="rzednaArmatury"/><enumeration value="rzednaArmatury"/>
<enumeration value="inny"/><enumeration value="inny"/>
<enumeration value="rzednaDna"/><enumeration value="rzednaDna"/>
<enumeration value="rzednaGory"/><enumeration value="rzednaGory"/>
<enumeration value="rzednaDolu"/><enumeration value="rzednaDolu"/>
<enumeration value="pktWysNaturalny"/><enumeration value="pktWysNaturalny"/>
<enumeration value="pktWysSztuczny"/><enumeration value="pktWysSztuczny"/>
</restriction></restriction>
</simpleType></simpleType>
<simpleType name="KR_RodzajPktuOtherType"><simpleType name="KR_RodzajPktuOtherType">
<restriction base="string"><restriction base="string">
<pattern value="other: \w{2,}"/><pattern value="other: \w{2,}"/>
</restriction></restriction>
</simpleType></simpleType>
<!--======================================--><!--======================================-->
<simpleType name="KR_RodzajLiniiType"><simpleType name="KR_RodzajLiniiType">
<annotation/><annotation/>
<union memberTypes="bt:KR_RodzajLiniiEnumerationType bt:KR_RodzajLiniiOtherType"/><union memberTypes="bt:KR_RodzajLiniiEnumerationType bt:KR_RodzajLiniiOtherType"/>
</simpleType></simpleType>
<simpleType name="KR_RodzajLiniiEnumerationType"><simpleType name="KR_RodzajLiniiEnumerationType">
<restriction base="string"><restriction base="string">
<enumeration value="warstwica"/><enumeration value="warstwica"/>
<enumeration value="granicaSkarpy"/><enumeration value="granicaSkarpy"/>
<enumeration value="inna"/><enumeration value="inna"/>
<enumeration value="liniaGrzbietu"/><enumeration value="liniaGrzbietu"/>
<enumeration value="liniaCieku"/><enumeration value="liniaCieku"/>
</restriction></restriction>
</simpleType></simpleType>
<simpleType name="KR_RodzajLiniiOtherType"><simpleType name="KR_RodzajLiniiOtherType">
<restriction base="string"><restriction base="string">
<pattern value="other: \w{2,}"/><pattern value="other: \w{2,}"/>
</restriction></restriction>
</simpleType></simpleType>
</schema></schema>
last