Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
7487 kshitij.so 1
<?xml version="1.0"?>
2
<!-- Revision="$Revision: #13 $" -->
3
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
4
	<!--
5
    $Date: 2007/08/27 $
6
 
7
    AMAZON.COM CONFIDENTIAL.  This document and the information contained in it are
8
    confidential and proprietary information of Amazon.com and may not be reproduced, 
9
    distributed or used, in whole or in part, for any purpose other than as necessary 
10
    to list products for sale on the www.amazon.com web site pursuant to an agreement 
11
    with Amazon.com.
12
    -->
13
	<xsd:include schemaLocation="amzn-base.xsd"/>
14
	<!--
15
    ###############################################################
16
    # ToysAndGames Classification Data
17
    ###############################################################
18
    -->
19
	<!-- For ItemType element use the values toys-and-games-->
20
	<xsd:element name="Toys">
21
		<xsd:complexType>
22
			<xsd:sequence>
23
			    <xsd:element name="VariationData" minOccurs="0">
24
                    <xsd:complexType>
25
                        <xsd:sequence>
26
                            <xsd:element name="Parentage">
27
                                <xsd:simpleType>
28
                                    <xsd:restriction base="String">
29
                                        <xsd:enumeration value="parent"/>
30
                                        <xsd:enumeration value="child"/>
31
                                    </xsd:restriction>
32
                                </xsd:simpleType>
33
                            </xsd:element>
34
                            <xsd:element name="VariationTheme" minOccurs="0">
35
                                <xsd:simpleType>
36
                                    <xsd:restriction base="String">
37
                                        <xsd:enumeration value="Color"/>
38
                                        <xsd:enumeration value="Size"/>
39
                                        <xsd:enumeration value="SizeColor"/>
40
                                        <xsd:enumeration value="Style"/>
41
                                        <xsd:enumeration value="Edition"/>
42
                                    </xsd:restriction>
43
                                </xsd:simpleType>
44
                            </xsd:element>
45
                        </xsd:sequence>
46
                    </xsd:complexType>
47
                </xsd:element>
48
				<xsd:element name="ProductType">
49
					<xsd:complexType>
50
						<xsd:choice>
51
							<xsd:element ref="ToysAndGames"/>
52
							<xsd:element ref="Hobbies"/>
53
							<xsd:element ref="CollectibleCard"/>
54
							<xsd:element ref="Costume"/>
55
						</xsd:choice>
56
					</xsd:complexType>
57
				</xsd:element>
58
				<!--
59
            ###########################################################
60
            # Attributes common to all Toys Product Types
61
            ###########################################################
62
            -->
63
				<xsd:element ref="Battery" minOccurs="0"/>
64
				<xsd:element name="AssemblyInstructions" minOccurs="0">
65
					<xsd:simpleType>
66
						<xsd:restriction base="xsd:normalizedString">
67
							<xsd:maxLength value="1500"/>
68
						</xsd:restriction>
69
					</xsd:simpleType>
70
				</xsd:element>
71
				<xsd:element ref="AgeRecommendation" minOccurs="1"/>
72
				<xsd:element name="AssemblyTime" type="AssemblyTimeDimension" minOccurs="0"/>
73
				<xsd:element ref="ColorSpecification" minOccurs="0"/>
74
				<xsd:element name="Edition" type="StringNotNull" minOccurs="0"/>
75
				<xsd:element name="IsAdultProduct" type="xsd:boolean" minOccurs="0"/>
76
				<xsd:element name="IsAssemblyRequired" type="xsd:boolean" minOccurs="0"/>
77
				<xsd:element name="ManufacturerSafetyWarning" minOccurs="0">
78
					<xsd:simpleType>
79
						<xsd:restriction base="xsd:normalizedString">
80
							<xsd:maxLength value="1500"/>
81
						</xsd:restriction>
82
					</xsd:simpleType>
83
				</xsd:element>
84
				<xsd:element name="ManufacturerWarrantyDescription" type="StringNotNull" minOccurs="0"/>
85
				<xsd:element ref="WeightRecommendation" minOccurs="0"/>
86
				<xsd:element name="NumberOfPieces" type="xsd:positiveInteger" minOccurs="0"/>
87
				<xsd:element name="NumberOfPlayers" type="TwentyStringNotNull" minOccurs="0"/>
88
				<xsd:element name="PartNumber" type="StringNotNull" minOccurs="0"/>
89
				<xsd:element ref="Recall" minOccurs="0"/>
90
				<xsd:element name="Size" type="StringNotNull" minOccurs="0"/>
91
				<xsd:element name="SizeMap" type="StringNotNull" minOccurs="0"/>
92
				<xsd:element name="StyleName" type="StringNotNull" minOccurs="0"/>
93
				<xsd:element name="SubjectCharacter" type="StringNotNull" minOccurs="0" maxOccurs="5"/>
94
			</xsd:sequence>
95
		</xsd:complexType>
96
	</xsd:element>
97
	<!--
98
   ##################################################
99
   # TOYS_AND_GAMES Classification Data
100
   ##################################################
101
   -->
102
	<xsd:element name="ToysAndGames">
103
		<xsd:complexType>
104
			<xsd:sequence>
105
				<xsd:element name="AwardsWon" type="HundredFiftyStringNotNull" minOccurs="0"/>
106
				<xsd:element name="BatteryAverageLife" type="TimeDimension" minOccurs="0"/>
107
				<xsd:element name="BatteryAverageLifeStandby" type="TimeDimension" minOccurs="0"/>
108
				<xsd:element name="BatteryChargeTime" type="TimeDimension" minOccurs="0"/>
109
				<xsd:element name="Color" type="StringNotNull" minOccurs="0"/>
110
				<xsd:element name="ColorMap" type="StringNotNull" minOccurs="0"/>
111
				<xsd:element name="Directions" type="LongStringNotNull" minOccurs="0"/>
112
				<xsd:element name="LithiumBatteryEnergyContent" type="EnergyConsumptionDimension" minOccurs="0"/>
113
				<xsd:element name="LithiumBatteryPackaging" minOccurs="0">
114
					<xsd:simpleType>
115
						<xsd:restriction base="xsd:string">
116
							<xsd:enumeration value="batteries_contained_in_equipment"/>
117
							<xsd:enumeration value="batteries_only"/>
118
							<xsd:enumeration value="batteries_packed_with_equipment"/>
119
						</xsd:restriction>
120
					</xsd:simpleType>
121
				</xsd:element>
122
				<xsd:element name="LithiumBatteryVoltage" type="VoltageDecimalDimension" minOccurs="0"/>
123
				<xsd:element name="LithiumBatteryWeight" type="WeightDimension" minOccurs="0"/>
124
				<xsd:element name="NumberOfLithiumIonCells" type="xsd:positiveInteger" minOccurs="0"/>
125
				<xsd:element name="NumberOfLithiumMetalCells" type="xsd:positiveInteger" minOccurs="0"/>
126
				<xsd:element name="NumberOfFrequencyChannels" type="xsd:positiveInteger" minOccurs="0"/>
127
				<xsd:element name="NumberOfControlChannels" type="xsd:positiveInteger" minOccurs="0"/>
128
				<xsd:element name="FrequencyBandsSupported" type="StringNotNull" minOccurs="0"/>
129
				<xsd:element name="Language" type="LanguageStringType" minOccurs="0"/>
130
				<xsd:element name="IncludesRemote" type="xsd:boolean" minOccurs="0"/>
131
				<xsd:element name="Ingredients" minOccurs="0">
132
					<xsd:simpleType>
133
						<xsd:restriction base="xsd:normalizedString">
134
							<xsd:maxLength value="1500"/>
135
						</xsd:restriction>
136
					</xsd:simpleType>
137
				</xsd:element>
138
				<xsd:element name="PowerSourceType" type="StringNotNull" minOccurs="0"/>
139
				<xsd:element name="RecommendedUse" minOccurs="0">
140
					<xsd:simpleType>
141
						<xsd:restriction base="xsd:normalizedString">
142
							<xsd:maxLength value="1500"/>
143
						</xsd:restriction>
144
					</xsd:simpleType>
145
				</xsd:element>
146
				<xsd:element name="RemoteControlTechnology" type="StringNotNull" minOccurs="0"/>
147
				<xsd:element name="RailGauge" type="StringNotNull" minOccurs="0"/>
148
				<xsd:element name="RegionOfOrigin" type="StringNotNull" minOccurs="0"/>
149
				<xsd:element name="CountryOfOrigin" type="CountryOfOriginType" minOccurs="0"/>
150
				<xsd:element name="EducationalObjective" type="StringNotNull" minOccurs="0"/>
151
				<xsd:element name="EngineType" type="StringNotNull" minOccurs="0"/>				
152
				<xsd:element name="IsElectric" type="xsd:boolean" minOccurs="0"/>
153
				<xsd:element name="MaterialType" type="StringNotNull" minOccurs="0"/>
154
				<xsd:element name="MaterialComposition" type="SuperLongStringNotNull" minOccurs="0"/>
155
				<xsd:element name="MfrWarrantyDescriptionLabor" type="SuperLongStringNotNull" minOccurs="0"/>
156
				<xsd:element name="MfrWarrantyDescriptionParts" type="SuperLongStringNotNull" minOccurs="0"/>
157
				<xsd:element name="MfrWarrantyDescriptionType" type="StringNotNull" minOccurs="0"/>
158
				<xsd:element name="CareInstructions" type="LongStringNotNull" minOccurs="0" maxOccurs="3"/>
159
				<xsd:element name="SpecialFeatures" type="LongStringNotNull" minOccurs="0" maxOccurs="5"/>
160
				<xsd:element name="HandleHeight" type="LengthDimension" minOccurs="0"/>
161
				<xsd:element name="SeatLength" type="LengthDimension" minOccurs="0"/>
162
				<xsd:element name="SeatWidth" type="LengthDimension" minOccurs="0"/>
163
				<xsd:element name="TireMaterial" type="StringNotNull" minOccurs="0"/>
164
				<xsd:element name="TireDiameter" type="LengthDimension" minOccurs="0"/>
165
				<xsd:element name="SellerWarrantyDescription" minOccurs="0">
166
					<xsd:simpleType>
167
						<xsd:restriction base="xsd:normalizedString">
168
							<xsd:maxLength value="1500"/>
169
						</xsd:restriction>
170
					</xsd:simpleType>
171
				</xsd:element>
172
				<xsd:element name="TargetGender" minOccurs="0">
173
					<xsd:simpleType>
174
						<xsd:restriction base="xsd:string">
175
							<xsd:enumeration value="male"/>
176
							<xsd:enumeration value="female"/>
177
							<xsd:enumeration value="unisex"/>
178
						</xsd:restriction>
179
					</xsd:simpleType>
180
				</xsd:element>
181
				<xsd:element name="DisplayLength" type="LengthDimension" minOccurs="0"/>
182
				<xsd:element name="DisplayVolume" type="VolumeDimension" minOccurs="0"/>
183
				<xsd:element name="DisplayWeight" type="WeightDimension" minOccurs="0"/>
184
				<!-- plant_or_animal_product_type -->
185
				<xsd:element name="AnimalType" type="StringNotNull" minOccurs="0"/>
186
				<xsd:element name="Publisher" type="StringNotNull" minOccurs="0"/>
187
				<!-- StyleKeywords - used for doll-type required for dolls item types -->
188
				<xsd:element name="StyleKeywords" type="LongString" minOccurs="0" maxOccurs="5"/>
189
				<xsd:element name="ProductTheme" type="StringNotNull" minOccurs="0"/>
190
				<xsd:element name="ToyAwardName" type="ToyAwardType" minOccurs="0" maxOccurs="5"/>
191
			</xsd:sequence>
192
		</xsd:complexType>
193
	</xsd:element>
194
	<!--
195
   ##################################################
196
   # HOBBIES Classification Data
197
   ##################################################
198
   -->
199
	<xsd:element name="Hobbies">
200
		<xsd:complexType>
201
			<xsd:sequence>
202
				<!-- active_surface_area -->
203
				<xsd:element name="ActiveSurfaceArea" type="StringNotNull" minOccurs="0"/>
204
				<xsd:element name="WingArea" type="StringNotNull" minOccurs="0"/>
205
				<xsd:element name="CollectionName" type="StringNotNull" minOccurs="0"/>
206
				<xsd:element name="Genre" type="StringNotNull" minOccurs="0"/>
207
				<xsd:element name="InitialPrintRunRarity" type="StringNotNull" minOccurs="0"/>
208
				<xsd:element name="SpecificUsesForProduct" type="StringNotNull" minOccurs="0"/>
209
				<xsd:element name="BrakeStyle" type="StringNotNull" minOccurs="0"/>
210
				<xsd:element name="ControlType" type="StringNotNull" minOccurs="0"/>
211
				<xsd:element name="CountryOfOrigin" type="CountryOfOriginType" minOccurs="0"/>
212
				<xsd:element name="DriveSystem" type="StringNotNull" minOccurs="0"/>
213
				<xsd:element name="EducationalObjective" type="StringNotNull" minOccurs="0"/>
214
				<xsd:element name="FrameMaterialType" type="StringNotNull" minOccurs="0"/>
215
				<xsd:element name="FuelCapacity" type="VolumeDimension" minOccurs="0"/>
216
				<xsd:element name="FuelType" type="StringNotNull" minOccurs="0"/>
217
				<xsd:element name="IsElectric" type="xsd:boolean" minOccurs="0"/>
218
				<xsd:element name="MaterialType" type="StringNotNull" minOccurs="0"/>
219
				<xsd:element name="MaximumRange" type="LengthDimension" minOccurs="0"/>
220
				<xsd:element name="MaximumSpeed" type="SpeedDimension" minOccurs="0"/>
221
				<xsd:element name="MotorType" type="StringNotNull" minOccurs="0"/>
222
				<!-- plant_or_animal_product_type -->
223
				<xsd:element name="AnimalType" type="StringNotNull" minOccurs="0"/>
224
				<xsd:element name="Publisher" type="StringNotNull" minOccurs="0"/>
225
				<xsd:element name="RadioBandsSupported" type="StringNotNull" minOccurs="0"/>
226
				<xsd:element name="RailType" type="StringNotNull" minOccurs="0"/>
227
				<!-- scale_name -->
228
				<xsd:element name="Scale" type="StringNotNull" minOccurs="0"/>
229
				<xsd:element name="SkillLevel" type="StringNotNull" minOccurs="0"/>
230
				<xsd:element name="SuspensionType" type="StringNotNull" minOccurs="0"/>
231
				<xsd:element name="ProductTheme" type="StringNotNull" minOccurs="0"/>
232
				<xsd:element name="TireType" type="StringNotNull" minOccurs="0"/>
233
				<xsd:element name="ToyAwardName" type="ToyAwardType" minOccurs="0" maxOccurs="5"/>
234
				<xsd:element name="WheelDiameter" type="LengthDimension" minOccurs="0"/>
235
				<xsd:element name="WheelType" type="StringNotNull" minOccurs="0"/>
236
			</xsd:sequence>
237
		</xsd:complexType>
238
	</xsd:element>
239
	<!--
240
   ##################################################
241
   # COLLECTIBLE_CARD Classification Data
242
   ##################################################
243
   -->
244
	<xsd:element name="CollectibleCard">
245
		<xsd:complexType>
246
			<xsd:sequence>
247
				<xsd:element name="Collection" type="StringNotNull" minOccurs="0"/>
248
				<xsd:element name="EducationalObjective" type="StringNotNull" minOccurs="0"/>
249
				<xsd:element name="Genre" type="StringNotNull" minOccurs="0"/>
250
				<!-- initial_print_run_rarity -->
251
				<xsd:element name="Rarity" type="StringNotNull" minOccurs="0"/>
252
				<!-- item_part_numer -->
253
				<xsd:element name="CardNumber" type="StringNotNull" minOccurs="0"/>
254
				<!-- Used to specify "specific_uses_for_product" -->
255
				<xsd:element name="CardType" type="StringNotNull" minOccurs="0"/>
256
			</xsd:sequence>
257
		</xsd:complexType>
258
	</xsd:element>
259
	<!--
260
   ##################################################
261
   # COSTUME Classification Data
262
   ##################################################
263
   -->
264
	<xsd:element name="Costume">
265
		<xsd:complexType>
266
			<xsd:sequence>
267
				<xsd:element name="CountryOfOrigin" type="CountryOfOriginType" minOccurs="0"/>
268
				<xsd:element name="MaterialType" type="StringNotNull" minOccurs="0"/>
269
			</xsd:sequence>
270
		</xsd:complexType>
271
	</xsd:element>
272
</xsd:schema>