<?xml version="1.0" encoding="US-ASCII"?>
<!-- New Corrections XSD based on Reporting Batch V3.0 -->

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="unqualified" attributeFormDefault="unqualified">
	<xs:element name="CRACorrectionsBatch">
		<xs:annotation>
			<xs:documentation>Batch report of Corrections to be made to data already held with the Credit Reporter </xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="Batch" type="Batch"/>
				<xs:element name="Accounts">
					<xs:complexType>
						<xs:sequence maxOccurs="unbounded">
							<xs:element name="Account">
								<xs:annotation>
									<xs:documentation>Details of the account/s being Corrected</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:sequence>
										<xs:element name="AccountHeader">
											<xs:complexType>
												<xs:complexContent>
													<xs:extension base="CorrectionsAccountHeaderType"/>
												</xs:complexContent>
											</xs:complexType>
										</xs:element>
										<xs:element name="AccountDetail" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Information about the account to be corrected</xs:documentation>
											</xs:annotation>
											<xs:complexType>
												<xs:complexContent>
													<xs:extension base="AccountDetailType"/>
												</xs:complexContent>
											</xs:complexType>
										</xs:element>
                    <xs:sequence minOccurs="0" maxOccurs="unbounded">
                      <xs:element name="Customer" type="CustomerType">
												  <xs:annotation>
													  <xs:documentation>Details for the customer being corrected</xs:documentation>
												  </xs:annotation>
											  </xs:element>
                    </xs:sequence>
										<xs:sequence maxOccurs="24" minOccurs="0">
											<xs:element name="Payment">
												<xs:annotation>
													<xs:documentation>Details of Payment Status being corrected if applicable</xs:documentation>
												</xs:annotation>
												<xs:complexType>
													<xs:complexContent>
														<xs:extension base="PaymentType"/>
													</xs:complexContent>
												</xs:complexType>
											</xs:element>
										</xs:sequence>
										<xs:element name="Default" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Details of the default being corrected if applicable</xs:documentation>
											</xs:annotation>
											<xs:complexType>
												<xs:complexContent>
													<xs:extension base="DefaultType"/>
												</xs:complexContent>
											</xs:complexType>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:complexType name="Batch">
		<xs:sequence>
			<xs:element name="BatchID">
				<xs:annotation>
					<xs:documentation>Unique ID for the set of records input by the Signatory for Correction</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:minLength value="10"/>
						<xs:maxLength value="20"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="ExtractDate">
				<xs:annotation>
					<xs:documentation>NZ Date the information was extracted from the providers system</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:date"/>
				</xs:simpleType>
			</xs:element>
			<xs:element name="ExtractTime">
				<xs:annotation>
					<xs:documentation>NZ Time the information was extracted from the providers system</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:time">
						<xs:minInclusive value="00:00:00"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="ProviderReference" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Credit Provider provided control information - returned to Credit Providers on output</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:minLength value="1"/>
						<xs:maxLength value="20"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="IndustryType">
				<xs:annotation>
					<xs:documentation>Industry associated with the Credit that has been provided</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:enumeration value="F">
							<xs:annotation>
								<xs:documentation>Finance Services</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="I">
							<xs:annotation>
								<xs:documentation>Insurance Company</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="T">
							<xs:annotation>
								<xs:documentation>Telco</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="U">
							<xs:annotation>
								<xs:documentation>Utility</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="B">
							<xs:annotation>
								<xs:documentation>Bank</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
            <xs:element name="NotificationEmail" type="EmailAddressType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Email address to which batch file receipt and response file pick-up notifications will be sent</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Version">
				<xs:annotation>
					<xs:documentation>Data Exchange Standard Version number</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:length value="4"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Mode">
				<xs:annotation>
					<xs:documentation>Indicates whether use is in production or test </xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:enumeration value="P">
							<xs:annotation>
								<xs:documentation>Production Data Load</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="T">
							<xs:annotation>
								<xs:documentation>Test Data Load</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="BatchType">
				<xs:annotation>
					<xs:documentation>Indicates that this file is a Corrections load</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:enumeration value="C">
							<xs:annotation>
								<xs:documentation>Corrections Load</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="NameOfTheProvider">
				<xs:annotation>
					<xs:documentation>Name of the provider</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:minLength value="2"/>
						<xs:maxLength value="50"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="SignatoryID" type="SignatoryIDType">
				<xs:annotation>
					<xs:documentation>Unique ID for the Credit Provider supplying data</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="SignatorySubID" type="SignatorySubIDType">
				<xs:annotation>
					<xs:documentation>Unique Sub ID for the Credit Provider supplying data</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="MainContactName" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Name of person to contact if required in relation to this Batch of data</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:minLength value="2"/>
						<xs:maxLength value="40"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="MainContactEmail" type="EmailAddressType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Contact email of person</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="MainContactPhone" type="PhoneNumberType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Contact phone number of person. Includes area code and country code if outside of New Zealand</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="OptionalContactName" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Name of alternative person to contact if required in relation to this Batch of data</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:minLength value="2"/>
						<xs:maxLength value="40"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="OptionalContactEmail" type="EmailAddressType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Contact email of alternative person</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="OptionalContactPhone" type="PhoneNumberType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Contact phone number of alternative person. Includes area code and country code if outside of New Zealand</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="CorrectionsAccountHeaderType">
		<xs:sequence>
			<xs:element name="RecordID">
				<xs:annotation>
					<xs:documentation>Unique identifier for record in current batch</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:positiveInteger">
						<xs:totalDigits value="8"/>
						<xs:minInclusive value="1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="AccountID" type="AccountIDType"/>
			<xs:element name="Status" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Status of the account</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:enumeration value="A">
							<xs:annotation>
								<xs:documentation>Active</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="C">
							<xs:annotation>
								<xs:documentation>Closed</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="D">
							<xs:annotation>
								<xs:documentation>With Debt Collector, account closed with Credit Provider</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="U">
							<xs:annotation>
								<xs:documentation>With Debt Collector but account still open with Credit Provider</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="H">
							<xs:annotation>
								<xs:documentation>Hardship</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="G">
							<xs:annotation>
								<xs:documentation>Scheme of Arrangement</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="S">
							<xs:annotation>
								<xs:documentation>Suspended</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="X">
							<xs:annotation>
								<xs:documentation>Debt sold</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="I">
							<xs:annotation>
								<xs:documentation>Inactive (no utilisation))</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="N">
							<xs:annotation>
								<xs:documentation>Closed involuntarily - no further credit available and no remaining outstanding balance. Credit is terminated or otherwise ceases to be in force</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
            <xs:enumeration value="Z">
              <xs:annotation>
                <xs:documentation>Serious Credit Infringement</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="V">
              <xs:annotation>
                <xs:documentation>Credit non-compliance action</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="W">
              <xs:annotation>
                <xs:documentation>Confirmed Credit non Compliance</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="StatusDate" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Date on which change of account status occurs</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:date"/>
				</xs:simpleType>
			</xs:element>
			<xs:element name="CreditPurpose" minOccurs="0">
				<xs:annotation>
					<xs:documentation>The purpose for which credit is being provided</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:enumeration value="R">
							<xs:annotation>
								<xs:documentation>Consumer</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="TypeOfAccount" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Type of Account</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:enumeration value="AL">
							<xs:annotation>
								<xs:documentation>Auto Loan</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="CC">
							<xs:annotation>
								<xs:documentation>Credit Card</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="CA">
							<xs:annotation>
								<xs:documentation>Charge Card</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="OD">
							<xs:annotation>
								<xs:documentation>Overdraft</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="PL">
							<xs:annotation>
								<xs:documentation>Personal Loan</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="R">
							<xs:annotation>
								<xs:documentation>Equipment Hire or Rental</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="RM">
							<xs:annotation>
								<xs:documentation>Mortgage</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="TC">
							<xs:annotation>
								<xs:documentation>Telecommunications Services</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="UA">
							<xs:annotation>
								<xs:documentation>Utilities (electric / gas provider)</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="AccountDetailType">
		<xs:sequence>
			<xs:element name="OpenDate" minOccurs="0">
				<xs:annotation>
					<xs:documentation>The date the facility is setup and available to the Customer</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:date"/>
				</xs:simpleType>
			</xs:element>
			<xs:element name="PaymentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Type of loan repayment arrangement</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:enumeration value="P">
							<xs:annotation>
								<xs:documentation>Principal and Interest</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="I">
							<xs:annotation>
								<xs:documentation>Interest only</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="L">
							<xs:annotation>
								<xs:documentation>Buy now - pay later</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="F">
							<xs:annotation>
								<xs:documentation>Interest free instalments</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="X">
							<xs:annotation>
								<xs:documentation>Other</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="CreditType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Credit arrangement type for the Account</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:enumeration value="F">
							<xs:annotation>
								<xs:documentation>Fixed</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="R">
							<xs:annotation>
								<xs:documentation>Revolving</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="U">
							<xs:annotation>
								<xs:documentation>Unspecified</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="SecuredCredit" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Indicates whether the loan is Secured or Unsecured</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:enumeration value="S">
							<xs:annotation>
								<xs:documentation>Secured</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="U">
							<xs:annotation>
								<xs:documentation>Unsecured</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="TermOfLoan" minOccurs="0">
				<xs:annotation>
					<xs:documentation>The time period of the loan in months</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:length value="3"/>
						<xs:pattern value="XXX"/>
						<xs:pattern value="[1-9][0-9][0-9]"/>
						<xs:pattern value="[0-9][1-9][0-9]"/>
						<xs:pattern value="[0-9][0-9][1-9]"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="PaymentFrequency" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Payment frequency</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:enumeration value="M">
							<xs:annotation>
								<xs:documentation>Monthly</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="F">
							<xs:annotation>
								<xs:documentation>Fortnightly</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="H">
							<xs:annotation>
								<xs:documentation>Half-yearly</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="Q">
							<xs:annotation>
								<xs:documentation>Quarterly</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="W">
							<xs:annotation>
								<xs:documentation>Weekly</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="Y">
							<xs:annotation>
								<xs:documentation>Yearly</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="N">
							<xs:annotation>
								<xs:documentation>No Repayment required</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="T">
							<xs:annotation>
								<xs:documentation>30 day cycle (Telco_s)</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="V">
							<xs:annotation>
								<xs:documentation>Variable Repayment Plan</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="CreditLimit" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Original loan amount and any loan amount changes since (contractual changes). Current limit applicable to revolving credit facility accounts</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="NonNegativeCurrencyAmountType">
						<xs:minInclusive value="0"/>
						<xs:maxInclusive value="999999999"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="AccountName" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Name of the account.</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:maxLength value="40"/>
						<xs:minLength value="1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="CustomerType">
		<xs:sequence>
			<xs:element name="CustomerID" type="CustomerIDType">
				<xs:annotation>
					<xs:documentation>The unique number the Credit Provider has allocated and uses to identify the customer.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PreviousCustomerID" type="CustomerIDType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Previous Customer ID, for cases where the previously provided identifier changes.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="StartDate" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Date customer commenced involvement with account. This date typically matches the Account open date except where an Customer commenced involvement with an account at a later point in time than other Customers</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:date"/>
				</xs:simpleType>
			</xs:element>
			<xs:element name="CeaseDate" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Date customer ceased involvement with account.</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:date"/>
				</xs:simpleType>
			</xs:element>
			<xs:element name="CustomerDetail" type="CorrectionsCustomerDetailType" minOccurs="0"/>
			<xs:element name="Relationship" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Relationship Customer has with the Account</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:enumeration value="1">
							<xs:annotation>
								<xs:documentation>Individual</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="2">
							<xs:annotation>
								<xs:documentation>Joint</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="3">
							<xs:annotation>
								<xs:documentation>Guarantor</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="CorrectionsCustomerDetailType">
		<xs:sequence>
      <!--xs:element name="FormattedName" type="FormattedNameType" minOccurs="0" maxOccurs="4"/-->
      <xs:element name="PrimaryName" type="CustomerNameType" minOccurs="0"/>
      <xs:element name="PreviousName" type="CustomerNameType" minOccurs="0"/>
      <xs:element name="KnownAsName" type="CustomerNameType" minOccurs="0"/>
			<xs:element name="BirthDate" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Date of Birth of Customer </xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:date"/>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Gender" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Gender of person</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:enumeration value="M">
							<xs:annotation>
								<xs:documentation>Male</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="F">
							<xs:annotation>
								<xs:documentation>Female</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="U">
							<xs:annotation>
								<xs:documentation>Unknown / Unspecified</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Deceased" type="YesNoType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Indicator that Customer has been reported as deceased. Value 'Y' if reporting Customer as deceased.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="DriversLicenceNumber" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Drivers Licence number as issued by the NZLTA</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:length value="8"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="DriversLicenceVersionNumber" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Drivers Licence version number as issued by the NZLTA</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:length value="3"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="EmployerName" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Name of Employer</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:minLength value="2"/>
						<xs:maxLength value="100"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="PreviousEmployerName" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Name of Previous Employer</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:minLength value="2"/>
						<xs:maxLength value="100"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Occupation" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Occupation description</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:minLength value="2"/>
						<xs:maxLength value="100"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:choice>
				<xs:element name="FormattedAddress" type="FormattedAddressType" minOccurs="0" maxOccurs="3"/>
				<xs:element name="UnformattedAddress" type="UnformattedAddressType" minOccurs="0" maxOccurs="3">
					<xs:annotation>
						<xs:documentation>Free-form Address. Must contain a minimum set of Address data elements to identify a valid unique address.</xs:documentation>
					</xs:annotation>
				</xs:element>
			</xs:choice>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="PaymentType">
		<xs:sequence>
			<xs:element name="Period" type="PaymentPeriod">
				<xs:annotation>
					<xs:documentation>Year and Month for which payment is being reported</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PaymentStatus">
				<xs:annotation>
					<xs:documentation>The Payment status of the Account for the specified monthly period</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:enumeration value="N">
							<xs:annotation>
								<xs:documentation>No payment required</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="U">
							<xs:annotation>
								<xs:documentation>Unreported/Unavailable. Payment status unavailable at Bureau as a result of a Credit Provider having not provided an update for the month for example. </xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="0">
							<xs:annotation>
								<xs:documentation>Payments up-to-date as at the cycle date. Overdraft with limited agreed</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="1">
							<xs:annotation>
								<xs:documentation>Payments 1-29 days in arrears as at the cycle date. A grace period of up to 14 calendar days may be observed by individual Credit Providers</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="2">
							<xs:annotation>
								<xs:documentation>Payments 30-59 days in arrears as at the cycle date</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="3">
							<xs:annotation>
								<xs:documentation>Payments 60-89 days in arrears as at the cycle date</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="4">
							<xs:annotation>
								<xs:documentation>Payments 90-119 days in arrears as at the cycle date</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="5">
							<xs:annotation>
								<xs:documentation>Payments 120-149 days in arrears as at the cycle date</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="6">
							<xs:annotation>
								<xs:documentation>Payments 150-179 days in arrears as at the cycle date</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="X">
							<xs:annotation>
								<xs:documentation>Payments more than 180 days in arrears as at the cycle date</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="H">
							<xs:annotation>
								<xs:documentation>Customer in Hardship</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="R">
							<xs:annotation>
								<xs:documentation>An account has been re-aged by credit provider</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="DefaultType">
		<xs:sequence>
			<xs:element name="OriginalDefaultDate" minOccurs="0">
				<xs:annotation>
					<xs:documentation>This is the date that the account became in default i.e. at least 30 days</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:date"/>
				</xs:simpleType>
			</xs:element>
			<xs:element name="OriginalDueDate" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Date payment was due</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:date"/>
				</xs:simpleType>
			</xs:element>
			<xs:element name="DefaultStatus" minOccurs="0">
				<xs:annotation>
					<xs:documentation>The payment status of the debt</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:enumeration value="O">
							<xs:annotation>
								<xs:documentation>Means that the payment is still outstanding.</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="C">
							<xs:annotation>
								<xs:documentation>Current means that the account has been brought up to date and that the account is still open</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="P">
							<xs:annotation>
								<xs:documentation>Paid means that the whole account has been paid in full and that the account is now closed</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="S">
							<xs:annotation>
								<xs:documentation>Settled means that partial payment of the debt has been accepted by the creditor.</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="DefaultStatusDate" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Date of last status update on default</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:date"/>
				</xs:simpleType>
			</xs:element>
			<xs:element name="DefaultBalance" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Total amount owing (including default amount + admin and other costs)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="NonNegativeCurrencyAmountType">
						<xs:minInclusive value="0"/>
						<xs:maxInclusive value="999999999"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="OriginalDefaultAmount" minOccurs="0">
				<xs:annotation>
					<xs:documentation>The amount of the debt that is outstanding (minimum amount due)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="NonNegativeCurrencyAmountType">
						<xs:minInclusive value="100"/>
						<xs:maxInclusive value="999999999"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="LastPaymentDate" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Date last payment was made post default listing</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:date"/>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	
	<xs:complexType name="FormattedAddressType">
		<xs:sequence>
			<xs:element name="FormattedAddressType" type="AddressType" />
			<xs:element name="Property" minOccurs="0">
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:minLength value="3"/>
						<xs:maxLength value="50"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="UnitNumber" minOccurs="0">
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:minLength value="1"/>
						<xs:maxLength value="5"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="StreetNumber" minOccurs="0">
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:minLength value="1"/>
						<xs:maxLength value="8"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="StreetName" minOccurs="0">
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:minLength value="1"/>
						<xs:maxLength value="100"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="StreetType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Based on NZ PAF</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:minLength value="2"/>
						<xs:maxLength value="25"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Suburb" minOccurs="0">
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:minLength value="1"/>
						<xs:maxLength value="50"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Town">
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:minLength value="1"/>
						<xs:maxLength value="80"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Postcode" minOccurs="0">
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:minLength value="4"/>
						<xs:maxLength value="10"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="DPID" minOccurs="0">
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:length value="7"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Country" minOccurs="0">
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:minLength value="2"/>
						<xs:maxLength value="50"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
  <xs:complexType name="CustomerNameType">
    <xs:sequence>
      <xs:element name="CustomerName" type="FormattedNameType"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="FormattedNameType">
		<xs:sequence>
			<xs:element name="Family">
				<xs:annotation>
					<xs:documentation>Family Name. Also referred to as Surname</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:minLength value="1"/>
						<xs:maxLength value="100"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="First">
				<xs:annotation>
					<xs:documentation>First name</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:minLength value="2"/>
						<xs:maxLength value="100"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Middle" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Middle names. Also referred to as second names. Names must be separated by a blank.</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:minLength value="1"/>
						<xs:maxLength value="100"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Title" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Person's title, also referred to as salutation</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:minLength value="2"/>
						<xs:maxLength value="20"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="UnformattedAddressType">
		<xs:sequence minOccurs="0">
			<xs:element name="UnformattedAddressType" type="AddressType"/>
			<xs:element name="UnformattedAddressLine1">
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:minLength value="1"/>
						<xs:maxLength value="340"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="UnformattedAddressLine2" minOccurs="0">
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:minLength value="1"/>
						<xs:maxLength value="340"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		<xs:element name="UnformattedAddressSuburb" minOccurs="0">
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:minLength value="1"/>
						<xs:maxLength value="50"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="UnformattedAddressTown" minOccurs="0">
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:minLength value="1"/>
						<xs:maxLength value="80"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="UnformattedAddressPostcode" minOccurs="0">
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:minLength value="4"/>
						<xs:maxLength value="10"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="UnformattedAddressDPID" minOccurs="0">
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:length value="7"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="UnformattedAddressCountry" minOccurs="0">
				<xs:simpleType>
					<xs:restriction base="xs:token">
						<xs:minLength value="2"/>
						<xs:maxLength value="50"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:simpleType name="SignatoryIDType">
		<xs:restriction base="xs:token">
			<xs:length value="12"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="SignatorySubIDType">
		<xs:restriction base="xs:token">
			<xs:length value="12"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="AccountIDType">
		<xs:sequence>
			<xs:element name="AccountNumber" type="AccountNumberType"/>
			<xs:element name="AccountSubID" type="AccountSubIDType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>This AccountSubID may be comprised of a Portfolio ID OR Sub-Account ID OR a system-generated ID unique for the Account</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:simpleType name="AccountNumberType">
		<xs:restriction base="xs:token">
			<xs:minLength value="6"/>
			<xs:maxLength value="24"/>
			<xs:pattern value="[0-9][0-9a-zA-Z]*"/>
			<xs:pattern value="[0-9a-zA-Z]*[0-9]"/>
			<xs:pattern value="[0-9a-zA-Z]*[0-9][0-9a-zA-Z]*"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="AccountSubIDType">
		<xs:restriction base="xs:token">
			<xs:minLength value="2"/>
			<xs:maxLength value="12"/>
			<xs:pattern value="[0-9][0-9a-zA-Z]*"/>
			<xs:pattern value="[0-9a-zA-Z]*[0-9]"/>
			<xs:pattern value="[0-9a-zA-Z]*[0-9][0-9a-zA-Z]*"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="PaymentPeriod">
		<xs:restriction base="xs:token">
		<!-- Added length validation -->
			<xs:length value="7"/>
			<xs:pattern value="[2][0][0-9][0-9][-](0[1-9]|1[012])"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="CustomerIDType">
		<xs:restriction base="xs:token">
			<xs:minLength value="4"/>
			<xs:maxLength value="24"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="EmailAddressType">
		<xs:restriction base="xs:token">
			<xs:minLength value="7"/>
			<xs:maxLength value="60"/>
		    <xs:pattern value=".+@.+\.[\w\-]{2,}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="PhoneNumberType">
		<xs:restriction base="xs:token">
			<xs:minLength value="8"/>
			<xs:maxLength value="12"/>
			<xs:pattern value="[0-9 \+\(\)]*"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="AddressType">
		<xs:restriction base="xs:token">
			<xs:enumeration value="C">
				<xs:annotation>
					<xs:documentation>Current or last known address</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="P">
				<xs:annotation>
					<xs:documentation>Previous Address</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="M">
			<xs:annotation>
					<xs:documentation>Mailing Address</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="NonNegativeCurrencyAmountType">
		<xs:restriction base="xs:unsignedInt">
			<xs:totalDigits value="9"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="YesNoType">
		<xs:restriction base="xs:token">
			<xs:enumeration value="N"/>
			<xs:enumeration value="Y"/>
		</xs:restriction>
	</xs:simpleType>
</xs:schema>