<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:yahoo:catalogspecs" xmlns="urn:yahoo:catalogspecs" elementFormDefault="qualified">
 <xs:element name="CatalogSpecs">
  <xs:complexType>
     <xs:sequence>
     <xs:element name="minprice" type="xs:decimal" minOccurs="0"/>
     <xs:element name="maxprice" type="xs:decimal" minOccurs="0"/>
     <xs:element name="imageurl" type="xs:string"/>
     <xs:element name="imagewidth" type="xs:decimal"/>
     <xs:element name="imageheight" type="xs:decimal"/>
     <xs:element name="thumburl" type="xs:string"/>
     <xs:element name="thumbheight" type="xs:decimal"/>
     <xs:element name="thumbwidth" type="xs:decimal"/>
     <xs:element name="productName" type="xs:string"/>
     <xs:element name="Description" type="xs:string" minOccurs="0"/>
     <xs:element name="SpecificationList" type="SpecificationListType" minOccurs="0"/>
     <xs:element name="UserRating" type="UserRatingType" minOccurs="0"/>
   </xs:sequence>
 </xs:complexType>
 </xs:element>
     <xs:complexType name="SpecificationListType">
      <xs:sequence>
      <xs:element name="Specification" type="SpecificationType" minOccurs="0" maxOccurs="100"/>
      </xs:sequence>
     </xs:complexType>
     <xs:complexType name="SpecificationType">
        <xs:sequence>
        <xs:element name="SpecificationLabel" type="xs:string"/>
        <xs:element name="SpecificationValue" type="xs:string"/>
       </xs:sequence>
    </xs:complexType>
 <xs:complexType name="UserRatingType">
    <xs:sequence>
    <xs:element name="MaxRating" type="RatingValueType"/>
    <xs:element name="NumRatings" type="xs:nonNegativeInteger"/>
    <xs:element name="AverageRating" type="RatingValueType"/>
    <xs:element name="RatingUrl" type="xs:string"/>
    <xs:element name="CreateRatingUrl" type="xs:string"/>
    </xs:sequence>
 </xs:complexType>
 <xs:simpleType name="RatingValueType">
  <xs:restriction base="xs:decimal">
  <xs:minInclusive value="0"/>
  <xs:maxInclusive value="5"/>
  </xs:restriction>
 </xs:simpleType>
</xs:schema>
