StatusRequest
<?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="StatusRequest" type="statusRequest"/>
<xs:complexType name="statusRequest">
<xs:all>
<xs:element name="MerchantId" type="merchantId"/>
<xs:element name="TerminalId" type="terminalId" minOccurs="0"/>
<xs:element name="TrackingId" type="trackingId"/>
<xs:element ref="ds:Signature" minOccurs="0"/>
</xs:all>
</xs:complexType>
<xs:simpleType name="merchantId">
<xs:restriction base="xs:string">
<xs:pattern value="[A-Za-z0-9]{1,15}"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="terminalId">
<xs:restriction base="xs:string">
<xs:pattern value="[A-Za-z0-9]{1,8}"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="trackingId">
<xs:restriction base="xs:string">
<xs:pattern value="[A-Za-z0-9]{1,16}"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>