XDR Schema

The XML Data Reduced (XDR) schema defines the individual elements, attributes, and relations used in the XML structure of the Commerce Server 2002 order form.

<?xml version="1.0" ?> 
- <Schema name="orderform" b:BizTalkServerEditorTool_Version="1.0" b:root_reference="orderform" b:version="1.5" b:standard="XML" xmlns="urn:schemas-microsoft-com:xml-data" xmlns:dt="urn:schemas-microsoft-com:datatypes" xmlns:b="urn:schemas-microsoft-com:BizTalkServer">
  <b:SelectionFields /> 
- <ElementType name="orderform" content="eltOnly" model="open">
  <b:RecordInfo /> 
- <AttributeType name="payment_method">
  <b:FieldInfo /> 
  </AttributeType>
- <AttributeType name="billing_currency">
  <description>currency code </description> 
  <b:FieldInfo /> 
  </AttributeType>
- <AttributeType name="billing_amount">
  <b:FieldInfo /> 
  </AttributeType>
- <AttributeType name="billing_address_id">
  <b:FieldInfo /> 
  </AttributeType>
- <AttributeType name="PayloadID">
  <b:FieldInfo /> 
  </AttributeType>
- <AttributeType name="OrderID">
  <b:FieldInfo /> 
  </AttributeType>
- <AttributeType name="OrderDate">
  <b:FieldInfo /> 
  </AttributeType>
  <attribute type="payment_method" required="no" /> 
  <attribute type="billing_address_id" required="no" /> 
  <attribute type="PayloadID" required="no" /> 
  <attribute type="OrderID" required="no" /> 
  <attribute type="OrderDate" required="no" /> 
  <attribute type="billing_currency" required="no" /> 
  <attribute type="billing_amount" required="no" /> 
  <element type="From" maxOccurs="1" minOccurs="0" /> 
  <element type="To" maxOccurs="1" minOccurs="0" /> 
  <element type="Sender" maxOccurs="1" minOccurs="0" /> 
  <element type="Addresses" maxOccurs="*" minOccurs="0" /> 
  <element type="Items" maxOccurs="*" minOccurs="0" /> 
  </ElementType>
- <ElementType name="To" content="empty" model="closed">
  <b:RecordInfo /> 
- <AttributeType name="SharedSecret">
  <b:FieldInfo /> 
  </AttributeType>
- <AttributeType name="Identity">
  <b:FieldInfo /> 
  </AttributeType>
  <attribute type="Identity" required="no" /> 
  <attribute type="SharedSecret" required="no" /> 
  </ElementType>
- <ElementType name="Sender" content="empty" model="closed">
  <b:RecordInfo /> 
- <AttributeType name="SharedSecret">
  <b:FieldInfo /> 
  </AttributeType>
- <AttributeType name="Identity">
  <b:FieldInfo /> 
  </AttributeType>
  <attribute type="Identity" required="no" /> 
  <attribute type="SharedSecret" required="no" /> 
  </ElementType>
- <ElementType name="Items" content="empty" model="open">
  <b:RecordInfo /> 
- <AttributeType name="vendorid">
  <b:FieldInfo /> 
  </AttributeType>
- <AttributeType name="shipping_method_name">
  <b:FieldInfo /> 
  </AttributeType>
- <AttributeType name="shipping_method_id">
  <b:FieldInfo /> 
  </AttributeType>
- <AttributeType name="shipping_address_id">
  <b:FieldInfo /> 
  </AttributeType>
- <AttributeType name="quantity" dt:type="string">
  <b:FieldInfo /> 
  </AttributeType>
- <AttributeType name="product_variant_id">
  <b:FieldInfo /> 
  </AttributeType>
- <AttributeType name="product_name" dt:type="string">
  <b:FieldInfo /> 
  </AttributeType>
- <AttributeType name="product_id">
  <b:FieldInfo /> 
  </AttributeType>
- <AttributeType name="product_category">
  <b:FieldInfo /> 
  </AttributeType>
- <AttributeType name="product_catalog">
  <b:FieldInfo /> 
  </AttributeType>
- <AttributeType name="description">
  <b:FieldInfo /> 
  </AttributeType>
- <AttributeType name="d_DateCreated">
  <b:FieldInfo /> 
  </AttributeType>
- <AttributeType name="cy_lineitem_total" dt:type="float">
  <b:FieldInfo /> 
  </AttributeType>
- <AttributeType name="UnitOfMeasure">
  <b:FieldInfo /> 
  </AttributeType>
- <AttributeType name="RequestedDeliveryDate">
  <b:FieldInfo /> 
  </AttributeType>
  <attribute type="quantity" required="no" /> 
  <attribute type="vendorid" required="no" /> 
  <attribute type="product_id" required="no" /> 
  <attribute type="product_variant_id" required="no" /> 
  <attribute type="product_name" required="no" /> 
  <attribute type="product_catalog" required="no" /> 
  <attribute type="product_category" required="no" /> 
  <attribute type="description" required="no" /> 
  <attribute type="shipping_address_id" required="no" /> 
  <attribute type="shipping_method_id" required="no" /> 
  <attribute type="shipping_method_name" required="no" /> 
  <attribute type="d_DateCreated" required="no" /> 
  <attribute type="cy_lineitem_total" required="no" /> 
  <attribute type="RequestedDeliveryDate" required="no" /> 
  <attribute type="UnitOfMeasure" required="no" /> 
  </ElementType>
- <ElementType name="From" content="empty" model="closed">
  <b:RecordInfo /> 
- <AttributeType name="SharedSecret">
  <b:FieldInfo /> 
  </AttributeType>
- <AttributeType name="OrganizationName" dt:type="string">
  <b:FieldInfo /> 
  </AttributeType>
- <AttributeType name="Identity">
  <b:FieldInfo /> 
  </AttributeType>
  <attribute type="Identity" required="no" /> 
  <attribute type="OrganizationName" required="no" /> 
  <attribute type="SharedSecret" required="no" /> 
  </ElementType>
- <ElementType name="Addresses" content="empty" model="open">
  <b:RecordInfo /> 
- <AttributeType name="region_code" dt:type="string">
  <b:FieldInfo /> 
  </AttributeType>
- <AttributeType name="postal_code" dt:type="string">
  <b:FieldInfo /> 
  </AttributeType>
- <AttributeType name="phone_ext" dt:type="string">
  <b:FieldInfo /> 
  </AttributeType>
- <AttributeType name="phone" dt:type="string">
  <b:FieldInfo /> 
  </AttributeType>
- <AttributeType name="last_name" dt:type="string">
  <b:FieldInfo /> 
  </AttributeType>
- <AttributeType name="first_name" dt:type="string">
  <b:FieldInfo /> 
  </AttributeType>
- <AttributeType name="country_name" dt:type="string">
  <b:FieldInfo /> 
  </AttributeType>
- <AttributeType name="country_code" dt:type="string">
  <b:FieldInfo /> 
  </AttributeType>
- <AttributeType name="city" dt:type="string">
  <b:FieldInfo /> 
  </AttributeType>
- <AttributeType name="address_name" dt:type="string">
  <b:FieldInfo /> 
  </AttributeType>
- <AttributeType name="address_line2" dt:type="string">
  <b:FieldInfo /> 
  </AttributeType>
- <AttributeType name="address_line1" dt:type="string">
  <b:FieldInfo /> 
  </AttributeType>
- <AttributeType name="AddressesDictKey">
  <b:FieldInfo /> 
  </AttributeType>
  <attribute type="first_name" required="no" /> 
  <attribute type="last_name" required="no" /> 
  <attribute type="address_name" required="no" /> 
  <attribute type="address_line1" required="no" /> 
  <attribute type="address_line2" required="no" /> 
  <attribute type="city" required="no" /> 
  <attribute type="region_code" required="no" /> 
  <attribute type="postal_code" required="no" /> 
  <attribute type="country_code" required="no" /> 
  <attribute type="country_name" required="no" /> 
  <attribute type="phone" required="no" /> 
  <attribute type="phone_ext" required="no" /> 
  <attribute type="AddressesDictKey" required="no" /> 
  </ElementType>
  </Schema>

Copyright © 2005 Microsoft Corporation.
All rights reserved.