<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://www.mf.gov.pl/SENT/2017/12/08/SENT_460.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_460.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">
      SENT460 - Rejestracja usługi zewnętrznych systemów lokalizacyjnych (ZSL) operatora
    </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">
      SENT460 - Registration external location systems (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_460">
    <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="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="0" name="ZSLCarrier" type="tp:Trader">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Informacje o przewoźniku rejestrującym urządzenia GPS
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              Information about the carrier registering GPS devices
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element maxOccurs="1" minOccurs="1" name="ZSLCommunicationChannel">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Informacje o adresach IP usługi ZSL zarejestrowanej przez operatora
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              Information about the IP addresses of the ZSL service registered by the operator
            </xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element maxOccurs="10" minOccurs="1" name="IPAddress" type="tp:IPAddress">
                <xs:annotation>
                  <xs:documentation source="doc" xml:lang="pl">
                    Adresy IPv4, z których usługa ZSL będzie przesyłała dane do usługi SENT-GEO
                  </xs:documentation>
                  <xs:documentation source="doc" xml:lang="en">
                    IPv4 addresses from which the ZSL service will send data to SENT-GEO service
                  </xs:documentation>
                </xs:annotation>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element maxOccurs="1" minOccurs="1" name="CSRBase" type="xs:base64Binary">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Żądanie podpisania i wystawienia certyfikatu dla domeny wskazanej przez operatora usługi ZSL
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              A request to sign and issue a certificate the domain of the ZSL service operator
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element maxOccurs="1" minOccurs="1" name="AdministratorServices" type="tp:AdministratorServices">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Informacje kontaktowe do administratora operatora usługi ZSL
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              Contact information to the administrator of the ZSL service operator
            </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">
              Uwagi
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              Comments
            </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 - adresy email lub Webservice, na które system SENT odeśle komunikat zwrotny (np. potwierdzenie, odpowiedź)
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              Feedback communication channel - e-mail address or Webservice to which the SENT system returns the message (e.g. confirmation, answer)
            </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świadczenie o posiadaniu upoważnienia do działania w imieniu podmiotu zobowiązanego do wypełnienia i przesłania zgłoszenia
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              Declaration on having the authorization to act on behalf of the entity obliged to fill and send the notification
            </xs:documentation>
          </xs:annotation>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>