Standard XML Sample and XSD Schema

Unlike most other batch files, the New and Updated Customer Export File is sent in comma separated value (CSV) format by default. TIBCO Reward can also provide this file in XML format, as well as other commonly used flat file formats (tab separated, pipe delimited format).

Important: To see New and Updated Customer Export file in its default CSV format, see below.

This file includes new customer and updated customer information. For a detailed description of TIBCO Reward’s XML shopper file format, see http://www.loyaltylab.com/schema/v1/docs/Shopper/.

A sample of a Customer file in TIBCO Reward’s XML format is at http://www.loyaltylab.com/schema/v1/samples/ShopperSample.xml.

Another example of a New and Updated Customer Export File in XML file:

<?xml version="1.0" encoding="utf-8"?>
<ShopperRegistration xmlns="http://www.instorecard.com/schema/v1/RetailIntegration/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.instorecard.com/schema/v1/RetailIntegration/ http://www.instorecard.com/schema/v1/RetailIntegration/Shopper.xsd" >
<Shopper>
<RegistrationDate>2005-07-15T14:22:00.000</RegistrationDate>
<CreationDate>2007-01-05T14:05:59.910</CreationDate>
<ShopperStatus>A</ShopperStatus>
<LoyaltyMember>1</LoyaltyMember>
<ShopperID>1381410875</ShopperID>
<InStorecardShopperID>22732884</InStorecardShopperID>
<ShopperName>
<PersonFullName>
<FirstName>GREG</FirstName>
<LastName>PETERSON</LastName>
</PersonFullName>
</ShopperName>
<ShopperAddress>
<AddressLine1>1916 SOME OLD RD</AddressLine1>
<City>MONTGOMERY</City>
<State>IL</State>
<PostalCode>60538</PostalCode>
</ShopperAddress>
<EMail>greg@loyaltylab.com</EMail>
<EMailOptIn>1</EMailOptIn>
<PhoneNumber>9999999999</PhoneNumber>
<TierInfo>
<TierName>Basic</TierName>
<TierJoinDate>2007-01-05T14:05:59.913</TierJoinDate>
</TierInfo>
<PointBalance>1001.0000</PointBalance>
<CustomAttributes>
<DateTimeType>
<CustomAttribute name="FirstPurchase" value="2006-07-19T00:00:01"/>
<CustomAttribute name="LastPurchase" value="2007-06-25T00:00:01"/>
</DateTimeType>
<NumericType>
<CustomAttribute name="TotalPurchases" value="3"/>
<CustomAttribute name="TotalDollars" value="128.94"/>
 </NumericType>
<LookupType>
<CustomAttribute name="Country" value="USA"/>
</LookupType>
</CustomAttributes>
</Shopper>
</ShopperRegistration>
Note: <SourceOfChange> is considered a deprecated data element. If it appears in a schema that you are using, or that you refer to, be aware that this data is not used and is not usable.