XDR Schema

The XML-Data Reduced (XDR) schema defines the individual elements, attributes, and relations used in the XML structure.

  <?xml version="1.0" ?> 
- <Schema name="MSCommerceCatalogCollection2" xmlns:dt="urn:schemas-microsoft-com:datatypes" xmlns="urn:schemas-microsoft-com:xml-data">
  <AttributeType name="name" dt:type="string" required="yes" /> 
  <AttributeType name="id" dt:type="string" required="no" /> 
  <AttributeType name="dataType" dt:type="enumeration" dt:values="string number bignumber datetime money real float currency boolean enumeration filename text" required="yes" /> 
  <AttributeType name="Value" dt:type="string" required="no" /> 
  <AttributeType name="language" dt:type="string" required="no" /> 
  <AttributeType name="Definition" dt:type="string" required="no" /> 
  <AttributeType name="DateChanged" dt:type="datetime" required="no" /> 
  <AttributeType name="action" dt:type="enumeration" dt:values="add delete" required="no" /> 
  <AttributeType name="pricingCategory" dt:type="string" required="no" /> 
  <AttributeType name="MaxLength" dt:type="number" required="no" /> 
  <AttributeType name="Artist" dt:type="string" required="no" /> 
  <AttributeType name="Author" dt:type="string" required="no" /> 
  <AttributeType name="Benefits" dt:type="string" required="no" /> 
  <AttributeType name="Binding" dt:type="string" required="no" /> 
  <AttributeType name="City" dt:type="string" required="no" /> 
  <AttributeType name="Classification" dt:type="number" required="no" /> 
  <AttributeType name="ClassificationDomain" dt:type="string" required="no" /> 
  <AttributeType name="Color" dt:type="string" required="no" /> 
  <AttributeType name="ColorPrinting" dt:type="string" required="no" /> 
  <AttributeType name="Cordless" dt:type="string" required="no" /> 
  <AttributeType name="Country_x0020_of_x0020_Origin" dt:type="string" required="no" /> 
  <AttributeType name="Description" dt:type="string" required="no" /> 
  <AttributeType name="DPI" dt:type="number" required="no" /> 
  <AttributeType name="EventDate" dt:type="datetime" required="no" /> 
  <AttributeType name="Features" dt:type="string" required="no" /> 
  <AttributeType name="Gender" dt:type="string" required="no" /> 
  <AttributeType name="Image_filename" dt:type="string" required="no" /> 
  <AttributeType name="Image_height" dt:type="number" required="no" /> 
  <AttributeType name="Image_width" dt:type="number" required="no" /> 
  <AttributeType name="ISBN" dt:type="string" required="no" /> 
  <AttributeType name="JeansColor" dt:type="string" required="no" /> 
  <AttributeType name="JeansSize" dt:type="string" required="no" /> 
  <AttributeType name="Label" dt:type="string" required="no" /> 
  <AttributeType name="Licencetype" dt:type="string" required="no" /> 
  <AttributeType name="Manufacturer" dt:type="string" required="no" /> 
  <AttributeType name="ManufacturerPartID" dt:type="string" required="no" /> 
  <AttributeType name="MinutesDuration" dt:type="number" required="no" /> 
  <AttributeType name="Name" dt:type="string" required="no" /> 
  <AttributeType name="Os" dt:type="string" required="no" /> 
  <AttributeType name="PPM" dt:type="number" required="no" /> 
  <AttributeType name="PrintingTechnology" dt:type="string" required="no" /> 
  <AttributeType name="prodid" dt:type="string" required="no" /> 
  <AttributeType name="product_name" dt:type="string" required="no" /> 
  <AttributeType name="producturl" dt:type="string" required="no" /> 
  <AttributeType name="Publication_x0020_Year" dt:type="number" required="no" /> 
  <AttributeType name="Publisher" dt:type="string" required="no" /> 
  <AttributeType name="RemotelyConfigurable" dt:type="string" required="no" /> 
  <AttributeType name="ScrollWheel" dt:type="string" required="no" /> 
  <AttributeType name="SKU" dt:type="string" required="no" /> 
  <AttributeType name="System_Requirements" dt:type="string" required="no" /> 
  <AttributeType name="Title" dt:type="string" required="no" /> 
  <AttributeType name="UN_x002f_SPSC" dt:type="string" required="no" /> 
  <AttributeType name="Unit_x0020_of_x0020_measure" dt:type="string" required="no" /> 
  <AttributeType name="Unit_of_measure" dt:type="string" required="no" /> 
  <AttributeType name="UNSPSC" dt:type="string" required="no" /> 
  <AttributeType name="Vendor_x0020_Code" dt:type="string" required="no" /> 
  <AttributeType name="Venue" dt:type="string" required="no" /> 
  <AttributeType name="Voltage" dt:type="number" required="no" /> 
  <AttributeType name="Watts" dt:type="number" required="no" /> 
  <AttributeType name="Weight" dt:type="float" required="no" /> 
- <ElementType name="MSCommerceCatalogCollection2">
  <AttributeType name="version" dt:type="string" required="yes" /> 
  <element type="CatalogSchema" minOccurs="1" maxOccurs="1" /> 
  <element type="Catalog" minOccurs="0" maxOccurs="*" /> 
  <attribute type="version" /> 
  </ElementType>
- <ElementType name="CatalogSchema">
  <element type="Property" minOccurs="0" maxOccurs="*" /> 
  <element type="Definition" minOccurs="0" maxOccurs="*" /> 
  <element type="AttributeDefinition" minOccurs="0" maxOccurs="*" /> 
  </ElementType>
- <ElementType name="Property" model="open">
  <AttributeType name="MinValue" dt:type="string" required="no" /> 
  <AttributeType name="MaxValue" dt:type="string" required="no" /> 
  <AttributeType name="IsFreeTextSearchable" dt:type="boolean" required="no" /> 
  <AttributeType name="IncludeInSpecSearch" dt:type="boolean" required="no" /> 
  <AttributeType name="DisplayOnSite" dt:type="boolean" required="no" /> 
  <AttributeType name="AssignAll" dt:type="boolean" required="no" /> 
  <AttributeType name="ExportToDW" dt:type="boolean" required="no" /> 
  <AttributeType name="DisplayInProductsList" dt:type="boolean" required="no" /> 
  <AttributeType name="currency" dt:type="string" required="no" /> 
  <AttributeType name="IsRequired" dt:type="boolean" required="no" /> 
  <AttributeType name="Multilingual" dt:type="string" required="no" /> 
  <attribute type="name" /> 
  <attribute type="id" /> 
  <attribute type="dataType" /> 
  <attribute type="DateChanged" /> 
  <attribute type="MinValue" /> 
  <attribute type="MaxValue" /> 
  <attribute type="IsFreeTextSearchable" /> 
  <attribute type="IncludeInSpecSearch" /> 
  <attribute type="DisplayOnSite" /> 
  <attribute type="AssignAll" /> 
  <attribute type="ExportToDW" /> 
  <attribute type="DisplayInProductsList" /> 
  <attribute type="currency" /> 
  <attribute type="IsRequired" /> 
  <attribute type="Multilingual" /> 
  <element type="DefaultValue" minOccurs="0" maxOccurs="*" /> 
  <element type="displayName" minOccurs="0" maxOccurs="*" /> 
  <element type="PropertyValue" minOccurs="0" maxOccurs="*" /> 
  </ElementType>
- <ElementType name="PropertyValue">
  <AttributeType name="displayName" dt:type="string" required="yes" /> 
  <attribute type="language" /> 
  <attribute type="displayName" /> 
  </ElementType>
- <ElementType name="AttributeDefinition">
  <attribute type="name" /> 
  <attribute type="dataType" /> 
  <attribute type="MaxLength" /> 
  </ElementType>
- <ElementType name="Definition">
  <AttributeType name="DefinitionType" required="yes" dt:type="enumeration" dt:values="product category" /> 
  <attribute type="name" /> 
  <attribute type="DefinitionType" /> 
  <attribute type="DateChanged" /> 
  <element type="DefProperty" /> 
  <element type="DefVariantProperty" /> 
  </ElementType>
  <ElementType name="DefProperty" /> 
  <ElementType name="DefVariantProperty" /> 
  <ElementType name="ParentCategory" /> 
- <ElementType name="Category">
  <AttributeType name="isSearchable" dt:type="boolean" required="no" /> 
  <AttributeType name="listprice" dt:type="string" required="no" /> 
  <AttributeType name="PrimaryParentCategory" dt:type="string" required="no" /> 
  <attribute type="Definition" /> 
  <attribute type="name" /> 
  <attribute type="id" /> 
  <attribute type="DateChanged" /> 
  <attribute type="action" /> 
  <attribute type="isSearchable" /> 
  <attribute type="listprice" /> 
  <attribute type="PrimaryParentCategory" /> 
  <attribute type="Description" /> 
  <attribute type="Image_filename" /> 
  <attribute type="Image_height" /> 
  <attribute type="Image_width" /> 
  <element type="ParentCategory" minOccurs="0" maxOccurs="*" /> 
  <element type="displayName" minOccurs="0" maxOccurs="*" /> 
  <element type="Relationship" minOccurs="0" maxOccurs="*" /> 
  </ElementType>
- <ElementType name="Product">
  <AttributeType name="PrimaryParentCategory" dt:type="string" required="no" /> 
  <AttributeType name="listprice" dt:type="string" required="yes" /> 
  <attribute type="Definition" /> 
  <attribute type="id" /> 
  <attribute type="PrimaryParentCategory" /> 
  <attribute type="pricingCategory" /> 
  <attribute type="DateChanged" /> 
  <attribute type="action" /> 
  <attribute type="listprice" /> 
  <attribute type="Artist" /> 
  <attribute type="Author" /> 
  <attribute type="Benefits" /> 
  <attribute type="City" /> 
  <attribute type="Classification" /> 
  <attribute type="ClassificationDomain" /> 
  <attribute type="ColorPrinting" /> 
  <attribute type="Cordless" /> 
  <attribute type="Country_x0020_of_x0020_Origin" /> 
  <attribute type="Description" /> 
  <attribute type="EventDate" /> 
  <attribute type="Features" /> 
  <attribute type="Image_filename" /> 
  <attribute type="Image_height" /> 
  <attribute type="Image_width" /> 
  <attribute type="Label" /> 
  <attribute type="Licencetype" /> 
  <attribute type="Manufacturer" /> 
  <attribute type="ManufacturerPartID" /> 
  <attribute type="MinutesDuration" /> 
  <attribute type="Name" /> 
  <attribute type="Os" /> 
  <attribute type="PPM" /> 
  <attribute type="PrintingTechnology" /> 
  <attribute type="prodid" /> 
  <attribute type="product_name" /> 
  <attribute type="producturl" /> 
  <attribute type="Publication_x0020_Year" /> 
  <attribute type="Publisher" /> 
  <attribute type="RemotelyConfigurable" /> 
  <attribute type="ScrollWheel" /> 
  <attribute type="SKU" /> 
  <attribute type="System_Requirements" /> 
  <attribute type="Title" /> 
  <attribute type="Unit_of_measure" /> 
  <attribute type="Venue" /> 
  <attribute type="Weight" /> 
  <element type="ParentCategory" minOccurs="0" maxOccurs="*" /> 
  <element type="Relationship" minOccurs="0" maxOccurs="*" /> 
  <element type="ProductVariant" minOccurs="0" maxOccurs="*" /> 
  </ElementType>
- <ElementType name="ProductVariant">
  <AttributeType name="listprice" dt:type="string" required="yes" /> 
  <attribute type="Binding" /> 
  <attribute type="Color" /> 
  <attribute type="ISBN" /> 
  <attribute type="JeansColor" /> 
  <attribute type="JeansSize" /> 
  <attribute type="SKU" /> 
  <attribute type="listprice" /> 
  <attribute type="id" /> 
  <attribute type="DateChanged" /> 
  <attribute type="action" /> 
  </ElementType>
- <ElementType name="Catalog">
  <AttributeType name="currency" dt:type="string" required="no" /> 
  <AttributeType name="DefaultLanguage" dt:type="string" required="no" /> 
  <AttributeType name="ReportingLanguage" dt:type="string" required="no" /> 
  <AttributeType name="languages" dt:type="string" required="no" /> 
  <AttributeType name="locale" dt:type="string" required="no" /> 
  <AttributeType name="startDate" dt:type="string" required="no" /> 
  <AttributeType name="endDate" dt:type="string" required="no" /> 
  <AttributeType name="productUID" dt:type="string" required="yes" /> 
  <AttributeType name="variantUID" dt:type="string" required="no" /> 
  <AttributeType name="weight_measuring_unit" dt:type="string" required="no" /> 
  <element type="Category" minOccurs="0" maxOccurs="*" /> 
  <element type="Product" minOccurs="0" maxOccurs="*" /> 
  <element type="displayName" minOccurs="0" maxOccurs="*" /> 
  <attribute type="name" /> 
  <attribute type="currency" /> 
  <attribute type="DefaultLanguage" /> 
  <attribute type="ReportingLanguage" /> 
  <attribute type="languages" /> 
  <attribute type="locale" /> 
  <attribute type="startDate" /> 
  <attribute type="endDate" /> 
  <attribute type="productUID" /> 
  <attribute type="variantUID" /> 
  <attribute type="weight_measuring_unit" /> 
  </ElementType>
- <ElementType name="Relationship">
  <AttributeType name="targetCatalog" required="no" dt:type="string" /> 
  <AttributeType name="targetCategory" required="no" dt:type="string" /> 
  <AttributeType name="targetProduct" required="no" dt:type="string" /> 
  <attribute type="name" /> 
  <attribute type="targetCatalog" /> 
  <attribute type="targetCategory" /> 
  <attribute type="targetProduct" /> 
  <element type="RelationshipDescription" minOccurs="0" maxOccurs="*" /> 
  </ElementType>
- <ElementType name="RelationshipDescription">
  <attribute type="language" /> 
  <attribute type="Value" /> 
  </ElementType>
- <ElementType name="displayName">
  <attribute type="language" /> 
  <attribute type="Value" /> 
  </ElementType>
- <ElementType name="DefaultValue">
  <attribute type="language" /> 
  <attribute type="Value" /> 
  </ElementType>
  </Schema>

Copyright © 2005 Microsoft Corporation.
All rights reserved.