File Differences Analysis

Generated by CSDiff on 2002/01/03 3:26 PM

Base file: Schema 2_0\ChangeBillingOptionReject.xsd

Compared file: schemas_211201\ChangeBillingOptionReject.xsd

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

<!-- Change Billing Option Reject Response 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"/>

<!--                                                            -->
<!--    Change Billing Option Reject Response Main Section      -->
<!--                                                            -->

    <xsd:complexType name = "ChangeBillingOptionReject">
        <xsd:sequence>
            <xsd:element name = "RejectInformation"     type = "RejectInformation" minOccurs = "1" maxOccurs = "unbounded"/>
            <xsd:element name = "ConsumerInformation"   type = "ConsumerInformationWithContact"/>
            <xsd:element name = "AccountInformation"    type = "AccountInformationChangeBillingOptionReject"/>
            <xsd:element name = "ServiceInformation"    minOccurs = "0" maxOccurs = "unbounded">
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:choice>
                            <xsd:element name = "UnmeteredInformation"  type = "UnmeteredInformationChangeBillingOptionReject"/>
                            <xsd:element name = "MeteredInformation"    type = "MeteredInformationChangeBillingOptionReject"/>
                        </xsd:choice>
                    </xsd:sequence>
                </xsd:complexType>
            </xsd:element>
        </xsd:sequence>

        <xsd:attribute name = "OriginalTransactionReferenceNumber"  type = "lengthThirty" use = "required"/> (Item #600)
    </xsd:complexType>

<!--                                                            -->
<!--    Change Billing Option Reject Response Definitions       -->
<!--                                                            -->

    <xsd:complexType name = "AccountInformationChangeBillingOptionReject">
        <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 = "SpecifiedMeterReadDate"    type = "date" minOccurs = "0" maxOccurs = "1"/>
            <xsd:element name = "BillingCycle"              type = "BillingCycle" minOccurs = "0" maxOccurs = "1"/>
        </xsd:sequence>
        <xsd:attribute name = "BillingMethod"   type = "billingMethod" use = "required"/>
        <xsd:attribute name = "ReadIndicator"   type = "readIndicatorChangeBillingOption" use = "required"/>
    </xsd:complexType>

<!-- -->
    <xsd:complexType name = "MeteredInformationChangeBillingOptionReject">
        <xsd:sequence>
            <xsd:element name = "MeterNumber"   type = "MeterNumber"/>
            <xsd:element name = "RateCode"      type = "RateCode" minOccurs="0" maxOccurs="1"/>
            <xsd:element name = "RateAmount"    type = "RateAmount" minOccurs = "0" maxOccurs = "1"/>
            <xsd:element name = "Taxes"         type = "Taxes"/>
        </xsd:sequence>
    </xsd:complexType>

<!-- -->
    <xsd:complexType name = "UnmeteredInformationChangeBillingOptionReject">
        <xsd:sequence>
            <xsd:element name = "ServiceType"   type = "lengthThirty" minOccurs = "0" maxOccurs = "1"/>
            <xsd:element name = "ServiceId"     type = "lengthThirty"/>
            <xsd:element name = "RateCode"      type = "RateCode" minOccurs="0" maxOccurs="1"/>
            <xsd:element name = "RateAmount"    type = "RateAmount" minOccurs = "0" maxOccurs = "1"/>
            <xsd:element name = "Taxes"         type = "Taxes"/>
        </xsd:sequence>
    </xsd:complexType>

</xsd:schema>