<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="http://www.mf.gov.pl/SENT/2017/12/08/SENT_130.xsd" 
           xmlns:ns1="http://www.mf.gov.pl/SENT/2017/12/08/SENT_130.xsd"
           xmlns:tp="http://www.mf.gov.pl/SENT/2017/12/08/STypes.xsd" 
           xmlns:xs="http://www.w3.org/2001/XMLSchema" 
           elementFormDefault="qualified" attributeFormDefault="unqualified">
  <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">
      SENT130 - REJESTRACJA ZBIORCZEGO ZGŁOSZENIA PRZEWOZU TOWARU ROZPOCZYNAJĄCEGO SIĘ NA TERYTORIUM POLSKI - PODMIOT WYSYŁAJĄCY LUB PRZEWOŹNIK (TRANSPORT KOLEJOWY - WIELE WAGONÓW)
    </xs:documentation>
    <xs:documentation source="doc" xml:lang="pl">
      Podstawa prawna: Art.5 ust.1 i 2 ustawy z dnia 9 marca 2017r. o systemie monitorowania drogowego przewozu towarów
    </xs:documentation>
    <xs:documentation source="doc" xml:lang="en">
      SENT130 - REGISTRATION OF THE CUMULATIVE NOTIFICATION OF THE CARRIAGE OF GOODS STARTING IN THE TERRITORY OF POLAND - THE CONSIGNOR OR CARRIER (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_130">
    <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="GoodsSender" type="tp:Trader" minOccurs="1" maxOccurs="1">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Informacje o podmiocie wysyłającym towar
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              Information on the consignor
            </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 lub odbiorcy towaru
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              Information on the consignee or the recipient
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="Carrier" type="tp:Trader" minOccurs="1" maxOccurs="1">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Informacje o przewoźniku towaru
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              Information on the carrier of goods
            </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:element name="GoodsCoveredByContract" type="tp:AgreementNumber" minOccurs="0" maxOccurs="1">
                <xs:annotation>
                  <xs:documentation source="doc" xml:lang="pl">
                    Sprzedaż i dostawa towaru objęta umową z podmiotem odbierającym - dotyczy oleju do celów opałowych
                  </xs:documentation>
                  <xs:documentation source="doc" xml:lang="en">
                    Sale and delivery of goods covered by the contract with the consignee - concern the oil for heating purposes
                  </xs:documentation>
                </xs:annotation>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="PurposeOfTheGoods" type="tp:PurposeOfTheGoods" minOccurs="0" maxOccurs="1">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Przeznaczenie towaru w przypadku zgłoszenia przewozu oleju opałowego
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              Information of the goods in case of transport heating oil
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="MeansOfTransport" minOccurs="1" maxOccurs="1">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Informacje o środku transportu
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              Information on the means of transport
            </xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="TrainNumber" type="tp:NumberOfMeansOfTransport" minOccurs="0" maxOccurs="1">
                <xs:annotation>
                  <xs:documentation source="doc" xml:lang="pl">
                    Numer pociągu
                  </xs:documentation>
                  <xs:documentation source="doc" xml:lang="en">
                    Train number
                  </xs:documentation>
                </xs:annotation>
              </xs:element>
              <xs:element name="WagonNumberAndAmountOfGoods" type="tp:WagonNumberAndAmountOfGoods" minOccurs="1" maxOccurs="60">
                <xs:annotation>
                  <xs:documentation source="doc" xml:lang="pl">
                    Dane identyfikacyjne wagonu z masą brutto lub objętością towaru
                  </xs:documentation>
                  <xs:documentation source="doc" xml:lang="en">
                    Railroad car identification data with the gross weight or volume of goods
                  </xs:documentation>
                </xs:annotation>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="GoodsTransportDocuments" type="tp:GoodsTransportDocuments" minOccurs="0" maxOccurs="1">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Dokumenty przewozowe towarzyszące przesyłce
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              Transport documents accompanying the consignment
            </xs:documentation>
          </xs:annotation>
        </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="PlannedStartCarriageDate" type="tp:Date" minOccurs="1" maxOccurs="1">
                <xs:annotation>
                  <xs:documentation source="doc" xml:lang="pl">
                    Planowana data rozpoczęcia przewozu towaru
                  </xs:documentation>
                  <xs:documentation source="doc" xml:lang="en">
                    Planned start date of the carriage of goods
                  </xs:documentation>
                </xs:annotation>
              </xs:element>
              <xs:element name="StartTransportDate" type="tp:Date" minOccurs="1" maxOccurs="1">
                <xs:annotation>
                  <xs:documentation source="doc" xml:lang="pl">
                    Data rozpoczęcia przewozu towaru
                  </xs:documentation>
                  <xs:documentation source="doc" xml:lang="en">
                    Start date of the carriage of goods
                  </xs:documentation>
                </xs:annotation>
              </xs:element>
              <xs:element name="EndTransportDate" type="tp:Date" minOccurs="1" maxOccurs="1">
                <xs:annotation>
                  <xs:documentation source="doc" xml:lang="pl">
                    Planowana data zakończenia przewozu towaru
                  </xs:documentation>
                  <xs:documentation source="doc" xml:lang="en">
                    Planned end date of the carriage of goods
                  </xs:documentation>
                </xs:annotation>
              </xs:element>
              <xs:element name="PlaceOfLoading" type="tp:GeoAddressPL" minOccurs="1" maxOccurs="1">
                <xs:annotation>
                  <xs:documentation source="doc" xml:lang="pl">
                    Miejsce załadunku towaru
                  </xs:documentation>
                  <xs:documentation source="doc" xml:lang="en">
                    Place of goods loading
                  </xs:documentation>
                </xs:annotation>
              </xs:element>
              <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="pl">
                    Element obligatoryjny jeśli miejsce dostarczenia towaru znajduje się na terenie Polski
                  </xs:documentation>
                  <xs:documentation source="doc" xml:lang="en">
                    Place of goods delivery
                  </xs:documentation>
                  <xs:documentation source="doc" xml:lang="en">
                    An obligatory element if the place of delivery is located in Poland
                  </xs:documentation>
                </xs:annotation>
              </xs:element>
              <xs:element name="ExitFromPoland" type="tp:ExitFromPoland" minOccurs="0" maxOccurs="1">
                <xs:annotation>
                  <xs:documentation source="doc" xml:lang="pl">
                    Miejsce wyjazdu poza terytorium Polski
                  </xs:documentation>
                  <xs:documentation source="doc" xml:lang="pl">
                    Element obligatoryjny jeśli następuje wyjazd z Polski
                  </xs:documentation>
                  <xs:documentation source="doc" xml:lang="en">
                    Place of exit from Poland
                  </xs:documentation>
                  <xs:documentation source="doc" xml:lang="en">
                    An obligatory element if Poland leaves Poland
                  </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 i uzupełnienia 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 and complete this notification for and on behalf of the obligated entity
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="AdditionalStatements" type="tp:AdditionalStatements100" minOccurs="0" maxOccurs="1">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Dodatkowe oświadczenia podmiotu wysyłającego dotyczące obrotu paliwami opałowymi
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              Additional consignor declarations regarding heating fuel trading
            </xs:documentation>
          </xs:annotation>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>
