File Differences Analysis

Generated by CSDiff on 2002/01/03 4:11 PM

Base file: Schema 2_0\StatusAdvice.xsd

Compared file: schemas_211201\StatusAdvice.xsd

<?xml version = "1.0" encoding = "ISO-8859-1"?>

<!-- Status Advice Schema for Ontario v2.0 2001/08/031 2001/12/21 -->

<xsd:schema xmlns:xsd = "http://www.w3.org/2001/XMLSchema"  
        xmlns = "http://www.oeb.gov.on.ca/" (Item #570)
        targetNamespace = "http://www.oeb.gov.on.ca/" (Item #570)
        elementFormDefault="qualified">

    <xsd:include schemaLocation = "SimpleTypes.xsd"/>
    <xsd:include schemaLocation = "CommonTypes.xsd"/>
    
<!--                                    -->
<!-- Status Advice Main Section         -->
<!--                                    -->
        
    <xsd:complexType name = "StatusAdvice">
        <xsd:sequence>
            <xsd:element name = "StatusInformation">
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:element name = "Reason"        type = "lengthThirtyreasonStatusAdvice"/> (Item #617)
                        <xsd:element name = "ReasonText"    type = "length250" minOccurs = "0" maxOccurs = "1"/>
                    </xsd:sequence>
                </xsd:complexType>
            </xsd:element>

            <xsd:element name = "ContactInformation"    type = "ContactInformationMarketParticipant" minOccurs = "0" maxOccurs = "2"/>  
            <xsd:element name = "ConsumerInformation"   type = "ConsumerInformationWithContact"/>
            <xsd:element name = "AccountInformation"    type = "AccountInformationStatusAdvice"/>
        </xsd:sequence>

        <xsd:attribute name = "PIPTransactionType"  type = "pipTransactionTypeStatusAdvice" use = "requiredoptional"/> (Item #604)
        <xsd:attribute name = "EffectiveDate"       type = "date" use = "required"/>
        <xsd:attribute name = "OriginalTransactionReferenceNumber"  type = "lengthThirty" use = "optional"/> (Items #600 & 604)
    </xsd:complexType>
    
<!--                                    -->
<!-- Status Advice Definitions          -->
<!--                                    -->

    <xsd:complexType name = "AccountInformationStatusAdvice">
        <xsd:sequence>
            <xsd:element name = "ValidationInformation" type = "ValidationInformationStandard"/>
            <xsd:element name = "ConsumerAccountNumber" type = "ConsumerAccountNumber" minOccurs = "1" maxOccurs = "2"/>
            <xsd:element name = "CommodityType"         type = "commodityType"/>
        </xsd:sequence>
    </xsd:complexType>

</xsd:schema>