Standard XML Sample File and XSD Schema
Clients provide Product data in TIBCO Reward’s native schema, ISCProduct.xsd, as published at http://www.instorecard.com/schema/v1/RetailIntegration/ISCProduct.xsd.
A sample of a product file in TIBCO Reward’s XML format is at http://www.loyaltylab.com/schema/v1/samples/RetailStoreSample.xml.
A sample of the product file in flat file format (tab separated value format) is provided in Appendix C, Flat File Formats and Examples.
Here is another sample of a product file in XML format:
- <transmission 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/RetailI ntegration/ http://www.instorecard.com/schema/v1/RetailIntegration/ISCProd uct.xsd"> <?xml-transform type="text/xslt" href="ISCLogToCustomAttributeNumeric.xslt"?> - <product_container> <caption>20 GB iPod</caption> - <department> <department_level_1>Music</department_level_1> <department_level_2>Portable Music</department_level_2> <department_level_3>MP3 Player</department_level_3> </department> <description>Apple iPod 20GB</description> - <image> <image_url>http://apple.com/ipod20GB-X.jpg</image_url> </image> - <product> <sku>56143</sku> <list_price>200.00</list_price> <brand>Apple</brand> </product> - <CustomAttributes> - <NumericType> <CustomAttribute name="StorageCapacity_GB" value="20" /> </NumericType> - <LookupType> <CustomAttribute name="Bundled" value="yes" /> <CustomAttribute name="ColorMatch" value="AppleBlue" /> </LookupType> - <TextType> <CustomAttribute name="CelebrityRecommendation" value="One of the few fine things that go in my ears. --Brett Pitt" /> </TextType> - <DateTimeType> <CustomAttribute name="ShipmentReceiptDate" value="2008-07- 14T02:03:04" /> </DateTimeType> - <MonthDayType> <CustomAttribute name="LastInventory" value="2006-07-14T00:00:00" /> </MonthDayType> </CustomAttributes> </product_container> </transmission>
Copyright © Cloud Software Group, Inc. All rights reserved.