File Differences Analysis

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

Base file: Schema 2_0\ChangeBillingOptionAccept.xsd

Compared file: schemas_211201\ChangeBillingOptionAccept.xsd

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

<!-- Change Billing Option Accept 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 Accept Response Main Section          -->
<!--                                                                -->

    <xsd:complexType name = "ChangeBillingOptionAccept">
        <xsd:sequence>
            <xsd:element name = "ConsumerInformation"   type = "ConsumerInformationWithContact"/>
            <xsd:element name = "AccountInformation"    type = "AccountInformationChangeBillingOptionAccept"/>
            <xsd:element name = "ServiceInformation"    minOccurs = "0" maxOccurs = "unbounded">
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:choice>
                            <xsd:element name = "UnmeteredInformation"  type = "UnmeteredInformationChangeBillingOptionAccept"/>
                            <xsd:element name = "MeteredInformation"    type = "MeteredInformationChangeBillingOptionAccept"/>
                        </xsd:choice>
                    </xsd:sequence>
                </xsd:complexType>
            </xsd:element>
        </xsd:sequence>

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

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

    <xsd:complexType name = "AccountInformationChangeBillingOptionAccept">
        <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 = "optionalrequired"/>  (Item #576)
        <xsd:attribute name = "ReadIndicator"   type = "readIndicatorChangeBillingOption" use = "required"/>
    </xsd:complexType>

<!-- -->
    <xsd:complexType name = "MeteredInformationChangeBillingOptionAccept">
        <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 = "UnmeteredInformationChangeBillingOptionAccept">
        <xsd:sequence>
            <xsd:element name = "ServiceType"   type = "lengthThirty"/>
            <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>