<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:cer="http://www.giif.mofnet.gov.pl/xsd/rest/certyfikaty20171017" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.giif.mofnet.gov.pl/xsd/rest/certyfikaty20171017" elementFormDefault="qualified">
   <xsd:complexType name="BlokadaCertyfikatuT">
      <xsd:sequence>
         <xsd:element name="certyfikat" type="xsd:base64Binary" minOccurs="0"/>
         <xsd:element name="certyfikatKomunikacyjny" type="xsd:base64Binary" minOccurs="0" maxOccurs="unbounded"/>
         <xsd:element name="nip" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
      </xsd:sequence>
   </xsd:complexType>
   <xsd:complexType name="RejestracjaCertyfikatuT">
      <xsd:sequence>
         <xsd:element name="certyfikat" type="xsd:base64Binary" minOccurs="0" maxOccurs="unbounded"/>
         <xsd:element name="csr" type="xsd:base64Binary" minOccurs="0"/>
         <xsd:element name="nip" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
         <xsd:element name="upowaznienie" type="xsd:base64Binary" minOccurs="0"/>
      </xsd:sequence>
   </xsd:complexType>
   <xsd:complexType name="CertyfikatyT">
      <xsd:sequence>
         <xsd:element name="certyfikat" type="cer:CertyfikatT" minOccurs="0" maxOccurs="unbounded"/>
      </xsd:sequence>
   </xsd:complexType>
   <xsd:complexType name="CertyfikatT">
      <xsd:simpleContent>
         <xsd:extension base="xsd:base64Binary">
            <xsd:attribute name="id" type="xsd:long"/>
            <xsd:attribute name="zatwierdzony" type="xsd:boolean"/>
            <xsd:attribute name="zastrzezony" type="xsd:boolean"/>
         </xsd:extension>
      </xsd:simpleContent>
   </xsd:complexType>
   <xsd:element name="blokadaCertyfikatu" type="cer:BlokadaCertyfikatuT"/>
   <xsd:element name="rejestracjaCertyfikatu" type="cer:RejestracjaCertyfikatuT"/>
   <xsd:element name="certyfikaty" type="cer:CertyfikatyT"/>
   <xsd:element name="certyfikat" type="cer:CertyfikatT"/>
</xsd:schema>
