CardZoneResponse
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
version="1.0"
elementFormDefault="qualified"
attributeFormDefault="qualified">
<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="classpath:schemas/xmldsig-core-schema.xsd"/>
<xs:element name="CardInfo" type="cardBinInfo"/>
<xs:element name="CardZoneResponse" type="cardZoneResponse"/>
<xs:complexType name="cardZoneResponse">
<xs:all>
<xs:element name="TrackingId" type="trackingId"/>
<xs:element name="Status" type="status"/>
<xs:element name="CardFromInfo" type="cardBinInfo" minOccurs="0"/>
<xs:element name="CardToInfo" type="cardBinInfo" minOccurs="0"/>
<xs:element ref="ds:Signature" minOccurs="0"/>
</xs:all>
</xs:complexType>
<xs:complexType name="status">
<xs:all>
<xs:element name="Code" type="xs:string"/>
<xs:element name="Message" type="xs:string"/>
</xs:all>
</xs:complexType>
<xs:complexType name="cardBinInfo">
<xs:all>
<xs:element name="CountryCode" type="xs:string"/>
<xs:element name="CardType" type="xs:string"/>
<xs:element name="Brand" type="cardBrand"/>
<xs:element name="CardZone" type="cardZone"/>
</xs:all>
</xs:complexType>
<xs:simpleType name="cardBrand">
<xs:restriction base="xs:string">
<xs:enumeration value="VISA"/>
<xs:enumeration value="MAST"/>
<xs:enumeration value="MAES"/>
<xs:enumeration value="ONIX"/>
</xs:restriction>
</xs:simpleType>