<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://www.mf.gov.pl/SENT/2017/12/08/SENT_466.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_466.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">
      SENT466 - Lista zarejestrowanych urządzeń GPS powiązanych z usługą ZSL
    </xs:documentation>
    <xs:documentation source="doc" xml:lang="pl">
      Podstawa prawna: Ustawa z dnia 9 marca 2017r. o systemie monitorowania drogowego i kolejowego przewozu towarów (Dz. U. poz. 708, z późn. zm.)
    </xs:documentation>
    <xs:documentation source="doc" xml:lang="en">
      SENT466 - List of registered GPS devices related to the ZSL service
    </xs:documentation>
    <xs:documentation source="doc" xml:lang="en">
      Legal basis: Act of 9 March 2017 on the road and rail transport monitoring system (Journal of Laws, item 708, with subsequest amendments)
    </xs:documentation>
  </xs:annotation>
  <xs:element name="SENT_466">
    <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="RegisteredInfo">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Informacje dotyczące rejestracji usługi ZSL w systemie SENT 
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              Information about registration of the ZSL service in the SENT system
            </xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element maxOccurs="1" minOccurs="1" name="SourceDocumentId" type="tp:DocumentSelfNumber"/>
              <xs:element maxOccurs="1" minOccurs="1" name="ChecksumOfSourceDocument" type="tp:ChecksumOfDocument"/>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element maxOccurs="1" minOccurs="1" name="ZSLOperator" type="tp:Trader">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Informacje o operatorze usługi ZSL 
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              Information about the operator of the ZSL service
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element maxOccurs="1" minOccurs="1" name="ZSLServiceNumber" type="tp:ZSLServiceNumber">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Numer usługi ZSL
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              Number of the ZSL service
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element maxOccurs="1" minOccurs="1" name="GPSDevices" type="tp:GPSDevicesDataForOperator">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Lista zarejestrowanych urządzeń GPS korzystających z usługi ZSL
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              List of registered GPS devices related to ZSL service
            </xs:documentation>
          </xs:annotation>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>