File Differences Analysis

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

Base file: Schema 2_0\PaymentAdviceDetail.xsd

Compared file: schemas_211201\PaymentAdviceDetail.xsd

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

<!-- Payment Advice Detail 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"/>

<!--                                                -->
<!--    Payment Advice Detail Main Section          -->
<!--                                                -->

    <xsd:complexType name = "PaymentAdviceDetail">
        <xsd:sequence>
            <xsd:element name = "ConsumerInformation"   type = "ConsumerInformationStandard"/>
            <xsd:element name = "AccountInformation"    type = "AccountInformationPaymentAdviceDetail"/>
        </xsd:sequence>
            
        <xsd:attribute name = "TraceNumber"                     type = "lengthThirty" use="optional"/>
        <xsd:attribute name = "TransactionCrossReferenceNumber" type = "lengthThirty" use = "required"/>
    </xsd:complexType>

<!--                                                -->
<!--    Payment Advice Detail Definitions           -->
<!--                                                -->

    <xsd:complexType name = "AccountInformationPaymentAdviceDetail">
        <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:element name = "BillingCycle"          type = "BillingCycle"/>
            <xsd:element name = "RemittanceInformation" type = "RemittanceInformationPaymentAdviceDetail"/>
        </xsd:sequence>
    </xsd:complexType>

<!-- -->
    <xsd:complexType name = "RemittanceInformationPaymentAdviceDetail">
        <xsd:sequence>
            <xsd:element name = "TotalAmount"   type = "dollarAmount"/>
            <xsd:element name = "Remittance"    minOccurs = "1" maxOccurs = "unbounded">
                <xsd:complexType> 
                    <xsd:sequence>
                        <xsd:element name = "Amount"    type = "dollarAmount"/>
                    </xsd:sequence>
                    <xsd:attribute name = "RemittanceType"  type = "remittanceType" use = "required"/>
                </xsd:complexType>
            </xsd:element>
        </xsd:sequence>
    </xsd:complexType>

</xsd:schema>