<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2015 (http://www.altova.com) by MF (Ministerstwo Finansów) -->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.mf.gov.pl/schematy/MDR/DefinicjeTypy/2018/12/14/DefinicjeTypyMdr/Mdr4" xmlns:mdr="http://www.mf.gov.pl/schematy/MDR/DefinicjeTypy/2018/12/14/DefinicjeTypyMdr/" xmlns:etd="http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2016/01/25/eD/DefinicjeTypy/" targetNamespace="http://www.mf.gov.pl/schematy/MDR/DefinicjeTypy/2018/12/14/DefinicjeTypyMdr/Mdr4" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0" xml:lang="pl">
	<xsd:import namespace="http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2016/01/25/eD/DefinicjeTypy/" schemaLocation="http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2016/01/25/eD/DefinicjeTypy/StrukturyDanych_v4-0E.xsd"/>
	<xsd:import namespace="http://www.mf.gov.pl/schematy/MDR/DefinicjeTypy/2018/12/14/DefinicjeTypyMdr/" schemaLocation="https://www.mf.gov.pl/documents/764034/6625111/mdr.xsd"/>
	<xsd:complexType name="TNaglowek">
		<xsd:annotation>
			<xsd:documentation>Nagłówek deklaracji</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element name="KodFormularza">
				<xsd:annotation>
					<xsd:documentation>Kod formularza</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:attribute name="kodSystemowy" type="xsd:string" use="required" fixed="MDR-4"/>
					<xsd:attribute name="wersjaSchemy" type="xsd:string" use="required" fixed="1-0"/>
				</xsd:complexType>
			</xsd:element>
			<xsd:element name="CelZlozenia" type="xsd:string" fixed="1">
				<xsd:annotation>
					<xsd:documentation>Cel złożenia</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:sequence>
				<xsd:annotation>
					<xsd:documentation>Kwartał, którego dotyczy informacja</xsd:documentation>
				</xsd:annotation>
				<xsd:element name="DataOd" type="etd:TData">
					<xsd:annotation>
						<xsd:documentation>Data początku kwartału</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element name="DataDo" type="etd:TData">
					<xsd:annotation>
						<xsd:documentation>Data końca kwartału</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
			</xsd:sequence>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="TZakresZgloszenia">
		<xsd:annotation>
			<xsd:documentation>Cel złożenia informacji</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:choice>
				<xsd:element name="P1" type="etd:TWybor1">
					<xsd:annotation>
						<xsd:documentation>Złożenie informacji</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element name="P2">
					<xsd:annotation>
						<xsd:documentation>Uzupełnienie informacji</xsd:documentation>
					</xsd:annotation>
					<xsd:complexType>
						<xsd:sequence>
							<xsd:choice>
								<xsd:element name="NSP" type="mdr:TNrMDR">
									<xsd:annotation>
										<xsd:documentation>Numer schematu podatkowego </xsd:documentation>
									</xsd:annotation>
								</xsd:element>
								<xsd:element name="UPO" type="mdr:TId">
									<xsd:annotation>
										<xsd:documentation>Identyfikator dokumentu UPO</xsd:documentation>
									</xsd:annotation>
								</xsd:element>
							</xsd:choice>
							<xsd:element name="NSPstatus" type="etd:TWybor1_2">
								<xsd:annotation>
									<xsd:documentation>Czy składający posiada NSP schematu podatkowego, którego dotyczy składana informacja / uzupełnienie informacji. 1 - TAK, 2 - NIE</xsd:documentation>
								</xsd:annotation>
							</xsd:element>
						</xsd:sequence>
					</xsd:complexType>
				</xsd:element>
			</xsd:choice>
			<xsd:element name="Liczbapodmiotow" type="xsd:int">
				<xsd:annotation>
					<xsd:documentation>Liczba podmiotów, którym schemat podatkowy standaryzowany został udostępniony</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="TRodzajZawiadamiajacego">
		<xsd:annotation>
			<xsd:documentation>Rodzaj zawiadamiającego</xsd:documentation>
		</xsd:annotation>
		<xsd:choice>
			<xsd:element name="Promotor">
				<xsd:annotation>
					<xsd:documentation>Promotor</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="Wspomagajacy">
				<xsd:annotation>
					<xsd:documentation>Wspomagający</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
		</xsd:choice>
	</xsd:complexType>
	<xsd:element name="Informacja">
		<xsd:annotation>
			<xsd:documentation>MDR-4 kwartalna informacja o udostępnieniu schematu podatkowego standaryzowanego </xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element name="Naglowek">
					<xsd:annotation>
						<xsd:documentation>Nagłówek informacji</xsd:documentation>
					</xsd:annotation>
					<xsd:complexType>
						<xsd:complexContent>
							<xsd:extension base="tns:TNaglowek"/>
						</xsd:complexContent>
					</xsd:complexType>
				</xsd:element>
				<xsd:element name="ZakresZgloszenia" type="tns:TZakresZgloszenia">
					<xsd:annotation>
						<xsd:documentation>Cel złożenia zawiadomienia</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element name="DaneZawiadamiajacego">
					<xsd:annotation>
						<xsd:documentation>Dane składającego</xsd:documentation>
					</xsd:annotation>
					<xsd:complexType>
						<xsd:sequence>
							<xsd:element name="RodzajZawiadamiajacego" type="tns:TRodzajZawiadamiajacego">
								<xsd:annotation>
									<xsd:documentation>Rodzaj składającego</xsd:documentation>
								</xsd:annotation>
							</xsd:element>
							<xsd:choice>
								<xsd:element name="IdOsobyFizycznej" type="mdr:TIdOsobyFizycznejPL">
									<xsd:annotation>
										<xsd:documentation>Dane identyfikacyjne osoby fizycznej mającej miejsce zamieszkania na terytorium Rzeczypospolitej Polskiej</xsd:documentation>
									</xsd:annotation>
								</xsd:element>
								<xsd:element name="IdOsobyFizycznejZag" type="mdr:TOsobaZagranicznaFizyczna">
									<xsd:annotation>
										<xsd:documentation>Dane identyfikacyjne osoby fizycznej niemającej miejsca zamieszkania na terytorium Rzeczypospolitej Polskiej</xsd:documentation>
									</xsd:annotation>
								</xsd:element>
								<xsd:element name="IdOsobyNiefizycznej">
									<xsd:annotation>
										<xsd:documentation>Dane podmiotu niebędącego osobą fizyczną</xsd:documentation>
									</xsd:annotation>
									<xsd:complexType>
										<xsd:complexContent>
											<xsd:extension base="mdr:TIdOsobyNiefizycznejMDR"/>
										</xsd:complexContent>
									</xsd:complexType>
								</xsd:element>
							</xsd:choice>
							<xsd:element name="AdresZamieszkaniaSiedziby" type="mdr:TAdres">
								<xsd:annotation>
									<xsd:documentation>Adres zamieszkania / siedziby</xsd:documentation>
								</xsd:annotation>
							</xsd:element>
						</xsd:sequence>
					</xsd:complexType>
				</xsd:element>
				<xsd:element name="DaneKorzystajacego" minOccurs="0" maxOccurs="unbounded">
					<xsd:annotation>
						<xsd:documentation>Wykaz podmiotów, które zwoliniły promotora / wspomagającego z obowiązku zachowania prawnie chronionej tajemnicy zawodowej</xsd:documentation>
					</xsd:annotation>
					<xsd:complexType>
						<xsd:sequence>
							<xsd:choice>
								<xsd:element name="IdOsobyFizycznej" type="mdr:TIdOsobyFizycznejPL">
									<xsd:annotation>
										<xsd:documentation>Dane identyfikacyjne osoby fizycznej mającej miejsce zamieszkania na terytorium Rzeczypospolitej Polskiej</xsd:documentation>
									</xsd:annotation>
								</xsd:element>
								<xsd:element name="IdOsobyFizycznejZag" type="mdr:TOsobaZagranicznaFizyczna">
									<xsd:annotation>
										<xsd:documentation>Dane identyfikacyjne osoby fizycznej niemającej miejsca zamieszkania na terytorium Rzeczypospolitej Polskiej</xsd:documentation>
									</xsd:annotation>
								</xsd:element>
								<xsd:element name="IdOsobyNiefizycznej">
									<xsd:annotation>
										<xsd:documentation>Dane podmiotu niebędącego osobą fizyczną</xsd:documentation>
									</xsd:annotation>
									<xsd:complexType>
										<xsd:complexContent>
											<xsd:extension base="mdr:TIdOsobyNiefizycznejMDR"/>
										</xsd:complexContent>
									</xsd:complexType>
								</xsd:element>
							</xsd:choice>
							<xsd:element name="AdresZamieszkaniaSiedziby" type="mdr:TAdres">
								<xsd:annotation>
									<xsd:documentation>Adres zamieszkania / siedziby</xsd:documentation>
								</xsd:annotation>
							</xsd:element>
						</xsd:sequence>
					</xsd:complexType>
				</xsd:element>
				<xsd:element name="DodatkoweWyjasnienia" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation>Dodatkowe wyjaśnienia. Pole wymagane w przypadku złożenia uzupełnienia.</xsd:documentation>
					</xsd:annotation>
					<xsd:simpleType>
						<xsd:restriction base="xsd:string">
							<xsd:maxLength value="10000"/>
						</xsd:restriction>
					</xsd:simpleType>
				</xsd:element>
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>
</xsd:schema>
