<?xml version="1.0" encoding="UTF-8"?><xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0" xml:lang="PL">	<xsd:include schemaLocation="http://e-deklaracje.mf.gov.pl/Repozytorium/Slowniki/KodyUrzedowSkarbowych_v3-0.xsd"/>	<xsd:include schemaLocation="http://e-deklaracje.mf.gov.pl/Repozytorium/Slowniki/KodyKrajow_v3-0.xsd"/>	<xsd:annotation>		<xsd:documentation>Definicje podstawowych typów używanych w deklaracjach elektronicznych. Na podstawie poniższych typów można budować deklaracje</xsd:documentation>	</xsd:annotation>	<xsd:simpleType name="TZnakowy">		<xsd:annotation>			<xsd:documentation>Typ znakowy ograniczony do jednej linii</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="xsd:normalizedString">			<xsd:minLength value="1"/>			<xsd:maxLength value="240"/>			<xsd:whiteSpace value="replace"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="TTekstowy">		<xsd:annotation>			<xsd:documentation>Typ znakowy ograniczony do 3500 znaków</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="xsd:string">			<xsd:minLength value="1"/>			<xsd:maxLength value="3500"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="TProcentowy">		<xsd:annotation>			<xsd:documentation>Wartość procentowa z dokładnością do 2 miejsc po przecinku</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="xsd:decimal">			<xsd:totalDigits value="5"/>			<xsd:fractionDigits value="2"/>			<xsd:minInclusive value="0"/>			<xsd:maxInclusive value="100"/>			<xsd:whiteSpace value="collapse"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="TCalkowity">		<xsd:annotation>			<xsd:documentation>Liczby naturalne</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="xsd:int">			<xsd:whiteSpace value="collapse"/>			<xsd:totalDigits value="14"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="TNaturalny">		<xsd:annotation>			<xsd:documentation>Liczby naturalne</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="xsd:nonNegativeInteger">			<xsd:whiteSpace value="collapse"/>			<xsd:totalDigits value="14"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="TRzeczywisty">		<xsd:annotation>			<xsd:documentation>Liczby wykazywane z dokładnością do dwóch miejsc po przecinku</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="TKwota2">			<xsd:minInclusive value="0"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="TKwota2">		<xsd:annotation>			<xsd:documentation>Wartość kwotowa wykazana w zł i gr</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="xsd:decimal">			<xsd:totalDigits value="16"/>			<xsd:whiteSpace value="collapse"/>			<xsd:fractionDigits value="2"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="TKwotaC">		<xsd:annotation>			<xsd:documentation>Wartość kwotowa wykazana w zł</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="xsd:decimal">			<xsd:totalDigits value="14"/>			<xsd:fractionDigits value="0"/>			<xsd:whiteSpace value="collapse"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="TKwota2Nieujemna">		<xsd:annotation>			<xsd:documentation>Wartość kwotowa nieujemna wykazana w zł i gr</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="TKwota2">			<xsd:minInclusive value="0"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="TKwotaCNieujemna">		<xsd:annotation>			<xsd:documentation>Wartość kwotowa nieujemna wykazana w zł</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="TKwotaC">			<xsd:minInclusive value="0"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="TData" id="TData">		<xsd:annotation>			<xsd:documentation>Typ daty</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="xsd:date">			<xsd:minInclusive value="1900-01-01"/>			<xsd:whiteSpace value="collapse"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="TDataCzas" id="TDataCzas">		<xsd:annotation>			<xsd:documentation>Typ daty i godziny</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="xsd:dateTime">			<xsd:whiteSpace value="collapse"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="TRok">		<xsd:annotation>			<xsd:documentation>Oznaczenie roku</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="xsd:gYear">			<xsd:minInclusive value="1800"/>			<xsd:maxInclusive value="3000"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="TMiesiac">		<xsd:annotation>			<xsd:documentation>Element będący numerem miesiąca</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="xsd:byte">			<xsd:maxInclusive value="12"/>			<xsd:minInclusive value="1"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="TKwartal">		<xsd:annotation>			<xsd:documentation>Element będący numerem kwartału</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="xsd:byte">			<xsd:minInclusive value="1"/>			<xsd:maxInclusive value="4"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="TAdresEmail">		<xsd:annotation>			<xsd:documentation>Element będący adresem e-mail</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="TZnakowy">			<xsd:whiteSpace value="collapse"/>			<xsd:pattern value="[0-9\p{L}'\.\-_]{1,127}@[0-9\p{L}'\.\-_]{1,127}"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="TNrNIP">		<xsd:annotation>			<xsd:documentation>Numer NIP</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="xsd:string">			<xsd:pattern value="[1-9]((\d[1-9])|([1-9]\d))\d{7}"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="TNrPESEL">		<xsd:annotation>			<xsd:documentation>Numer PESEL</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="xsd:string">			<xsd:pattern value="\d{11}"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="TNrREGON">		<xsd:annotation>			<xsd:documentation>Numer REGON</xsd:documentation>		</xsd:annotation>		<xsd:union>			<xsd:simpleType>				<xsd:restriction base="xsd:string">					<xsd:pattern value="\d{9}"/>				</xsd:restriction>			</xsd:simpleType>			<xsd:simpleType>				<xsd:restriction base="xsd:string">					<xsd:pattern value="\d{14}"/>				</xsd:restriction>			</xsd:simpleType>		</xsd:union>	</xsd:simpleType>	<xsd:simpleType name="TNrAKC">		<xsd:annotation>			<xsd:documentation>Numer akcyzowy</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="xsd:string">			<xsd:pattern value="[A-Z]{2}\d{11}"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="TNrKRS">		<xsd:annotation>			<xsd:documentation>Numer Krajowego Rejestru Sądowego</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="xsd:string">			<xsd:pattern value="\d{10}"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="TNrIdentyfikacjiPodatkowej">		<xsd:annotation>			<xsd:documentation>Numer służący identyfikacji dla celów podatkowych </xsd:documentation>		</xsd:annotation>		<xsd:restriction base="xsd:string">			<xsd:whiteSpace value="replace"/>			<xsd:minLength value="1"/>			<xsd:maxLength value="30"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="TNrDokumentuStwierdzajacegoTozsamosc">		<xsd:annotation>			<xsd:documentation>Numer dokumentu stwierdzającego tożsamość</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="xsd:string">			<xsd:minLength value="1"/>			<xsd:maxLength value="50"/>			<xsd:whiteSpace value="replace"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="TImie">		<xsd:annotation>			<xsd:documentation>Pierwsze imię</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="TZnakowy">			<xsd:maxLength value="30"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="TNazwisko">		<xsd:annotation>			<xsd:documentation>Nazwisko</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="TZnakowy">			<xsd:maxLength value="81"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="TMiejscowosc">		<xsd:annotation>			<xsd:documentation>Typ określający nazwę miejscowości</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="TZnakowy">			<xsd:maxLength value="56"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="TJednAdmin">		<xsd:annotation>			<xsd:documentation>Typ określający nazwę województwa, nazwę powiatu lub nazwę gminy</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="TZnakowy">			<xsd:maxLength value="36"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="TUlica">		<xsd:annotation>			<xsd:documentation>Nazwa ulicy</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="TZnakowy">			<xsd:maxLength value="65"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="TNrBudynku">		<xsd:annotation>			<xsd:documentation>Numer budynku</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="TZnakowy">			<xsd:maxLength value="9"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="TNrLokalu">		<xsd:annotation>			<xsd:documentation>Numer lokalu</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="TZnakowy">			<xsd:maxLength value="10"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="TKodPocztowy">		<xsd:annotation>			<xsd:documentation>Kod pocztowy</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="TZnakowy">			<xsd:maxLength value="8"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="TKodKrajuUrodzenia">		<xsd:annotation>			<xsd:documentation>Kod kraju urodzenia</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="xsd:string">			<xsd:length value="2"/>			<xsd:pattern value="[A-Z]{2}"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="TKodKrajuWydania">		<xsd:annotation>			<xsd:documentation>Kod kraju wydania numeru identyfikacyjnego</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="TKodKraju">			<xsd:pattern value="P[A-KM-Z]"/>			<xsd:pattern value="[A-OR-Z][A-Z]"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="TCelZlozenia">		<xsd:annotation>			<xsd:documentation>Określa, czy to jest złożenie, czy korekta dokumentu</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="xsd:byte">			<xsd:enumeration value="1">				<xsd:annotation>					<xsd:documentation>złożenie po raz pierwszy deklaracji za dany okres</xsd:documentation>				</xsd:annotation>			</xsd:enumeration>			<xsd:enumeration value="2">				<xsd:annotation>					<xsd:documentation>korekta deklaracji za dany okres</xsd:documentation>				</xsd:annotation>			</xsd:enumeration>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="TNrDokumentu">		<xsd:annotation>			<xsd:documentation>Numer dokumentu</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="TZnakowy">			<xsd:length value="5"/>			<xsd:pattern value="\d{2}/\d{2}"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="TWybor1">		<xsd:annotation>			<xsd:documentation>Pojedyncze pole wyboru</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="xsd:byte">			<xsd:enumeration value="1"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="TWybor1_2">		<xsd:annotation>			<xsd:documentation>Podwójne pole wyboru</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="xsd:byte">			<xsd:enumeration value="1"/>			<xsd:enumeration value="2"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="TWybor1_3">		<xsd:annotation>			<xsd:documentation>Potrójne pole wyboru</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="xsd:byte">			<xsd:enumeration value="1"/>			<xsd:enumeration value="2"/>			<xsd:enumeration value="3"/>		</xsd:restriction>	</xsd:simpleType></xsd:schema>