<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://www.mf.gov.pl/SENT/2017/12/08/SENT_452.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_452.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">
      SENT452 - POBRANIE DANYCH REJESTRACYJNYCH KONTA SYSTEMOWEGO PODMIOTU DEDYKOWANEGO DLA KOMUNIKACJI PRZEZ KANAŁ WEB SERVICE DIRECT (WS-DIRECT)
    </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">
      SENT452 - DOWNLOAD OF THE REGISTRATION DATA OF THE SYSTEM ACCOUNT OF THE DEDICATED ENTITY FOR COMMUNICATION VIA THE DIRECT WEB SERVICE CHANNEL (WS-DIRECT)
    </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_452">
    <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="TypeOfOperation">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Typ operacji dla administratora
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              The type of operation for the administrator
            </xs:documentation>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:integer">
              <xs:enumeration value="1">
                <xs:annotation>
                  <xs:documentation>
                    1-pobranie listy zarejestrowanych kont systemowych Podmiotu przeznaczonych do komuniacji kanałem WS-DIRECT
                  </xs:documentation>
                </xs:annotation>
              </xs:enumeration>
              <xs:enumeration value="2">
                <xs:annotation>
                  <xs:documentation>
                    2-podgląd danych pojedynczego konta systemowego podmiotu przeznacznego dla kanału WS-DIRECT
                  </xs:documentation>
                </xs:annotation>
              </xs:enumeration>
              <xs:enumeration value="3">
                <xs:annotation>
                  <xs:documentation>
                    3-zmiana hasła autoryzacyjnego do zarządzania kontem systemowym podmiotu przeznacznonym dla kanału WS-DIRECT
                  </xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element maxOccurs="1" minOccurs="0" name="TraderIdSisc" type="tp:IdSisc">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Identyfikator IDSISC Podmiotu korzystającego z kanału WS-DIRECT
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              IDDISC ID of the Entity using the WS-DIRECT channel
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element maxOccurs="1" minOccurs="0" name="WsSystemNumber" type="tp:WsSystemNumber">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Identyfikator systemu WebService
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              WebService system identifier
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element maxOccurs="1" minOccurs="0" name="NewWsOperatorPassword" type="xs:string">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Nowe hasło autoryzacyjne przypisane dla operacji wykonywanych przez operatora konta podmiotu
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              New authorization password assigned for the operations performed by the operator of the player account
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element maxOccurs="1" minOccurs="0" name="RetypeNewWsOperatorPassword" type="xs:string">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Powtórzone nowe hasło autoryzacyjne przypisane dla operacji wykonywanych przez operatora konta podmiotu
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              Repeated new authorization password assigned for the operations performed by the operator of the player's account
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element maxOccurs="1" minOccurs="1" name="CurrentWsOperatorPassword" type="xs:string">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Aktualne hasło autoryzacyjne przypisane dla operacji wykonywanych przez operatora konta podmiotu
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="en">
              The current authorization password assigned for the operations performed by the operator of the player account
            </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ś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 holding the authorisation to act on behalf of the entity obliged to fill in and send the notification
            </xs:documentation>
          </xs:annotation>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>