<?xml version="1.0" encoding="UTF-8"?>

<!--
 =================================================================
  Licensed Materials - Property of IBM

  WebSphere Commerce

  (C) Copyright IBM Corp. 2007, 2011 All Rights Reserved.

  US Government Users Restricted Rights - Use, duplication or
  disclosure restricted by GSA ADP Schedule Contract with
  IBM Corp.
 =================================================================
-->

<_config:URLtoOAGIS
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.ibm.com/xmlns/prod/commerce/foundation/config ../xsd/url-to-oagis.xsd " xmlns:_config="http://www.ibm.com/xmlns/prod/commerce/foundation/config">

    <!--  Only wish list is supported. Gift registry is not supported. -->	
	<_config:NounDefinitions>	
		<_config:Noun name="GiftList">
			<_config:NounElement name="Description" part="true"/>
			<_config:NounElement name="Item" part="true"/>
		</_config:Noun>	
	</_config:NounDefinitions>
	
	<_config:URLDefinitions>	
		<_config:URLParameterGroup name="wishlist" noun="GiftList">		
		
			<_config:URLParameter name="uniqueID" nounElement="/GiftListIdentifier/UniqueID" key="true" return="true" />
			<_config:URLParameter name="externalIdentifier" nounElement="/GiftListIdentifier/GiftListExternalIdentifier/ExternalIdentifier" key="false" return="true" />
			<_config:URLParameter name="storeId" nounElement="/GiftListIdentifier/GiftListExternalIdentifier/StoreIdentifier/UniqueID" key="true" return="true" />
			<_config:URLParameter name="storeName" nounElement="/GiftListIdentifier/GiftListExternalIdentifier/StoreIdentifier/ExternalIdentifier/NameIdentifier" key="false" return="true" />
			<_config:URLParameter name="storeOwnerID" nounElement="/GiftListIdentifier/GiftListExternalIdentifier/StoreIdentifier/ExternalIdentifier/@ownerID" key="false" return="true" />

			<_config:URLParameter name="descriptionName" nounElement="/Description/Name" key="false" return="true" />
			<_config:URLParameter name="description" nounElement="/Description/Description" key="false" return="true" />
			<_config:URLParameter name="guestMessage" nounElement="/Description/GuestMessage" key="false" return="true" />

			<!--  wish list item data -->	
			<_config:URLParameter name="item/giftListItemID" nounElement="/Item/GiftListItemID" key="true" return="true" />
		    <_config:URLParameter name="item/productId" nounElement="/Item/CatalogEntryIdentifier/UniqueID" key="false" return="true" />
		    <_config:URLParameter name="item/partNumber" nounElement="/Item/CatalogEntryIdentifier/ExternalIdentifier/PartNumber" key="false" return="true" />
			<_config:URLParameter name="item/storeIdentifier" nounElement="/Item/CatalogEntryIdentifier/ExternalIdentifier/StoreIdentifier" key="false" return="true" />
		    <_config:URLParameter name="item/productOwnerID" nounElement="/Item/CatalogEntryIdentifier/ExternalIdentifier/@ownerID" key="false" return="true" />
		    <_config:URLParameter name="item/quantityRequested" nounElement="/Item/QuantityRequested/@value" key="false" return="true" />
			<_config:URLParameter name="item/quantityRequestedUom" nounElement="/Item/QuantityRequested/@uom" key="false" return="true" />
		    <_config:URLParameter name="item/quantityBought" nounElement="/Item/QuantityBought/@value" key="false" return="true" />
		    <_config:URLParameter name="item/quantityBoughtUom" nounElement="/Item/QuantityBought/@uom" key="false" return="true" />
			<_config:URLParameter name="item/location" nounElement="/Item/Location" key="false" return="true" />
			<_config:URLParameter name="item/attribute/name" nounElement="/Item/Attribute/@key" key="false" return="true" />
			<_config:URLParameter name="item/attribute/value" nounElement="/Item/Attribute/@value" key="false" return="true" />
		    <_config:URLParameter name="item/itemCreatedTime" nounElement="Item/CreatedTime" key="false" return="true" />
		    <_config:URLParameter name="item/itemLastUpdate" nounElement="Item/LastUpdate" key="false" return="true" />
		    
			<_config:URLParameter name="accessSpecifier" nounElement="/AccessSpecifier/AccessSpecifier" key="false" return="true" />
			<_config:URLParameter name="manageAccessPassword" nounElement="/AccessSpecifier/ManageAccessPassword" key="false" return="true" />
			<_config:URLParameter name="guestAccessPassword" nounElement="/AccessSpecifier/GuestAccessPassword" key="false" return="false" />
			<_config:URLParameter name="guestAccessKey" nounElement="/AccessSpecifier/GuestAccessKey" key="false" return="true" />
			<_config:URLParameter name="registryAccessKey" nounElement="/AccessSpecifier/RegistryAccessKey" key="false" return="true" />

		    <_config:URLParameter name="createdTime" nounElement="/CreatedTime" key="false" return="true" />
		    <_config:URLParameter name="lastUpdate" nounElement="/LastUpdate" key="false" return="true" />
			<_config:URLParameter name="coRegistrant" nounElement="/CoRegistrant" key="false" return="true" />
		    <_config:URLParameter name="registrant" nounElement="/Registrant" key="false" return="true" />
			<_config:URLParameter name="coRegistrant" nounElement="/CoRegistrant" key="false" return="true" />
			<_config:URLParameter name="announcement" nounElement="/Announcement" key="false" return="true" />
			<_config:URLParameter name="registry" nounElement="/Registry" key="false" return="true" />
			<_config:URLParameter name="optForEmail" nounElement="/OptForEmail" key="false" return="true" />
			<_config:URLParameter name="state" nounElement="/State" key="false" return="true" />
			<_config:URLParameter name="location" nounElement="/Location" key="false" return="true" />
			<_config:URLParameter name="purchaseRecord" nounElement="/PurchaseRecord" key="false" return="true" />

		    <_config:URLParameter name="event" nounElement="/EventInformation/Event" key="false" return="true" />
			<_config:URLParameter name="preEventAddress" nounElement="/EventInformation/PreEventAddress" key="false" return="true" />
			<_config:URLParameter name="postEventAddress" nounElement="/EventInformation/PostEventAddress" key="false" return="true" />
			<_config:URLParameter name="giftCardAccepted" nounElement="/EventInformation/GiftCardAccepted" key="false" return="true" />
		    		    	    
		    <!-- UserData Section -->
		    <_config:URLParameter name="x_" nounElement="/UserData/UserDataField" key="false" return="true" type="UserData"/>
		    <_config:URLParameter name="xdesc_" nounElement="/Description/UserData/UserDataField" key="false" return="true" type="UserData"/>
		    <_config:URLParameter name="item/xitem_" nounElement="/Item/UserData/UserDataField" key="true" return="true" type="UserData"/>
			<_config:URLParameter name="xeven_" nounElement="/EventInformation/UserData/UserDataField" key="false" return="true"  type="UserData" />
			<_config:URLParameter name="xacce_" nounElement="/AccessSpecifier/UserData/UserDataField" key="false" return="true" type="UserData" />
		    
		</_config:URLParameterGroup>
	</_config:URLDefinitions>
	
</_config:URLtoOAGIS>
