Generated by
CSDiff on 2002/01/03 3:32 PM<?xml version = "1.0" encoding = "ISO-8859-1"?> <!-- Common Types 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"/> <!-- --> (Item #636) <xsd:complexType name = "AccountInformationChangeInfo"> <xsd:sequence> <xsd:element name = "ValidationInformation" type = "ValidationInformationStandard"/> <xsd:element name = "ConsumerAccountNumber" type = "ConsumerAccountNumberChangeInfo" minOccurs = "0" maxOccurs = "2"/> <xsd:element name = "BillingCycle" type = "BillingCycle" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "ServiceLocationInformation" type = "ServiceLocationInformationChangeInfo" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "BillingInformation" type = "NameWithAddressAndContactChangeInfo" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "ThirdPartyForCopiesOfBills" type = "NameWithAddressChangeInfo" minOccurs = "0" maxOccurs = "1"/> </xsd:sequence> <xsd:attribute name = "LanguagePreference" type = "languagePreference" use = "optional"/> <xsd:attribute name = "PaymentArrangement" type = "yesNo" use = "optional"/> <xsd:attribute name = "BudgetBilling" type = "yesNo" use = "optional"/> </xsd:complexType> <!-- --> <xsd:complexType name = "Address"> <xsd:sequence> <xsd:element name = "StreetAddress" type = "lengthFiftyFive" minOccurs = "1" maxOccurs = "2"/> <xsd:element name = "UnitNumber" type = "lengthTen" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "City" type = "lengthThirty"/> <xsd:element name = "Province" type = "lengthTwo"/> <xsd:element name = "PostalCode" type = "lengthTen"/> <xsd:element name = "County" type = "lengthThirty" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "CountryCode" type = "lengthThree" minOccurs = "0" maxOccurs = "1"/> </xsd:sequence> </xsd:complexType> <!-- --> (Item #636) <xsd:complexType name = "AddressChangeInfo"> <xsd:sequence> <xsd:element name = "StreetAddress" type = "lengthFiftyFiveNull" minOccurs = "0" maxOccurs = "2"/> <xsd:element name = "UnitNumber" type = "lengthTenNull" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "City" type = "lengthThirty" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "Province" type = "lengthTwo" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "PostalCode" type = "lengthTen" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "County" type = "lengthThirtyNull" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "CountryCode" type = "lengthThreeNull" minOccurs = "0" maxOccurs = "1"/> </xsd:sequence> </xsd:complexType> <!-- --> (Item #636) <xsd:complexType name = "AddressThirdPartyChangeInfo"> <xsd:sequence> <xsd:element name = "StreetAddress" type = "lengthFiftyFiveNull" minOccurs = "0" maxOccurs = "2"/> <xsd:element name = "UnitNumber" type = "lengthTenNull" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "City" type = "lengthThirtyNull" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "Province" type = "lengthTwoNull" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "PostalCode" type = "lengthTenNull" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "County" type = "lengthThirtyNull" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "CountryCode" type = "lengthThreeNull" minOccurs = "0" maxOccurs = "1"/> </xsd:sequence> </xsd:complexType> <!-- --> <xsd:complexType name = "AttributeInformation"> <xsd:sequence> <xsd:element name = "Name" type = "lengthSixty"/> <xsd:element name = "Value" type = "lengthEighty"/> </xsd:sequence> </xsd:complexType> <!-- --> <xsd:complexType name = "BillingCycle"> <xsd:simpleContent> <xsd:extension base = "lengthThree"> <xsd:attribute name = "ParticipantType" type = "participantType" use = "required"/> </xsd:extension> </xsd:simpleContent> </xsd:complexType> <!-- --> (Item #636) <xsd:complexType name = "ChangeInformation"> <xsd:sequence> <xsd:element name = "Reason" type = "lengthThirty"/> <xsd:element name = "ReasonText" type = "length250" minOccurs = "0" maxOccurs = "1"/><xsd:element name = "ElementInformation" type = "ElementInformation"/></xsd:sequence> </xsd:complexType> <!-- --> <xsd:complexType name = "ConsumerAccountNumber"> <xsd:simpleContent> <xsd:extension base = "lengthThirty"> <xsd:attribute name = "ParticipantType" type = "participantType" use = "required"/> <xsd:attribute name = "OldAccountNumber" type = "lengthThirty" use = "optional"/> <xsd:attribute name = "AccountNumberSwitchDate" type = "date" use = "optional"/> </xsd:extension> </xsd:simpleContent> </xsd:complexType> <!-- --> (Item #636) <xsd:complexType name = "ConsumerAccountNumberChangeInfo"> <xsd:simpleContent> <xsd:extension base = "lengthThirty"> <xsd:attribute name = "ParticipantType" type = "participantType" use = "required"/> <xsd:attribute name = "OldAccountNumber" type = "lengthThirtyNull" use = "optional"/> <xsd:attribute name = "AccountNumberSwitchDate" type = "dateNull" use = "optional"/> </xsd:extension> </xsd:simpleContent> </xsd:complexType> <!-- --> <xsd:complexType name = "ConsumerInformationStandard"> <xsd:sequence> <xsd:element name = "FullName" type ="lengthSixty"/> <xsd:element name = "LastName" type ="lengthTwenty" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "FirstName" type ="lengthTwenty" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "MiddleName" type ="lengthTwenty" minOccurs = "0" maxOccurs = "1"/> </xsd:sequence> </xsd:complexType> <!-- --> <xsd:complexType name = "ConsumerInformationWithContact"> <xsd:sequence> <xsd:element name = "FullName" type ="lengthSixty"/> <xsd:element name = "LastName" type ="lengthTwenty" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "FirstName" type ="lengthTwenty" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "MiddleName" type ="lengthTwenty" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "ContactInformation" type = "ContactInformationConsumer" minOccurs = "0" maxOccurs = "1"/> </xsd:sequence> </xsd:complexType> <!-- --> (Item #636) <xsd:complexType name = "ConsumerInformationChangeInfo"> <xsd:sequence> <xsd:element name = "FullName" type ="lengthSixty" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "LastName" type ="lengthTwentyNull" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "FirstName" type ="lengthTwentyNull" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "MiddleName" type ="lengthTwentyNull" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "ContactInformation" type = "ContactInformationChangeInfo" minOccurs = "0" maxOccurs = "1"/> </xsd:sequence> </xsd:complexType> <!-- --> (Item #636) <xsd:complexType name = "ContactInformationChangeInfo"> <xsd:sequence> <xsd:element name = "FullName" type = "lengthSixtyNull" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "LastName" type = "lengthTwentyNull" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "FirstName" type = "lengthTwentyNull" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "MiddleName" type = "lengthTwentyNull" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "TelephoneNumber" type = "lengthTwentyNull" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "Email" type = "lengthSixtyNull" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "FaxNumber" type = "lengthTwelveNull" minOccurs = "0" maxOccurs = "1"/> </xsd:sequence> </xsd:complexType> <!-- --> <xsd:complexType name = "ContactInformationConsumer"> <xsd:sequence> <xsd:element name = "FullName" type ="lengthSixty"/> <xsd:element name = "LastName" type ="lengthTwenty" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "FirstName" type ="lengthTwenty" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "MiddleName" type ="lengthTwenty" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "TelephoneNumber" type ="lengthTwenty" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "Email" type ="lengthSixty" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "FaxNumber" type ="lengthTwelve" minOccurs = "0" maxOccurs = "1"/> </xsd:sequence> </xsd:complexType> <!-- --> <xsd:complexType name = "ContactInformationMarketParticipant"> <xsd:sequence> <xsd:element name = "FullName" type ="lengthSixty"/> <xsd:element name = "TelephoneNumber" type ="lengthTwenty" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "Email" type ="lengthSixty" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "FaxNumber" type ="lengthTwelve" minOccurs = "0" maxOccurs = "1"/> </xsd:sequence> <xsd:attribute name = "ParticipantType" type = "participantType" use = "required"/> </xsd:complexType> <!-- --> <xsd:complexType name = "ElementInformation"> <xsd:sequence> <xsd:element name = "Name" type = "lengthSixty"/> <xsd:element name = "Value" type = "lengthEighty" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "AttributeInformation" type = "AttributeInformation" minOccurs = "0" maxOccurs = "1"/> </xsd:sequence> </xsd:complexType> <!-- --> <xsd:complexType name = "MarketParticipantAccountNumber"> <xsd:simpleContent> <xsd:extension base = "lengthThirty"> <xsd:attribute name = "ParticipantType" type = "participantType" use = "required"/> <xsd:attribute name = "OldAccountNumber" type = "lengthThirty" use = "optional"/> <xsd:attribute name = "AccountNumberSwitchDate" type = "date" use = "optional"/> </xsd:extension> </xsd:simpleContent> </xsd:complexType> <!-- --> <xsd:complexType name = "MeterNumber"> <xsd:simpleContent> <xsd:extension base = "lengthThirty"> <xsd:attribute name = "OldMeterNumber" type = "lengthThirty" use = "optional"/> <xsd:attribute name = "MeterNumberSwitchDate" type = "date" use = "optional"/> </xsd:extension> </xsd:simpleContent> </xsd:complexType> <!-- --> <xsd:complexType name = "NameWithAddress"> <xsd:sequence> <xsd:element name = "FullName" type ="lengthSixty"/> <xsd:element name = "LastName" type ="lengthTwenty" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "FirstName" type ="lengthTwenty" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "MiddleName" type ="lengthTwenty" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "Address" type = "Address"/> </xsd:sequence> </xsd:complexType> <!-- --> <xsd:complexType name = "NameWithAddressAndContact"> <xsd:sequence> <xsd:element name = "FullName" type ="lengthSixty"/> <xsd:element name = "LastName" type ="lengthTwenty" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "FirstName" type ="lengthTwenty" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "MiddleName" type ="lengthTwenty" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "Address" type = "Address"/> <xsd:element name = "ContactInformation" type = "ContactInformationConsumer" minOccurs = "0" maxOccurs = "1"/> </xsd:sequence> </xsd:complexType> <!-- --> (Item #636) <xsd:complexType name = "NameWithAddressChangeInfo"> <xsd:sequence> <xsd:element name = "FullName" type = "lengthSixtyNull" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "LastName" type = "lengthTwentyNull" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "FirstName" type = "lengthTwentyNull" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "MiddleName" type = "lengthTwentyNull" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "Address" type = "AddressThirdPartyChangeInfo" minOccurs = "0" maxOccurs = "1"/> </xsd:sequence> </xsd:complexType> <!-- --> (Item #636) <xsd:complexType name = "NameWithAddressAndContactChangeInfo"> <xsd:sequence> <xsd:element name = "FullName" type = "lengthSixty" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "LastName" type = "lengthTwentyNull" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "FirstName" type = "lengthTwentyNull" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "MiddleName" type = "lengthTwentyNull" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "Address" type = "AddressChangeInfo" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "ContactInformation" type = "ContactInformationChangeInfo" minOccurs = "0" maxOccurs = "1"/> </xsd:sequence> </xsd:complexType> <!-- --> <xsd:complexType name = "PreviousLocationAccountNumber"> <xsd:simpleContent> <xsd:extension base = "lengthThirty"> <xsd:attribute name = "ParticipantType" type = "participantType" use = "required"/> <xsd:attribute name = "OldAccountNumber" type = "lengthThirty" use = "optional"/> <xsd:attribute name = "AccountNumberSwitchDate" type = "date" use = "optional"/> </xsd:extension> </xsd:simpleContent> </xsd:complexType> <!-- --> <xsd:complexType name = "RateAmount"> <xsd:simpleContent> <xsd:extension base = "rateAmount"> <xsd:attribute name = "ParticipantType" type = "participantType" use = "required"/> </xsd:extension> </xsd:simpleContent> </xsd:complexType> <!-- --> <xsd:complexType name = "RateCode"> <xsd:simpleContent> <xsd:extension base = "lengthTen"> <xsd:attribute name = "ParticipantType" type = "participantType" use = "required"/> </xsd:extension> </xsd:simpleContent> </xsd:complexType> <!-- --> <xsd:complexType name = "RejectInformation"> <xsd:sequence> <xsd:element name = "Reason" type = "lengthThirty"/> <xsd:element name = "ReasonText" type = "length250" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "ElementInformation" type = "ElementInformation" minOccurs = "0" maxOccurs = "1"/> </xsd:sequence> </xsd:complexType> <!-- --> <xsd:complexType name = "ServiceAddress"> <xsd:sequence> <xsd:element name = "StreetAddress" type = "lengthFiftyFive" minOccurs = "1" maxOccurs = "2"/> <xsd:element name = "UnitNumber" type = "lengthTen" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "City" type = "lengthThirty"/> <xsd:element name = "Province" type = "lengthTwo"/> <xsd:element name = "PostalCode" type = "lengthTen" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "County" type = "lengthThirty" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "CountryCode" type = "lengthThree" minOccurs = "0" maxOccurs = "1"/> </xsd:sequence> </xsd:complexType> <!-- --> (Item #636) <xsd:complexType name = "ServiceAddressChangeInfo"> <xsd:sequence> <xsd:element name = "StreetAddress" type = "lengthFiftyFiveNull" minOccurs = "0" maxOccurs = "2"/> <xsd:element name = "UnitNumber" type = "lengthTenNull" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "City" type = "lengthThirty" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "Province" type = "lengthTwo" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "PostalCode" type = "lengthTenNull" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "County" type = "lengthThirtyNull" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "CountryCode" type = "lengthThreeNull" minOccurs = "0" maxOccurs = "1"/> </xsd:sequence> </xsd:complexType> <!-- --> <xsd:complexType name = "ServiceLocationInformation"> <xsd:sequence> <xsd:element name = "ServiceAddress" type = "ServiceAddress"/> <xsd:element name = "ContactInformation" type = "ContactInformationConsumer" minOccurs = "0" maxOccurs = "1"/> </xsd:sequence> </xsd:complexType> <!-- --> (Item #636) <xsd:complexType name = "ServiceLocationInformationChangeInfo"> <xsd:sequence> <xsd:element name = "ServiceAddress" type = "ServiceAddressChangeInfo" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "ContactInformation" type = "ContactInformationChangeInfo" minOccurs = "0" maxOccurs = "1"/> </xsd:sequence> </xsd:complexType> <!-- --> <xsd:complexType name = "ServicePeriod"> <xsd:sequence> <xsd:element name = "BeginDate" type = "dateTime"/> <xsd:element name = "EndDate" type = "dateTime"/> </xsd:sequence> </xsd:complexType> <!-- --> <xsd:complexType name = "Taxes"> <xsd:sequence> <xsd:element name = "Tax" minOccurs = "1" maxOccurs = "unbounded"> <xsd:complexType> <xsd:attribute name = "TaxType" type = "taxType" use = "required"/> <xsd:attribute name = "TaxExemptStatus" type = "yesNo" use = "required"/> <xsd:attribute name = "TaxExemptNumber" type = "lengthThirty" use = "optional"/> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:complexType> <!-- --> <xsd:complexType name = "UsageData"> <xsd:simpleContent> <xsd:extension base = "usageData"> <xsd:attribute name = "Measure" type = "measure" use = "optional" default = "Read"/> <xsd:attribute name = "MeasurementSignificance" type = "measurementSignificance" use = "optional"/> <xsd:attribute name = "MeterReader" type = "meterReader" use = "optional"/> </xsd:extension> </xsd:simpleContent> </xsd:complexType> <!-- --> <xsd:complexType name = "ValidationInformationFull"> <xsd:sequence> <xsd:element name = "AccountValidator" type = "lengthThirty"/> <xsd:element name = "NameValidator" type = "nameValLength"/> <xsd:element name = "AddressValidator" type = "addressValLength"/> </xsd:sequence> </xsd:complexType> <!-- --> <xsd:complexType name = "ValidationInformationStandard"> <xsd:sequence> <xsd:element name = "AccountValidator" type = "lengthThirty"/> <xsd:element name = "NameValidator" type = "nameValLength" minOccurs = "0" maxOccurs = "1"/> <xsd:element name = "AddressValidator" type = "addressValLength" minOccurs = "0" maxOccurs = "1"/> </xsd:sequence> </xsd:complexType> </xsd:schema>