<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:sz="http://www.mf.gov.pl/schematy/SZPROT/Typy/1.0.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.mf.gov.pl/schematy/SZPROT/DDS/1.0.xsd" targetNamespace="http://www.mf.gov.pl/schematy/SZPROT/DDS/1.0.xsd" elementFormDefault="qualified" attributeFormDefault="unqualified">
  <xs:import namespace="http://www.mf.gov.pl/schematy/SZPROT/Typy/1.0.xsd" schemaLocation="http://seap-intranet-ws:8080/seap_schematy/xsd?id=1021325"/>
  <xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="http://seap-intranet-ws:8080/seap_schematy/xsd?id=10125"/>
  <xs:element name="DDS">
    <xs:annotation>
      <xs:documentation source="rootName" xml:lang="pl">
        DDS
      </xs:documentation>
      <xs:documentation source="rootDoc" xml:lang="pl">
        Dokument do sprawy. Wniosek ogólnego przeznaczenia zawierający dokument(y) do dowolnej toczącej się jeszcze sprawy.
      </xs:documentation>
      <xs:documentation source="rootDoc" xml:lang="pl">
        Komunikat jest przekazywany przez wnioskodawcę do SZPROT PLUS.
      </xs:documentation>
      <xs:documentation source="doc" xml:lang="pl">
        Element główny.
      </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="Naglowek">
          <xs:annotation>
            <xs:documentation source="name" xml:lang="pl">
              Dane podstawowe
            </xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:attribute name="nrWlasny" use="required">
              <xs:annotation>
                <xs:documentation source="name" xml:lang="pl">
                  Numer własny wniosku
                </xs:documentation>
                <xs:documentation source="rule">
                  R18
                </xs:documentation>
                <xs:documentation source="doc" xml:lang="pl">
                  Unikalny numer służący do późniejszej identyfikacji wniosku i zapobiegający przed ponownym wysłaniem tego samego wniosku.
                </xs:documentation>
              </xs:annotation>
              <xs:simpleType>
                <xs:restriction base="xs:string">
                  <xs:maxLength value="40"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:attribute>
            <xs:attribute name="nrSprawy" use="required">
              <xs:annotation>
                <xs:documentation source="name" xml:lang="pl">
                  Numer sprawy w SZPROT
                </xs:documentation>
                <xs:documentation source="doc" xml:lang="pl">
                  Numer sprawy.
                </xs:documentation>
                <xs:documentation source="rule">
                  R32
                </xs:documentation>
              </xs:annotation>
              <xs:simpleType>
                <xs:restriction base="xs:string">
                  <xs:maxLength value="40"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:attribute>
          </xs:complexType>
        </xs:element>
        <xs:element name="Zalacznik" type="sz:PlikType" maxOccurs="9">
          <xs:annotation>
            <xs:documentation source="name" xml:lang="pl">
              Dokument/załącznik do sprawy
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="pl">
              Dane pliku dokumentu.
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="Wnioskodawca" type="sz:WnioskodawcaType">
          <xs:annotation>
            <xs:documentation source="name" xml:lang="pl">
              Wnioskodawca dokument(ów) do sprawy
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element ref="ds:Signature" minOccurs="0"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>