<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://www.mf.gov.pl/SENT/2017/12/08/SENT_334.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_334.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">
      SENT334 - ANULOWANIE ZBIORCZEGO ZGŁOSZENIA PRZEWOZU TOWARU ROZPOCZYNAJĄCEGO I KOŃCZĄCEGO SIĘ POZA TERYTORIUM POLSKI - PRZEWOŹNIK (TRANSPORT KOLEJOWY - WIELE WAGONÓW)
    </xs:documentation>
    <xs:documentation source="doc" xml:lang="pl">
      Podstawa prawna: Art.7 ustawy z dnia 9 marca 2017r. o systemie monitorowania drogowego przewozu towarów
    </xs:documentation>
    <xs:documentation source="doc" xml:lang="en">
      SENT334 - CANCELATION OF THE CUMULATIVE NOTIFICATION OF THE CARRIAGE OF GOODS STARTING AND ENDING OUTSIDE THE TERRITORY OF POLAND - THE CARRIER (RAILWAY TRANSPORT - MULTIPLE RAILROAD CARS)
    </xs:documentation>
    <xs:documentation source="doc" xml:lang="en">
      Legal basis: Article 7 of the Act of 9 march 2017 on the monitoring system of road transport of goods
    </xs:documentation>
  </xs:annotation>
  <xs:element name="SENT_334">
    <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="CarrierKey" type="tp:CarrierKey" minOccurs="1" maxOccurs="1">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Klucz autoryzacyjny przewoźnika
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              Authorisation key of the carrier
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="CancelOfTransport" type="tp:CancelOfTransport" minOccurs="1" maxOccurs="1" >
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Informacja o anulowaniu zgłoszenia przewozu
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              Information on cancelling the notification of the carriage of goods
            </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:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>