amazon-mws 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/README.markdown +31 -0
- data/Rakefile +14 -0
- data/VERSION +1 -0
- data/amazon-mws.gemspec +164 -0
- data/examples/xml/cancel_feed_submissions.xml +16 -0
- data/examples/xml/cancel_report_requests.xml +18 -0
- data/examples/xml/error.xml +10 -0
- data/examples/xml/get_feed_submission_count.xml +10 -0
- data/examples/xml/get_feed_submission_list.xml +16 -0
- data/examples/xml/get_feed_submission_list_by_next_token.xml +16 -0
- data/examples/xml/get_feed_submission_result.xml +30 -0
- data/examples/xml/get_report_count.xml +9 -0
- data/examples/xml/get_report_list.xml +17 -0
- data/examples/xml/get_report_request_count.xml +8 -0
- data/examples/xml/get_report_request_list.xml +120 -0
- data/examples/xml/get_report_request_list_by_next_token.xml +20 -0
- data/examples/xml/get_report_schedule_count.xml +10 -0
- data/examples/xml/get_report_schedule_list.xml +15 -0
- data/examples/xml/get_report_schedule_list_by_next_token.xml +15 -0
- data/examples/xml/manage_report_schedule.xml +14 -0
- data/examples/xml/request_report.xml +17 -0
- data/examples/xml/submit_feed.xml +14 -0
- data/examples/xml/update_report_acknowledgements.xml +18 -0
- data/examples/xsd/Inventory.xsd +49 -0
- data/examples/xsd/Item.xsd +285 -0
- data/examples/xsd/Listings.xsd +32 -0
- data/examples/xsd/OrderAcknowledgement.xsd +55 -0
- data/examples/xsd/OrderAdjustment.xsd +94 -0
- data/examples/xsd/OrderFulfillment.xsd +57 -0
- data/examples/xsd/Override.xsd +48 -0
- data/examples/xsd/Price.xsd +59 -0
- data/examples/xsd/ProcessingReport.xsd +87 -0
- data/examples/xsd/Product.xsd +220 -0
- data/examples/xsd/Product/AutoAccessory.xsd +807 -0
- data/examples/xsd/Product/Beauty.xsd +114 -0
- data/examples/xsd/Product/CE.xsd +544 -0
- data/examples/xsd/Product/CameraPhoto.xsd +2410 -0
- data/examples/xsd/Product/FoodAndBeverages.xsd +270 -0
- data/examples/xsd/Product/Gourmet.xsd +85 -0
- data/examples/xsd/Product/Health.xsd +189 -0
- data/examples/xsd/Product/Home.xsd +654 -0
- data/examples/xsd/Product/Jewelry.xsd +603 -0
- data/examples/xsd/Product/Miscellaneous.xsd +157 -0
- data/examples/xsd/Product/MusicalInstruments.xsd +853 -0
- data/examples/xsd/Product/Office.xsd +550 -0
- data/examples/xsd/Product/PetSupplies.xsd +40 -0
- data/examples/xsd/Product/ProductClothing.xsd +197 -0
- data/examples/xsd/Product/SWVG.xsd +238 -0
- data/examples/xsd/Product/Sports.xsd +308 -0
- data/examples/xsd/Product/TiresAndWheels.xsd +159 -0
- data/examples/xsd/Product/Tools.xsd +66 -0
- data/examples/xsd/Product/ToysBaby.xsd +241 -0
- data/examples/xsd/Product/Wireless.xsd +77 -0
- data/examples/xsd/ProductImage.xsd +39 -0
- data/examples/xsd/Relationship.xsd +47 -0
- data/examples/xsd/SettlementReport.xsd +158 -0
- data/examples/xsd/amzn-base.xsd +1601 -0
- data/examples/xsd/amzn-envelope.xsd +98 -0
- data/examples/xsd/amzn-header.xsd +45 -0
- data/lib/amazon/mws.rb +86 -0
- data/lib/amazon/mws/authentication.rb +9 -0
- data/lib/amazon/mws/authentication/query_string.rb +28 -0
- data/lib/amazon/mws/authentication/signature.rb +43 -0
- data/lib/amazon/mws/base.rb +61 -0
- data/lib/amazon/mws/connection.rb +99 -0
- data/lib/amazon/mws/connection/management.rb +94 -0
- data/lib/amazon/mws/connection/request_builder.rb +67 -0
- data/lib/amazon/mws/exceptions.rb +80 -0
- data/lib/amazon/mws/feed.rb +223 -0
- data/lib/amazon/mws/feed_builder.rb +67 -0
- data/lib/amazon/mws/feed_enumerations.rb +46 -0
- data/lib/amazon/mws/feed_submission.rb +14 -0
- data/lib/amazon/mws/lib/extensions.rb +162 -0
- data/lib/amazon/mws/lib/memoizable.rb +10 -0
- data/lib/amazon/mws/orders.rb +9 -0
- data/lib/amazon/mws/report.rb +310 -0
- data/lib/amazon/mws/report_enumerations.rb +44 -0
- data/lib/amazon/mws/report_info.rb +16 -0
- data/lib/amazon/mws/report_request.rb +19 -0
- data/lib/amazon/mws/report_schedule.rb +13 -0
- data/lib/amazon/mws/response.rb +32 -0
- data/lib/amazon/mws/response/cancel_feed_submissions_response.rb +14 -0
- data/lib/amazon/mws/response/cancel_report_requests_response.rb +14 -0
- data/lib/amazon/mws/response/get_feed_submission_count_response.rb +13 -0
- data/lib/amazon/mws/response/get_feed_submission_list_by_next_token_response.rb +15 -0
- data/lib/amazon/mws/response/get_feed_submission_list_response.rb +15 -0
- data/lib/amazon/mws/response/get_feed_submission_result_response.rb +54 -0
- data/lib/amazon/mws/response/get_report_count_response.rb +13 -0
- data/lib/amazon/mws/response/get_report_list_response.rb +15 -0
- data/lib/amazon/mws/response/get_report_request_count_response.rb +13 -0
- data/lib/amazon/mws/response/get_report_request_list_by_next_token_response.rb +15 -0
- data/lib/amazon/mws/response/get_report_request_list_response.rb +15 -0
- data/lib/amazon/mws/response/get_report_schedule_count_response.rb +13 -0
- data/lib/amazon/mws/response/get_report_schedule_list_by_next_token_response.rb +15 -0
- data/lib/amazon/mws/response/get_report_schedule_list_response.rb +15 -0
- data/lib/amazon/mws/response/manage_report_schedule_response.rb +14 -0
- data/lib/amazon/mws/response/request_report_response.rb +14 -0
- data/lib/amazon/mws/response/response_error.rb +15 -0
- data/lib/amazon/mws/response/submit_feed_response.rb +13 -0
- data/lib/amazon/mws/response/update_reports_acknowledgements_response.rb +14 -0
- data/lib/amazon/mws/version.rb +12 -0
- data/pkg/amazon-mws-0.1.0.gem +0 -0
- data/test/authentication_test.rb +15 -0
- data/test/connection_test.rb +5 -0
- data/test/feed_builder_test.rb +15 -0
- data/test/feed_submission_test.rb +32 -0
- data/test/feed_test.rb +64 -0
- data/test/query_string_test.rb +21 -0
- data/test/report_test.rb +29 -0
- data/test/request_test.rb +18 -0
- data/test/response_test.rb +197 -0
- data/test/signature_test.rb +30 -0
- data/test/test_config.yml +5 -0
- data/test/test_helper.rb +22 -0
- metadata +179 -0
@@ -0,0 +1,308 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<!-- Revision="$Revision: #9 $" -->
|
3
|
+
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
|
4
|
+
<!--
|
5
|
+
$Date: 2007/04/25 $
|
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
|
+
Please read the corresponding documentation that contains the recommended values for elements
|
16
|
+
of type StringNotNull.
|
17
|
+
-->
|
18
|
+
<xsd:element name="Sports">
|
19
|
+
<xsd:complexType>
|
20
|
+
<xsd:sequence>
|
21
|
+
<xsd:element name="ProductType" minOccurs="0">
|
22
|
+
<xsd:simpleType>
|
23
|
+
<xsd:restriction base="xsd:string">
|
24
|
+
<xsd:enumeration value="SportingGoods"/>
|
25
|
+
<xsd:enumeration value="GolfClubHybrid"/>
|
26
|
+
<xsd:enumeration value="GolfClubIron"/>
|
27
|
+
<xsd:enumeration value="GolfClubPutter"/>
|
28
|
+
<xsd:enumeration value="GolfClubWedge"/>
|
29
|
+
<xsd:enumeration value="GolfClubWood"/>
|
30
|
+
<xsd:enumeration value="GolfClubs"/>
|
31
|
+
</xsd:restriction>
|
32
|
+
</xsd:simpleType>
|
33
|
+
</xsd:element>
|
34
|
+
<xsd:element name="VariationData" minOccurs="0">
|
35
|
+
<xsd:complexType>
|
36
|
+
<xsd:sequence>
|
37
|
+
<xsd:element name="Parentage">
|
38
|
+
<xsd:simpleType>
|
39
|
+
<xsd:restriction base="xsd:string">
|
40
|
+
<xsd:enumeration value="parent"/>
|
41
|
+
<xsd:enumeration value="child"/>
|
42
|
+
</xsd:restriction>
|
43
|
+
</xsd:simpleType>
|
44
|
+
</xsd:element>
|
45
|
+
<xsd:element name="VariationTheme" minOccurs="0">
|
46
|
+
<xsd:simpleType>
|
47
|
+
<xsd:restriction base="xsd:string">
|
48
|
+
<xsd:enumeration value="AgeGenderCategory"/>
|
49
|
+
<xsd:enumeration value="Amperage"/>
|
50
|
+
<xsd:enumeration value="BikeRimSize"/>
|
51
|
+
<xsd:enumeration value="BikeRimSizeMaterial"/>
|
52
|
+
<xsd:enumeration value="BootSize"/>
|
53
|
+
<xsd:enumeration value="BootSizeCalfSize"/>
|
54
|
+
<xsd:enumeration value="CalfSize"/>
|
55
|
+
<xsd:enumeration value="Caliber"/>
|
56
|
+
<xsd:enumeration value="CaliberRounds"/>
|
57
|
+
<xsd:enumeration value="Capacity"/>
|
58
|
+
<xsd:enumeration value="Color"/>
|
59
|
+
<xsd:enumeration value="ColorDesign"/>
|
60
|
+
<xsd:enumeration value="ColorFlavor"/>
|
61
|
+
<xsd:enumeration value="ColorItemThickness"/>
|
62
|
+
<xsd:enumeration value="ColorLength"/>
|
63
|
+
<xsd:enumeration value="ColorLensColor"/>
|
64
|
+
<xsd:enumeration value="ColorQuantity"/>
|
65
|
+
<xsd:enumeration value="ColorRounds"/>
|
66
|
+
<xsd:enumeration value="ColorShaftMaterial"/>
|
67
|
+
<xsd:enumeration value="ColorShaftType"/>
|
68
|
+
<xsd:enumeration value="ColorShape"/>
|
69
|
+
<xsd:enumeration value="ColorSize"/>
|
70
|
+
<xsd:enumeration value="ColorStyle"/>
|
71
|
+
<xsd:enumeration value="ColorTensionLevel"/>
|
72
|
+
<xsd:enumeration value="ColorWattage"/>
|
73
|
+
<xsd:enumeration value="ColorWeight"/>
|
74
|
+
<xsd:enumeration value="ColorWheelSize"/>
|
75
|
+
<xsd:enumeration value="ColorWidth"/>
|
76
|
+
<xsd:enumeration value="Curvature"/>
|
77
|
+
<xsd:enumeration value="CurvatureHand"/>
|
78
|
+
<xsd:enumeration value="Design"/>
|
79
|
+
<xsd:enumeration value="DesignFlavor"/>
|
80
|
+
<xsd:enumeration value="DesignLength"/>
|
81
|
+
<xsd:enumeration value="DesignLensColor"/>
|
82
|
+
<xsd:enumeration value="DesignShaftMaterial"/>
|
83
|
+
<xsd:enumeration value="DesignShaftType"/>
|
84
|
+
<xsd:enumeration value="DesignShape"/>
|
85
|
+
<xsd:enumeration value="DesignSize"/>
|
86
|
+
<xsd:enumeration value="DesignStyle"/>
|
87
|
+
<xsd:enumeration value="DesignTensionLevel"/>
|
88
|
+
<xsd:enumeration value="DesignWeight"/>
|
89
|
+
<xsd:enumeration value="DesignWheelSize"/>
|
90
|
+
<xsd:enumeration value="DesignWidth"/>
|
91
|
+
<xsd:enumeration value="Diameter"/>
|
92
|
+
<xsd:enumeration value="DivingHoodThickness"/>
|
93
|
+
<xsd:enumeration value="FencingPommelType"/>
|
94
|
+
<xsd:enumeration value="FencingPommelTypeGripType"/>
|
95
|
+
<xsd:enumeration value="Flavor"/>
|
96
|
+
<xsd:enumeration value="FlavorSize"/>
|
97
|
+
<xsd:enumeration value="GolfFlex"/>
|
98
|
+
<xsd:enumeration value="GolfFlexGolfLoft"/>
|
99
|
+
<xsd:enumeration value="GolfFlexMaterial"/>
|
100
|
+
<xsd:enumeration value="GolfFlexShaftMaterial"/>
|
101
|
+
<xsd:enumeration value="GolfLoft"/>
|
102
|
+
<xsd:enumeration value="GolfLoftShaftMaterial"/>
|
103
|
+
<xsd:enumeration value="GripSize"/>
|
104
|
+
<xsd:enumeration value="GripSizeGripType"/>
|
105
|
+
<xsd:enumeration value="GripSizeHeadSize"/>
|
106
|
+
<xsd:enumeration value="GripType"/>
|
107
|
+
<xsd:enumeration value="Hand"/>
|
108
|
+
<xsd:enumeration value="HandBounceGolfFlex"/>
|
109
|
+
<xsd:enumeration value="HandBounceShaftTypeGolfFlex"/>
|
110
|
+
<xsd:enumeration value="HandClubGolfFlex"/>
|
111
|
+
<xsd:enumeration value="HandClubShaftTypeGolfFlex"/>
|
112
|
+
<xsd:enumeration value="HandGolfFlex"/>
|
113
|
+
<xsd:enumeration value="HandIronsGolfFlex"/>
|
114
|
+
<xsd:enumeration value="HandIronsLieAngleGolfFlex"/>
|
115
|
+
<xsd:enumeration value="HandIronsLieAngleShaftTypeGolfFlex"/>
|
116
|
+
<xsd:enumeration value="HandIronsShaftTypeGolfFlex"/>
|
117
|
+
<xsd:enumeration value="HandLength"/>
|
118
|
+
<xsd:enumeration value="HandLieAngle"/>
|
119
|
+
<xsd:enumeration value="HandLieAngleGolfFlex"/>
|
120
|
+
<xsd:enumeration value="HandLieAngleLength"/>
|
121
|
+
<xsd:enumeration value="HandLieAngleShaftType"/>
|
122
|
+
<xsd:enumeration value="HandLieAngleShaftTypeGolfFlex"/>
|
123
|
+
<xsd:enumeration value="HandLieAngleShaftTypeLength"/>
|
124
|
+
<xsd:enumeration value="HandGolfLoftBounceGolfFlex"/>
|
125
|
+
<xsd:enumeration value="HandGolfLoftBounceShaftTypeGolfFlex"/>
|
126
|
+
<xsd:enumeration value="HandGolfLoftGolfFlex"/>
|
127
|
+
<xsd:enumeration value="HandGolfLoftShaftTypeGolfFlex"/>
|
128
|
+
<xsd:enumeration value="HandModel"/>
|
129
|
+
<xsd:enumeration value="HandModelLength"/>
|
130
|
+
<xsd:enumeration value="HandModelShaftType"/>
|
131
|
+
<xsd:enumeration value="HandModelShaftTypeLength"/>
|
132
|
+
<xsd:enumeration value="HandShaftLength"/>
|
133
|
+
<xsd:enumeration value="HandShaftMaterialGolfFlex"/>
|
134
|
+
<xsd:enumeration value="HandShaftMaterialGolfFlexGolfLoft"/>
|
135
|
+
<xsd:enumeration value="HandShaftType"/>
|
136
|
+
<xsd:enumeration value="HandShaftTypeGolfFlex"/>
|
137
|
+
<xsd:enumeration value="HandShaftTypeLength"/>
|
138
|
+
<xsd:enumeration value="HandSize"/>
|
139
|
+
<xsd:enumeration value="HandTensionLevel"/>
|
140
|
+
<xsd:enumeration value="HandWeight"/>
|
141
|
+
<xsd:enumeration value="HandWoodGolfFlex"/>
|
142
|
+
<xsd:enumeration value="HandWoodShaftTypeGolfFlex"/>
|
143
|
+
<xsd:enumeration value="HeadSize"/>
|
144
|
+
<xsd:enumeration value="HeadSizeShape"/>
|
145
|
+
<xsd:enumeration value="Height"/>
|
146
|
+
<xsd:enumeration value="HeightSize"/>
|
147
|
+
<xsd:enumeration value="HeightStyle"/>
|
148
|
+
<xsd:enumeration value="HeightWeight"/>
|
149
|
+
<xsd:enumeration value="HeightWidth"/>
|
150
|
+
<xsd:enumeration value="ItemThickness"/>
|
151
|
+
<xsd:enumeration value="Length"/>
|
152
|
+
<xsd:enumeration value="LengthLineCapacity"/>
|
153
|
+
<xsd:enumeration value="LengthLineWeight"/>
|
154
|
+
<xsd:enumeration value="LengthMaterial"/>
|
155
|
+
<xsd:enumeration value="LengthShaftType"/>
|
156
|
+
<xsd:enumeration value="LengthSize"/>
|
157
|
+
<xsd:enumeration value="LengthStyle"/>
|
158
|
+
<xsd:enumeration value="LengthWeight"/>
|
159
|
+
<xsd:enumeration value="LengthWeightSupported"/>
|
160
|
+
<xsd:enumeration value="LengthWidth"/>
|
161
|
+
<xsd:enumeration value="LensColor"/>
|
162
|
+
<xsd:enumeration value="LensColorMaterial"/>
|
163
|
+
<xsd:enumeration value="LensColorShape"/>
|
164
|
+
<xsd:enumeration value="LineCapacity"/>
|
165
|
+
<xsd:enumeration value="LineCapacitySize"/>
|
166
|
+
<xsd:enumeration value="LineCapacityWeight"/>
|
167
|
+
<xsd:enumeration value="LineWeight"/>
|
168
|
+
<xsd:enumeration value="LineWeightSize"/>
|
169
|
+
<xsd:enumeration value="Material"/>
|
170
|
+
<xsd:enumeration value="MaterialShape"/>
|
171
|
+
<xsd:enumeration value="MaterialSize"/>
|
172
|
+
<xsd:enumeration value="MaterialStyle"/>
|
173
|
+
<xsd:enumeration value="MaterialTensionLevel"/>
|
174
|
+
<xsd:enumeration value="MaterialWeight"/>
|
175
|
+
<xsd:enumeration value="MaterialWheelSize"/>
|
176
|
+
<xsd:enumeration value="MaterialWidth"/>
|
177
|
+
<xsd:enumeration value="Quantity"/>
|
178
|
+
<xsd:enumeration value="QuantityShape"/>
|
179
|
+
<xsd:enumeration value="QuantitySize"/>
|
180
|
+
<xsd:enumeration value="QuantityWeight"/>
|
181
|
+
<xsd:enumeration value="Rounds"/>
|
182
|
+
<xsd:enumeration value="RoundsSize"/>
|
183
|
+
<xsd:enumeration value="ShaftMaterial"/>
|
184
|
+
<xsd:enumeration value="ShaftMaterialShaftType"/>
|
185
|
+
<xsd:enumeration value="ShaftType"/>
|
186
|
+
<xsd:enumeration value="Shape"/>
|
187
|
+
<xsd:enumeration value="ShapeSize"/>
|
188
|
+
<xsd:enumeration value="ShapeTensionLevel"/>
|
189
|
+
<xsd:enumeration value="ShapeWeight"/>
|
190
|
+
<xsd:enumeration value="Size"/>
|
191
|
+
<xsd:enumeration value="SizeStyle"/>
|
192
|
+
<xsd:enumeration value="SizeTensionLevel"/>
|
193
|
+
<xsd:enumeration value="SizeWattage"/>
|
194
|
+
<xsd:enumeration value="SizeWeight"/>
|
195
|
+
<xsd:enumeration value="SizeWeightSupported"/>
|
196
|
+
<xsd:enumeration value="SizeWheelSize"/>
|
197
|
+
<xsd:enumeration value="SizeWidth"/>
|
198
|
+
<xsd:enumeration value="Style"/>
|
199
|
+
<xsd:enumeration value="StyleTensionLevel"/>
|
200
|
+
<xsd:enumeration value="StyleWeight"/>
|
201
|
+
<xsd:enumeration value="StyleWheelSize"/>
|
202
|
+
<xsd:enumeration value="StyleWidth"/>
|
203
|
+
<xsd:enumeration value="TemperatureRating"/>
|
204
|
+
<xsd:enumeration value="TemperatureRatingColor"/>
|
205
|
+
<xsd:enumeration value="TemperatureRatingDesign"/>
|
206
|
+
<xsd:enumeration value="TemperatureRatingHand"/>
|
207
|
+
<xsd:enumeration value="TemperatureRatingLength"/>
|
208
|
+
<xsd:enumeration value="TemperatureRatingMaterial"/>
|
209
|
+
<xsd:enumeration value="TemperatureRatingShape"/>
|
210
|
+
<xsd:enumeration value="TemperatureRatingSize"/>
|
211
|
+
<xsd:enumeration value="TensionLevel"/>
|
212
|
+
<xsd:enumeration value="TensionLevelWeight"/>
|
213
|
+
<xsd:enumeration value="TensionLevelWeightSupported"/>
|
214
|
+
<xsd:enumeration value="Wattage"/>
|
215
|
+
<xsd:enumeration value="Weight"/>
|
216
|
+
<xsd:enumeration value="WeightSupported"/>
|
217
|
+
<xsd:enumeration value="WeightWidth"/>
|
218
|
+
<xsd:enumeration value="WheelSize"/>
|
219
|
+
<xsd:enumeration value="WheelSizeWeight"/>
|
220
|
+
<xsd:enumeration value="Width"/>
|
221
|
+
</xsd:restriction>
|
222
|
+
</xsd:simpleType>
|
223
|
+
</xsd:element>
|
224
|
+
<xsd:element name="AgeGenderCategory" type="StringNotNull" minOccurs="0"/>
|
225
|
+
<xsd:element name="Amperage" type="AmperageDimension" minOccurs="0"/>
|
226
|
+
<xsd:element name="BikeRimSize" type="LengthDimension" minOccurs="0"/>
|
227
|
+
<xsd:element name="BootSize" type="Dimension" minOccurs="0"/>
|
228
|
+
<xsd:element name="Bounce" type="StringNotNull" minOccurs="0"/>
|
229
|
+
<xsd:element name="CalfSize" type="StringNotNull" minOccurs="0"/>
|
230
|
+
<xsd:element name="Caliber" type="FourDecimal" minOccurs="0"/>
|
231
|
+
<xsd:element name="Capacity" type="VolumeDimension" minOccurs="0"/>
|
232
|
+
<xsd:element name="Club" type="StringNotNull" minOccurs="0"/>
|
233
|
+
<xsd:element name="Color" type="StringNotNull" minOccurs="0"/>
|
234
|
+
<xsd:element name="Curvature" type="StringNotNull" minOccurs="0"/>
|
235
|
+
<xsd:element name="Design" type="StringNotNull" minOccurs="0"/>
|
236
|
+
<xsd:element name="Diameter" type="LengthDimension" minOccurs="0"/>
|
237
|
+
<xsd:element name="DivingHoodThickness" type="LengthDimension" minOccurs="0"/>
|
238
|
+
<xsd:element name="FencingPommelType" type="StringNotNull" minOccurs="0"/>
|
239
|
+
<xsd:element name="Flavor" type="StringNotNull" minOccurs="0"/>
|
240
|
+
<xsd:element name="GolfFlex" type="StringNotNull" minOccurs="0"/>
|
241
|
+
<xsd:element name="GolfLoft" type="DegreeDimension" minOccurs="0"/>
|
242
|
+
<xsd:element name="GripSize" type="StringNotNull" minOccurs="0"/>
|
243
|
+
<xsd:element name="GripType" type="StringNotNull" minOccurs="0"/>
|
244
|
+
<xsd:element name="Hand" minOccurs="0">
|
245
|
+
<xsd:simpleType>
|
246
|
+
<xsd:restriction base="xsd:string">
|
247
|
+
<xsd:enumeration value="left"/>
|
248
|
+
<xsd:enumeration value="right"/>
|
249
|
+
</xsd:restriction>
|
250
|
+
</xsd:simpleType>
|
251
|
+
</xsd:element>
|
252
|
+
<xsd:element name="HeadSize" minOccurs="0">
|
253
|
+
<xsd:simpleType>
|
254
|
+
<xsd:restriction base="xsd:string">
|
255
|
+
<xsd:enumeration value="mid-plus"/>
|
256
|
+
<xsd:enumeration value="mid-sized"/>
|
257
|
+
<xsd:enumeration value="over-sized"/>
|
258
|
+
<xsd:enumeration value="super-oversized"/>
|
259
|
+
</xsd:restriction>
|
260
|
+
</xsd:simpleType>
|
261
|
+
</xsd:element>
|
262
|
+
<xsd:element name="Height" type="LengthDimension" minOccurs="0"/>
|
263
|
+
<xsd:element name="Irons" type="StringNotNull" minOccurs="0"/>
|
264
|
+
<xsd:element name="ItemThickness" type="LengthDimension" minOccurs="0"/>
|
265
|
+
<xsd:element name="Length" type="LengthDimension" minOccurs="0"/>
|
266
|
+
<xsd:element name="LensColor" type="StringNotNull" minOccurs="0"/>
|
267
|
+
<xsd:element name="LieAngle" type="StringNotNull" minOccurs="0"/>
|
268
|
+
<xsd:element name="LineCapacity" type="StringNotNull" minOccurs="0"/>
|
269
|
+
<xsd:element name="LineWeight" type="StringNotNull" minOccurs="0"/>
|
270
|
+
<xsd:element name="Material" type="StringNotNull" minOccurs="0"/>
|
271
|
+
<xsd:element name="Model" type="StringNotNull" minOccurs="0"/>
|
272
|
+
<xsd:element name="NumberOfItems" type="xsd:positiveInteger" minOccurs="0"/>
|
273
|
+
<xsd:element name="Quantity" type="xsd:positiveInteger" minOccurs="0"/>
|
274
|
+
<xsd:element name="Rounds" type="PositiveInteger" minOccurs="0"/>
|
275
|
+
<xsd:element name="ShaftLength" type="LengthDimension" minOccurs="0"/>
|
276
|
+
<xsd:element name="ShaftMaterial" type="StringNotNull" minOccurs="0"/>
|
277
|
+
<xsd:element name="ShaftType" minOccurs="0">
|
278
|
+
<xsd:simpleType>
|
279
|
+
<xsd:restriction base="xsd:string">
|
280
|
+
<xsd:enumeration value="attacker-shafts"/>
|
281
|
+
<xsd:enumeration value="defender-shafts"/>
|
282
|
+
<xsd:enumeration value="goalie-shafts"/>
|
283
|
+
<xsd:enumeration value="midfielder-shafts"/>
|
284
|
+
</xsd:restriction>
|
285
|
+
</xsd:simpleType>
|
286
|
+
</xsd:element>
|
287
|
+
<xsd:element name="Shape" type="StringNotNull" minOccurs="0"/>
|
288
|
+
<xsd:element name="Size" type="StringNotNull" minOccurs="0"/>
|
289
|
+
<xsd:element name="Style" type="StringNotNull" minOccurs="0"/>
|
290
|
+
<xsd:element name="TemperatureRating" type="TemperatureRatingDimension" minOccurs="0"/>
|
291
|
+
<xsd:element name="TensionLevel" type="StringNotNull" minOccurs="0"/>
|
292
|
+
<xsd:element name="Volume" type="VolumeDimension" minOccurs="0"/>
|
293
|
+
<xsd:element name="Wattage" type="WattageDimension" minOccurs="0"/>
|
294
|
+
<xsd:element name="Weight" type="WeightDimension" minOccurs="0"/>
|
295
|
+
<xsd:element name="WeightSupported" type="WeightDimension" minOccurs="0"/>
|
296
|
+
<xsd:element name="WheelSize" type="LengthDimension" minOccurs="0"/>
|
297
|
+
<xsd:element name="Width" type="LengthDimension" minOccurs="0"/>
|
298
|
+
<xsd:element name="Wood" type="StringNotNull" minOccurs="0"/>
|
299
|
+
</xsd:sequence>
|
300
|
+
</xsd:complexType>
|
301
|
+
</xsd:element>
|
302
|
+
<xsd:element name="Packaging" type="StringNotNull" minOccurs="0"/>
|
303
|
+
<xsd:element name="IsCustomizable" type="xsd:boolean" minOccurs="0"/>
|
304
|
+
<xsd:element name="IsAdultProduct" type="xsd:boolean" minOccurs="0"/>
|
305
|
+
</xsd:sequence>
|
306
|
+
</xsd:complexType>
|
307
|
+
</xsd:element>
|
308
|
+
</xsd:schema>
|
@@ -0,0 +1,159 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!-- Revision="$Revision: #2 $" -->
|
3
|
+
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
|
4
|
+
<!--
|
5
|
+
$Date: 2008/02/22 $
|
6
|
+
AMAZON.COM CONFIDENTIAL. This document and the information contained in it are
|
7
|
+
confidential and proprietary information of Amazon.com and may not be reproduced,
|
8
|
+
distributed or used, in whole or in part, for any purpose other than as necessary
|
9
|
+
to list products for sale on the www.amazon.com web site pursuant to an agreement
|
10
|
+
with Amazon.com.
|
11
|
+
-->
|
12
|
+
<xsd:include schemaLocation="amzn-base.xsd"/>
|
13
|
+
<xsd:element name="TiresAndWheels">
|
14
|
+
<xsd:complexType>
|
15
|
+
<xsd:sequence>
|
16
|
+
<xsd:element name="ProductType">
|
17
|
+
<xsd:complexType>
|
18
|
+
<xsd:choice>
|
19
|
+
<xsd:element ref="Tires"/>
|
20
|
+
<xsd:element ref="Wheels"/>
|
21
|
+
</xsd:choice>
|
22
|
+
</xsd:complexType>
|
23
|
+
</xsd:element>
|
24
|
+
</xsd:sequence>
|
25
|
+
</xsd:complexType>
|
26
|
+
</xsd:element>
|
27
|
+
<xsd:element name="Tires">
|
28
|
+
<xsd:complexType>
|
29
|
+
<xsd:sequence>
|
30
|
+
<xsd:element name="VehicleServiceType" minOccurs="0">
|
31
|
+
<xsd:simpleType>
|
32
|
+
<xsd:restriction base="xsd:string">
|
33
|
+
<xsd:maxLength value="5"/>
|
34
|
+
</xsd:restriction>
|
35
|
+
</xsd:simpleType>
|
36
|
+
</xsd:element>
|
37
|
+
<xsd:element name="ConstructionType" minOccurs="0">
|
38
|
+
<xsd:simpleType>
|
39
|
+
<xsd:restriction base="xsd:string">
|
40
|
+
<xsd:enumeration value="B"/>
|
41
|
+
<xsd:enumeration value="D"/>
|
42
|
+
<xsd:enumeration value="R"/>
|
43
|
+
</xsd:restriction>
|
44
|
+
</xsd:simpleType>
|
45
|
+
</xsd:element>
|
46
|
+
<xsd:element name="LoadIndex" type="xsd:positiveInteger" minOccurs="0"/>
|
47
|
+
<xsd:element name="SpeedRating" minOccurs="0">
|
48
|
+
<xsd:simpleType>
|
49
|
+
<xsd:restriction base="xsd:string">
|
50
|
+
<xsd:enumeration value="A1"/>
|
51
|
+
<xsd:enumeration value="A2"/>
|
52
|
+
<xsd:enumeration value="A3"/>
|
53
|
+
<xsd:enumeration value="A4"/>
|
54
|
+
<xsd:enumeration value="A5"/>
|
55
|
+
<xsd:enumeration value="A6"/>
|
56
|
+
<xsd:enumeration value="A7"/>
|
57
|
+
<xsd:enumeration value="A8"/>
|
58
|
+
<xsd:enumeration value="B"/>
|
59
|
+
<xsd:enumeration value="C"/>
|
60
|
+
<xsd:enumeration value="D"/>
|
61
|
+
<xsd:enumeration value="E"/>
|
62
|
+
<xsd:enumeration value="F"/>
|
63
|
+
<xsd:enumeration value="G"/>
|
64
|
+
<xsd:enumeration value="J"/>
|
65
|
+
<xsd:enumeration value="K"/>
|
66
|
+
<xsd:enumeration value="L"/>
|
67
|
+
<xsd:enumeration value="M"/>
|
68
|
+
<xsd:enumeration value="N"/>
|
69
|
+
<xsd:enumeration value="P"/>
|
70
|
+
<xsd:enumeration value="Q"/>
|
71
|
+
<xsd:enumeration value="R"/>
|
72
|
+
<xsd:enumeration value="S"/>
|
73
|
+
<xsd:enumeration value="T"/>
|
74
|
+
<xsd:enumeration value="U"/>
|
75
|
+
<xsd:enumeration value="H"/>
|
76
|
+
<xsd:enumeration value="V"/>
|
77
|
+
<xsd:enumeration value="Z"/>
|
78
|
+
<xsd:enumeration value="W"/>
|
79
|
+
<xsd:enumeration value="Y"/>
|
80
|
+
<xsd:enumeration value="SR"/>
|
81
|
+
<xsd:enumeration value="HR"/>
|
82
|
+
<xsd:enumeration value="VR"/>
|
83
|
+
<xsd:enumeration value="ZR"/>
|
84
|
+
<xsd:enumeration value="Other"/>
|
85
|
+
</xsd:restriction>
|
86
|
+
</xsd:simpleType>
|
87
|
+
</xsd:element>
|
88
|
+
<xsd:element name="UTQGRating" type="String" minOccurs="0"/>
|
89
|
+
<xsd:element name="SpecialFeatures" minOccurs="0">
|
90
|
+
<xsd:simpleType>
|
91
|
+
<xsd:restriction base="xsd:string">
|
92
|
+
<xsd:enumeration value="run_flat"/>
|
93
|
+
</xsd:restriction>
|
94
|
+
</xsd:simpleType>
|
95
|
+
</xsd:element>
|
96
|
+
<xsd:element name="ModelName" type="FortyStringNotNull" minOccurs="0"/>
|
97
|
+
<xsd:element name="RimDiameter" type="LengthDimension" minOccurs="0"/>
|
98
|
+
<xsd:element name="SectionWidth" minOccurs="0">
|
99
|
+
<xsd:simpleType>
|
100
|
+
<xsd:restriction base="xsd:string">
|
101
|
+
<xsd:maxLength value="5"/>
|
102
|
+
</xsd:restriction>
|
103
|
+
</xsd:simpleType>
|
104
|
+
</xsd:element>
|
105
|
+
<xsd:element name="TireAspectRatio" type="LengthDimension" minOccurs="0"/>
|
106
|
+
<xsd:element name="TreadDepth" type="LengthDimension" minOccurs="0"/>
|
107
|
+
<xsd:element name="ItemPackageQuantity" type="xsd:positiveInteger" minOccurs="0"/>
|
108
|
+
</xsd:sequence>
|
109
|
+
</xsd:complexType>
|
110
|
+
</xsd:element>
|
111
|
+
<xsd:element name="Wheels">
|
112
|
+
<xsd:complexType>
|
113
|
+
<xsd:sequence>
|
114
|
+
<!-- If multiple values are specified for PitchCircleDiameter, they must have
|
115
|
+
the same units of measurement. -->
|
116
|
+
<xsd:element name="PitchCircleDiameter" type="LengthDimension" maxOccurs="2"/>
|
117
|
+
<xsd:element name="ConstructionType" minOccurs="0">
|
118
|
+
<xsd:simpleType>
|
119
|
+
<xsd:restriction base="xsd:string">
|
120
|
+
<xsd:enumeration value="1-piece"/>
|
121
|
+
<xsd:enumeration value="2-piece"/>
|
122
|
+
<xsd:enumeration value="3-piece"/>
|
123
|
+
</xsd:restriction>
|
124
|
+
</xsd:simpleType>
|
125
|
+
</xsd:element>
|
126
|
+
<xsd:element ref="ColorSpecification" minOccurs="0"/>
|
127
|
+
<xsd:element name="ExteriorFinish" type="String" minOccurs="0"/>
|
128
|
+
<xsd:element name="ExteriorFinishMap" minOccurs="0">
|
129
|
+
<xsd:simpleType>
|
130
|
+
<xsd:restriction base="xsd:string">
|
131
|
+
<xsd:enumeration value="Chrome"/>
|
132
|
+
<xsd:enumeration value="Steel"/>
|
133
|
+
<xsd:enumeration value="Brushed Aluminum"/>
|
134
|
+
<xsd:enumeration value="Machined Aluminum"/>
|
135
|
+
<xsd:enumeration value="Polished Aluminum"/>
|
136
|
+
<xsd:enumeration value="Painted"/>
|
137
|
+
</xsd:restriction>
|
138
|
+
</xsd:simpleType>
|
139
|
+
</xsd:element>
|
140
|
+
<xsd:element name="SpecialFeatures" minOccurs="0">
|
141
|
+
<xsd:simpleType>
|
142
|
+
<xsd:restriction base="xsd:string">
|
143
|
+
<xsd:enumeration value="tpms"/>
|
144
|
+
</xsd:restriction>
|
145
|
+
</xsd:simpleType>
|
146
|
+
</xsd:element>
|
147
|
+
<xsd:element name="ModelName" type="FortyStringNotNull" minOccurs="0"/>
|
148
|
+
<xsd:element name="NumberOfHoles" type="xsd:positiveInteger" minOccurs="0"/>
|
149
|
+
<xsd:element name="NumberOfSpokes" type="TwentyStringNotNull" minOccurs="0"/>
|
150
|
+
<xsd:element name="WheelBackspacing" type="LengthDimension" minOccurs="0"/>
|
151
|
+
<xsd:element name="RimDiameter" type="LengthDimension" minOccurs="0"/>
|
152
|
+
<xsd:element name="RimWidth" type="LengthDimension" minOccurs="0"/>
|
153
|
+
<xsd:element name="BoreDiameter" type="LengthDimension" minOccurs="0"/>
|
154
|
+
<xsd:element name="Offset" type="LengthDimension" minOccurs="0"/>
|
155
|
+
<xsd:element name="ItemPackageQuantity" type="xsd:positiveInteger" minOccurs="0"/>
|
156
|
+
</xsd:sequence>
|
157
|
+
</xsd:complexType>
|
158
|
+
</xsd:element>
|
159
|
+
</xsd:schema>
|