<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="http://www.mf.gov.pl/SENT/2017/12/08/SENT_120.xsd" 
           xmlns:ns1="http://www.mf.gov.pl/SENT/2017/12/08/SENT_120.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">
      SENT120 - REJESTRACJA ZBIORCZEGO ZGŁOSZENIA PRZEWOZU TOWARU ROZPOCZYNAJĄCEGO SIĘ NA TERYTORIUM POLSKI - PODMIOT WYSYŁAJĄCY (TRANSPORT DROGOWY)
    </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">
      SENT120 - REGISTRATION OF THE CUMULATIVE NOTIFICATION OF THE CARRIAGE OF GOODS STARTING IN THE TERRITORY OF POLAND - THE CONSIGNOR (ROAD TRANSPORT)
    </xs:documentation>
    <xs:documentation source="doc" xml:lang="en">
      Legal basis: Art.7.1 and 2 of the Decree of April 12 2017 on the declaration of carriage of goods and how to proceed in the event of the unavailability of a register of applications
    </xs:documentation>
  </xs:annotation>
  <xs:element name="SENT_120">
    <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="1">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Rodzaj transportu - wyłącznie drogowy
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              Type of transports - only road
            </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 przewozu towarów
            </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="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="MeansOfTransport" type="tp: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:element>
        <xs:element name="Transport" type="tp:TransportToManyRecipients" 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:element>
        <xs:element name="CommonGoodsInformation" type="tp: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:element>
        <xs:element name="ParticularRegistration" minOccurs="1" maxOccurs="1">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Informacje o odbiorcach jednostkowych
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="pl">
              Information about single recipients
            </xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence minOccurs="1" maxOccurs="20">
              <xs:element name="SingleElement" minOccurs="1" maxOccurs="1">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="SingleElementNumber" type="xs:integer" minOccurs="1" maxOccurs="1">
                      <xs:annotation>
                        <xs:documentation source="doc" xml:lang="pl">
                          Lp.
                        </xs:documentation>
                        <xs:documentation source="doc" xml:lang="pl">
                          No
                        </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">
                          Podmiot odbierający / odbiorca
                        </xs:documentation>
                        <xs:documentation source="doc" xml:lang="en">
                          Consignee / recipient
                        </xs:documentation>
                      </xs:annotation>
                    </xs:element>
                    <xs:element name="TransportToRecipient" type="tp:TransportToSingleRecipient" minOccurs="1" 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="GoodsInformation" type="tp:SingleGoodsInformation" minOccurs="1" maxOccurs="1">
                      <xs:annotation>
                        <xs:documentation source="doc" xml:lang="pl">
                          Informacje o pojedynczym towarze
                        </xs:documentation>
                        <xs:documentation source="doc" xml:lang="en">
                          Information about a single goods
                        </xs:documentation>
                      </xs:annotation>
                    </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="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="RecipientEmail" type="tp:Email" minOccurs="0" maxOccurs="1">
                      <xs:annotation>
                        <xs:documentation source="doc" xml:lang="pl">
                          Adres email podmiotu odbierającego
                        </xs:documentation>
                        <xs:documentation source="doc" xml:lang="pl">
                          Email address of the consignee / recipient
                        </xs:documentation>
                      </xs:annotation>
                    </xs:element>
                  </xs:sequence>
                </xs:complexType>
              </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: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>
