<?xml version="1.0" encoding="ISO-8859-1"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
         <xs:element name="Message" type="MessageType"/>
         <xs:complexType name="MessageType">
             <xs:sequence>
                 <xs:element name="header" type="headerType"/>
                 <xs:element name="DATA" type="dataType"/>
             </xs:sequence>
             <xs:attribute name="version" type="xs:string"/>
         </xs:complexType>
         <xs:complexType name="headerType">
             <xs:sequence>
                 <xs:element name="portfolio" type="nonEmptyString"/>
                 <xs:element name="sequence" type="xs:integer"/>
                 <xs:element name="filenumber" type="xs:integer"/>
                 <xs:element name="retrynumber" type="xs:integer"/>
                 <xs:element name="source" type="nonEmptyString"/>
                 <xs:element name="datecreated" type="xs:dateTime"/>
                 <xs:element name="version" type="versionType"/>
                 <xs:element name="periodstartdate" type="xs:date"/>
                 <xs:element name="periodenddate" type="xs:date"/>
             </xs:sequence>
         </xs:complexType>
         <xs:simpleType name="versionType">
             <xs:restriction base="xs:string">
                 <xs:enumeration value="1.1"/>
                 <xs:enumeration value="1.2"/>
                 <xs:enumeration value="2.0"/>
                 <xs:enumeration value="2.1"/>
                 <xs:enumeration value="3.0"/>
             </xs:restriction>
         </xs:simpleType>
    </xs:schema>