File Differences Analysis

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

Base file: Schema 2_0\MeterReject.xsd

Compared file: schemas_211201\MeterReject.xsd

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

<!-- Meter 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"/>

<!--                                                -->
<!--    Meter Reject Response Main Section          -->
<!--                                                -->

    <xsd:complexType name = "MeterReject">
        <xsd:sequence>
            <xsd:element name = "RejectInformation"     type = "RejectInformation" minOccurs = "1" maxOccurs = "unbounded"/>
            <xsd:element name = "ConsumerInformation"   type = "ConsumerInformationStandard"/>
            <xsd:element name = "AccountInformation"    type = "AccountInformationMeterReject"/>
            <xsd:element name = "ServiceInformation"    minOccurs = "0" maxOccurs = "unbounded">
                <xsd:complexType>
                    <xsd:choice>
                        <xsd:element name = "UnmeteredInformation"  type = "UnmeteredInformationMeterReject"/>
                        <xsd:element name = "MeteredInformation"    type = "MeteredInformationMeterReject"/>
                    </xsd:choice>
                </xsd:complexType>
            </xsd:element>
        </xsd:sequence>

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

<!--                                                -->
<!--    Meter Reject Response Definitions           -->
<!--                                                -->

    <xsd:complexType name = "AccountInformationMeterReject">
        <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:complexType name = "MeteredInformationMeterReject">
        <xsd:sequence>
            <xsd:element name = "MeterNumber"   type = "MeterNumber" minOccurs = "0" maxOccurs = "1"/>
            <xsd:element name = "MeterType"     type = "MeterTypeMeterReject" minOccurs = "0" maxOccurs = "1"/>
        </xsd:sequence>
        <xsd:attribute name = "MeterActivity"   type = "meterRequestActivity" use = "optionalrequired"/>  (Item #582)
    </xsd:complexType>

<!-- -->
    <xsd:complexType name = "MeterTypeMeterReject">
        <xsd:sequence>
            <xsd:element name = "MeasurementData" minOccurs = "1" maxOccurs = "unbounded">
                <xsd:complexType>
                    <xsd:attribute name = "UnitOfMeasure"  type="unitOfMeasure" use = "required"/>
                </xsd:complexType>
            </xsd:element>
        </xsd:sequence>
        <xsd:attribute name = "ReadStructure"       type = "readStructure" use = "required"/>
    </xsd:complexType>

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

</xsd:schema>