<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="http://www.mf.gov.pl/SENT/2017/12/08/SENT_131.xsd" 
           xmlns:ns1="http://www.mf.gov.pl/SENT/2017/12/08/SENT_131.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">
      SENT131 - AKTUALIZACJA ZBIORCZEGO ZGŁOSZENIA PRZEWOZU TOWARU ROZPOCZYNAJĄCEGO SIĘ NA TERYTORIUM POLSKI - PODMIOT WYSYŁAJĄCY (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">
      SENT131 - UPDATE OF THE CUMULATIVE NOTIFICATION OF THE CARRIAGE OF GOODS STARTING IN THE TERRITORY OF POLAND - THE CONSIGNOR (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_131">
    <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="MultipleSentNumber" type="tp:MultipleSentNumber" minOccurs="1" maxOccurs="1">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Numer referencyjny zgłoszenia zbiorczego
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              Cumulative carriage notification number
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="SenderKey" type="tp:SenderKey" minOccurs="1" maxOccurs="1">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Klucz autoryzacyjny podmiotu wysyłającego
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              Authorisation key of the consignor
            </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="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="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: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="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 aktualizacji 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 edit 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>
