<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://www.mf.gov.pl/SENT/2017/12/08/SENT_251.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_251.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">
      SENT251 - AKTUALIZACJA ZGŁOSZENIA NABYCIA TOWARU BEZ PRZEWOZU NA TERYTORIUM POLSKI - PODMIOT POŚREDNICZĄCY
    </xs:documentation>
    <xs:documentation source="doc" xml:lang="pl">
      Podstawa prawna: Art.6b ust. 2 ustawy z dnia 9 marca 2017r. o systemie monitorowania drogowego przewozu towarów
    </xs:documentation>
    <xs:documentation source="doc" xml:lang="en">
      SENT251 - UPDATE OF PURCHASE GOODS NOTIFICATION WITHOUT CARRIAGE ON THE TERRITORY OF POLAND - THE INTERMEDIATE ENTITY
    </xs:documentation>
    <xs:documentation source="doc" xml:lang="en">
      Legal basisL Article 6a paragraph 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_251">
    <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 maxOccurs="1" minOccurs="1" name="SentNumber" type="tp:SentNumber">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Numer referencyjny zgłoszenia
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              Carriage notification number
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element maxOccurs="1" minOccurs="1" name="RecipientKey" type="tp:RecipientKey">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Klucz autoryzacyjny podmiotu nabywającego
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              Authorisation key of the purchasing entity
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element maxOccurs="1" minOccurs="1" name="GoodsSender" type="tp:Trader">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Informacje o podmiocie pośredniczącym olejowym
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              Information on the intermediate entity
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element maxOccurs="1" minOccurs="1" name="GoodsRecipient" type="tp:Trader">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Informacje o odbiorcy towaru (podmiot pośredniczący lub zużywający)
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              Information on the recipient of goods (intermediate or consuming entity)
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element maxOccurs="1" minOccurs="1" name="PlaceOfDelivery" type="tp:GeoAddressPL">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Informacje o miejscu dostawy towaru
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              Information on the place of goods delivery
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element maxOccurs="1" minOccurs="0" name="Comments" type="tp:Comments">
          <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 maxOccurs="1" minOccurs="0" name="DocumentId" type="tp:DocumentSelfNumber">
          <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 maxOccurs="1" minOccurs="0" name="ResponseAddress" type="tp:ResponseAddress">
          <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 maxOccurs="1" minOccurs="1" name="Statements" type="tp:Statements">
          <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 maxOccurs="1" minOccurs="0" name="AdditionalStatements" type="tp:AdditionalStatements200">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Dodatkowe oświadczenia podmiotu odbierającego dotyczące obrotu paliwami opałowymi
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              Additional consignee declarations regarding heating fuel trading
            </xs:documentation>
          </xs:annotation>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>