File Differences Analysis

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

Base file: Schema 2_0\ChangeBillingOptionRequest.xsd

Compared file: schemas_211201\ChangeBillingOptionRequest.xsd

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

<!-- Change Billing Option Request 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 Request Main Section      -->
<!--                                                    -->
        
    <xsd:complexType name = "ChangeBillingOptionRequest">
        <xsd:sequence>
            <xsd:element name = "ConsumerInformation"   type = "ConsumerInformationWithContact"/>
            <xsd:element name = "AccountInformation"    type = "AccountInformationChangeBillingOptionRequest"/>
            <xsd:element name = "ServiceInformation"    minOccurs = "0" maxOccurs = "unbounded">
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:choice>
                            <xsd:element name = "UnmeteredInformation"  type = "UnmeteredInformationChangeBillingOptionRequest"/>
                            <xsd:element name = "MeteredInformation"    type = "MeteredInformationChangeBillingOptionRequest"/>
                        </xsd:choice>
                    </xsd:sequence>
                </xsd:complexType>
            </xsd:element>

        </xsd:sequence>
    </xsd:complexType>

<!--                                                    -->
<!--    Change Billing Option Request Definitions       -->
<!--                                                    -->

    <xsd:complexType name = "AccountInformationChangeBillingOptionRequest">
        <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 = "MeteredInformationChangeBillingOptionRequest">
        <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 = "UnmeteredInformationChangeBillingOptionRequest">
        <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>