<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://www.mf.gov.pl/SENT/2017/12/08/SENT_237.xsd" xmlns:tp="http://www.mf.gov.pl/SENT/2017/12/08/STypes.xsd" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.mf.gov.pl/SENT/2017/12/08/SENT_237.xsd">
  <xs:import namespace="http://www.mf.gov.pl/SENT/2017/12/08/STypes.xsd" schemaLocation="STypes.xsd"/>
  <xs:annotation>
    <xs:appinfo>
      SENT
    </xs:appinfo>
    <xs:documentation source="doc" xml:lang="pl">
      SENT237 - REJESTRACJA ZBIORCZEGO ZGŁOSZENIA PRZEWOZU TOWARU KOŃCZĄCEGO SIĘ NA TERYTORIUM POLSKI - PODMIOT ODBIERAJĄCY BEZ DANYCH PRZEWOŹNIKA (TRANSPORT KOLEJOWY - WIELE WAGONÓW)
    </xs:documentation>
    <xs:documentation source="doc" xml:lang="pl">
      Podstawa prawna: Art.7 ust.1 i 2 rozporządzenia z dnia 12 kwietnia 2017r. w sprawie zgloszen przewozu towarów i sposobu postępowania w przypadku niedostępności rejestru zgłoszen
    </xs:documentation>
    <xs:documentation source="doc" xml:lang="en">
      SENT237 - REGISTRATION OF THE CUMULATIVE NOTIFICATION OF THE CARRIAGE OF GOODS ENDING IN THE TERRITORY OF POLAND - THE CONSIGNEE WITHOUT CARRIER'S DATA (RAILWAY TRANSPORT - MULTIPLE RAILROAD CARS)
    </xs:documentation>
    <xs:documentation source="doc" xml:lang="en">
      Legal basis: Article 5(1,2) of the Act of 9 march 2017 on the monitoring system of road transport of goods
    </xs:documentation>
  </xs:annotation>
  <xs:element name="SENT_237">
    <xs:annotation>
      <xs:documentation source="doc" xml:lang="pl">
        Element główny komunikatu
      </xs:documentation>
      <xs:documentation source="doc" xml:lang="en">
        Main element of the message
      </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="TypeOfTransport" type="tp:TypeOfTransport" minOccurs="1" maxOccurs="1" fixed="2">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Rodzaj transportu - wyłącznie kolejowy
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              Type of transports - railway only
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="TypeOfDeclaration" type="tp:TypeOfDeclaration" minOccurs="1" maxOccurs="1">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Rodzaj zgłoszenia przewozu (np. przewóz oleju opałowego, przewóz gazu LPG)
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              Type of the carriage of goods
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="GoodsRecipient" type="tp:TraderOrPerson" minOccurs="1" maxOccurs="1">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Informacje o podmiocie odbierającym towar
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              Information on the consignee
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="GoodsSender" type="tp:Trader" minOccurs="1" maxOccurs="1">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Informacje o nadawcy towarów
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              Information on the consignor
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="CommonGoodsInformation" minOccurs="1" maxOccurs="1">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Informacje wspólne o towarze
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              Common information about the goods
            </xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CodeCnClassification" type="tp:CodeCN" minOccurs="1" maxOccurs="1">
                <xs:annotation>
                  <xs:documentation source="doc" xml:lang="pl">
                    Pozycje towarów wg Nomenklatury Scalonej - słownik PDR 1300
                  </xs:documentation>
                  <xs:documentation source="doc" xml:lang="en">
                    Code of goods according to Combined Nomenclature - PDR glossary 1300
                  </xs:documentation>
                </xs:annotation>
              </xs:element>
              <xs:element name="TotalAmountOfGoods" type="tp:Amount" minOccurs="1" maxOccurs="1">
                <xs:annotation>
                  <xs:documentation source="doc" xml:lang="pl">
                    Całkowita masa brutto lub objętość towaru
                  </xs:documentation>
                  <xs:documentation source="doc" xml:lang="en">
                    Total gross weight or volume of goods
                  </xs:documentation>
                </xs:annotation>
              </xs:element>
              <xs:element name="UnitOfMeasure" type="tp:UnitOfMeasure" minOccurs="1" maxOccurs="1">
                <xs:annotation>
                  <xs:documentation source="doc" xml:lang="pl">
                    Kod jednostki miary - słownik PDR 1303
                  </xs:documentation>
                  <xs:documentation source="doc" xml:lang="en">
                    Measurement unit code - PDR glossary 1303
                  </xs:documentation>
                </xs:annotation>
              </xs:element>
              <xs:element name="VATRate" type="tp:VATRate" minOccurs="0" maxOccurs="1">
                <xs:annotation>
                  <xs:documentation source="doc" xml:lang="pl">
                    Stawka podatku VAT - słownik PDR 1317
                  </xs:documentation>
                  <xs:documentation source="doc" xml:lang="en">
                    VAT rate - PDR glossary 1317
                  </xs:documentation>
                </xs:annotation>
              </xs:element>
              <xs:element name="WasteCode" type="tp:WasteCode" minOccurs="0" maxOccurs="1">
                <xs:annotation>
                  <xs:documentation source="doc" xml:lang="pl">
                    Kod odpadu - słownik PDR 1318
                  </xs:documentation>
                  <xs:documentation source="doc" xml:lang="en">
                    Waste code - PDR glossary 1318
                  </xs:documentation>
                </xs:annotation>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Transport" minOccurs="1" maxOccurs="1">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Informacje dotyczące przewozu towaru
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              Information on the carriage of goods
            </xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="PlaceOfDelivery" type="tp:GeoAddressPL" minOccurs="0" maxOccurs="1">
                <xs:annotation>
                  <xs:documentation source="doc" xml:lang="pl">
                    Miejsce dostarczenia towaru
                  </xs:documentation>
                  <xs:documentation source="doc" xml:lang="en">
                    Place of goods delivery
                  </xs:documentation>
                </xs:annotation>
              </xs:element>
              <xs:element name="OilHeatingAddressId" type="tp:OilHeatingAddressId" minOccurs="0" maxOccurs="1">
                <xs:annotation>
                  <xs:documentation source="doc" xml:lang="pl">
                    Kod miejsca dostawy towaru dla przewozu paliwa opałowego
                  </xs:documentation>
                  <xs:documentation source="doc" xml:lang="en">
                    Delivery place code for heating fuel carriage
                  </xs:documentation>
                </xs:annotation>
              </xs:element>
              <xs:element name="OilMobileDeviceId" type="tp:OilMobileDeviceId" minOccurs="0" maxOccurs="1">
                <xs:annotation>
                  <xs:documentation source="doc" xml:lang="pl">
                    Kod urządzenia opałowego niestacjonarnego dla przewozu oleju opałowego
                  </xs:documentation>
                  <xs:documentation source="doc" xml:lang="en">
                    Non stationary heating device code for heating oil carriage
                  </xs:documentation>
                </xs:annotation>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Comments" type="tp:Comments" minOccurs="0" maxOccurs="1">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Informacje dodatkowe
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              Additional information
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="DocumentId" type="tp:DocumentSelfNumber" minOccurs="0" maxOccurs="1">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Numer własny dokumentu
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              Own document number
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="ResponseAddress" type="tp:ResponseAddress" minOccurs="0" maxOccurs="1">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Kanały komunikacji zwrotnej
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              Feedback communication channel
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="Statements" type="tp:Statements" minOccurs="1" maxOccurs="1">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Oświadczam, że posiadam upoważnienie do złożenia niniejszego zgłoszenia w imieniu i na rzecz podmiotu zobowiązanego
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              I declare that I am authorized to submit this notification for and on behalf of the obligated entity
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="AdditionalStatements" type="tp:AdditionalStatements200" minOccurs="0" maxOccurs="1">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Dodatkowe oświadczenia podmiotu odbierającego dotyczące obrotu paliwami opałowymi
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              Additional consignee declarations regarding heating fuel trading
            </xs:documentation>
          </xs:annotation>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>