<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="http://www.mf.gov.pl/SENT/2017/12/08/SENT_140.xsd"
           xmlns:ns1="http://www.mf.gov.pl/SENT/2017/12/08/SENT_140.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">
      SENT140 - REJESTRACJA ZGŁOSZENIA SPRZEDAŻY TOWARU BEZ PRZEWOZU NA TERYTORIUM POLSKI - PODMIOT SPRZEDAJĄCY
    </xs:documentation>
    <xs:documentation source="doc" xml:lang="pl">
      Podstawa prawna: Art.6a ustawy z dnia 9 marca 2017 r. o systemie monitorowania drogowego przewozu towarów
    </xs:documentation>
    <xs:documentation source="doc" xml:lang="en">
      SENT140 - REGISTRATION OF SALE GOODS NOTIFICATION WITHOUT CARRIAGE ON THE TERRITORY OF POLAND - THE SELLING ENTITY
    </xs:documentation>
    <xs:documentation source="doc" xml:lang="en">
      Legal basisL Article 6a of the Act of 9 march 2017 on the monitoring system of road transport of goods
    </xs:documentation>
  </xs:annotation>
  <xs:element name="SENT_140">
    <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="TypeOfDeclaration" type="tp:TypeOfDeclaration" minOccurs="0" maxOccurs="1" fixed="2">
          <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 sprzedającym towar
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              Data of selling etity
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="GoodsRecipient" type="tp:Trader" minOccurs="1" maxOccurs="1">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Informacje o podmiocie nabywającym towar
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              Data of receiving entity
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="GoodsInformation" type="tp:GoodsInformation" minOccurs="1" maxOccurs="10">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Dane identyfikacyjne przewożonego towaru
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              Identification data of carried 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="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:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>
