amazon-mws-plus 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (151) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +10 -0
  3. data/.project +12 -0
  4. data/Gemfile +13 -0
  5. data/README.markdown +30 -0
  6. data/Rakefile +50 -0
  7. data/amazon-mws-plus.gemspec +23 -0
  8. data/amazon-mws.tmproj +27 -0
  9. data/examples/xml/cancel_feed_submissions.xml +16 -0
  10. data/examples/xml/cancel_fulfillment_order.xml +6 -0
  11. data/examples/xml/cancel_report_requests.xml +18 -0
  12. data/examples/xml/create_fulfillment_order.xml +6 -0
  13. data/examples/xml/error.xml +10 -0
  14. data/examples/xml/get_feed_submission_count.xml +10 -0
  15. data/examples/xml/get_feed_submission_list.xml +18 -0
  16. data/examples/xml/get_feed_submission_list_by_next_token.xml +16 -0
  17. data/examples/xml/get_feed_submission_result.xml +30 -0
  18. data/examples/xml/get_fulfillment_order.xml +113 -0
  19. data/examples/xml/get_fulfillment_preview.xml +148 -0
  20. data/examples/xml/get_matching_product.xml +115 -0
  21. data/examples/xml/get_matching_product_for_id.xml +119 -0
  22. data/examples/xml/get_report.xml +237 -0
  23. data/examples/xml/get_report_count.xml +9 -0
  24. data/examples/xml/get_report_list.xml +17 -0
  25. data/examples/xml/get_report_request_count.xml +8 -0
  26. data/examples/xml/get_report_request_list.xml +120 -0
  27. data/examples/xml/get_report_request_list_by_next_token.xml +20 -0
  28. data/examples/xml/get_report_schedule_count.xml +10 -0
  29. data/examples/xml/get_report_schedule_list.xml +15 -0
  30. data/examples/xml/get_report_schedule_list_by_next_token.xml +15 -0
  31. data/examples/xml/list_all_fulfillment_orders.xml +69 -0
  32. data/examples/xml/list_all_fulfillment_orders_by_next_token.xml +61 -0
  33. data/examples/xml/manage_report_schedule.xml +14 -0
  34. data/examples/xml/orders_request.xml +39 -0
  35. data/examples/xml/request_order_items.xml +51 -0
  36. data/examples/xml/request_order_items_by_next_token.xml +51 -0
  37. data/examples/xml/request_orders.xml +43 -0
  38. data/examples/xml/request_orders_by_next_token.xml +69 -0
  39. data/examples/xml/request_report.xml +17 -0
  40. data/examples/xml/submit_feed.xml +14 -0
  41. data/examples/xml/update_report_acknowledgements.xml +18 -0
  42. data/examples/xsd/Inventory.xsd +49 -0
  43. data/examples/xsd/Item.xsd +285 -0
  44. data/examples/xsd/Listings.xsd +32 -0
  45. data/examples/xsd/OrderAcknowledgement.xsd +55 -0
  46. data/examples/xsd/OrderAdjustment.xsd +94 -0
  47. data/examples/xsd/OrderFulfillment.xsd +57 -0
  48. data/examples/xsd/Override.xsd +48 -0
  49. data/examples/xsd/Price.xsd +59 -0
  50. data/examples/xsd/ProcessingReport.xsd +87 -0
  51. data/examples/xsd/Product.xsd +220 -0
  52. data/examples/xsd/Product/AutoAccessory.xsd +807 -0
  53. data/examples/xsd/Product/Beauty.xsd +114 -0
  54. data/examples/xsd/Product/CE.xsd +544 -0
  55. data/examples/xsd/Product/CameraPhoto.xsd +2410 -0
  56. data/examples/xsd/Product/FoodAndBeverages.xsd +270 -0
  57. data/examples/xsd/Product/Gourmet.xsd +85 -0
  58. data/examples/xsd/Product/Health.xsd +189 -0
  59. data/examples/xsd/Product/Home.xsd +654 -0
  60. data/examples/xsd/Product/Jewelry.xsd +603 -0
  61. data/examples/xsd/Product/Miscellaneous.xsd +157 -0
  62. data/examples/xsd/Product/MusicalInstruments.xsd +853 -0
  63. data/examples/xsd/Product/Office.xsd +550 -0
  64. data/examples/xsd/Product/PetSupplies.xsd +40 -0
  65. data/examples/xsd/Product/ProductClothing.xsd +197 -0
  66. data/examples/xsd/Product/SWVG.xsd +238 -0
  67. data/examples/xsd/Product/Sports.xsd +308 -0
  68. data/examples/xsd/Product/TiresAndWheels.xsd +159 -0
  69. data/examples/xsd/Product/Tools.xsd +62 -0
  70. data/examples/xsd/Product/ToysBaby.xsd +241 -0
  71. data/examples/xsd/Product/Wireless.xsd +77 -0
  72. data/examples/xsd/ProductImage.xsd +39 -0
  73. data/examples/xsd/Relationship.xsd +47 -0
  74. data/examples/xsd/SettlementReport.xsd +158 -0
  75. data/examples/xsd/amzn-base.xsd +1600 -0
  76. data/examples/xsd/amzn-envelope.xsd +98 -0
  77. data/examples/xsd/amzn-header.xsd +45 -0
  78. data/lib/amazon-mws.rb +6 -0
  79. data/lib/amazon/mws.rb +69 -0
  80. data/lib/amazon/mws/authentication.rb +10 -0
  81. data/lib/amazon/mws/authentication/query_string.rb +36 -0
  82. data/lib/amazon/mws/authentication/signature.rb +43 -0
  83. data/lib/amazon/mws/base.rb +74 -0
  84. data/lib/amazon/mws/connection.rb +107 -0
  85. data/lib/amazon/mws/connection/management.rb +95 -0
  86. data/lib/amazon/mws/connection/request_builder.rb +67 -0
  87. data/lib/amazon/mws/exceptions.rb +55 -0
  88. data/lib/amazon/mws/lib/extensions.rb +178 -0
  89. data/lib/amazon/mws/lib/memoizable.rb +10 -0
  90. data/lib/amazon/mws/request/feed.rb +276 -0
  91. data/lib/amazon/mws/request/feed_builder.rb +83 -0
  92. data/lib/amazon/mws/request/fulfillment.rb +50 -0
  93. data/lib/amazon/mws/request/orders.rb +107 -0
  94. data/lib/amazon/mws/request/products.rb +38 -0
  95. data/lib/amazon/mws/request/report.rb +330 -0
  96. data/lib/amazon/mws/response.rb +43 -0
  97. data/lib/amazon/mws/response/feed/cancel_feed_submissions_response.rb +15 -0
  98. data/lib/amazon/mws/response/feed/get_feed_submission_count_response.rb +13 -0
  99. data/lib/amazon/mws/response/feed/get_feed_submission_list_by_next_token_response.rb +17 -0
  100. data/lib/amazon/mws/response/feed/get_feed_submission_list_response.rb +16 -0
  101. data/lib/amazon/mws/response/feed/get_feed_submission_result_response.rb +54 -0
  102. data/lib/amazon/mws/response/feed/models/feed_submission.rb +16 -0
  103. data/lib/amazon/mws/response/feed/submit_feed_response.rb +15 -0
  104. data/lib/amazon/mws/response/fulfillment_order/cancel_fulfillment_order_response.rb +11 -0
  105. data/lib/amazon/mws/response/fulfillment_order/create_fulfillment_order_response.rb +12 -0
  106. data/lib/amazon/mws/response/fulfillment_order/get_fulfillment_order_response.rb +19 -0
  107. data/lib/amazon/mws/response/fulfillment_order/list_all_fulfillment_orders_by_next_token_response.rb +16 -0
  108. data/lib/amazon/mws/response/fulfillment_order/list_all_fulfillment_orders_response.rb +15 -0
  109. data/lib/amazon/mws/response/fulfillment_order/models/fulfillment_address.rb +18 -0
  110. data/lib/amazon/mws/response/fulfillment_order/models/fulfillment_order.rb +24 -0
  111. data/lib/amazon/mws/response/fulfillment_order/models/fulfillment_order_item.rb +20 -0
  112. data/lib/amazon/mws/response/fulfillment_order/models/fulfillment_shipment.rb +18 -0
  113. data/lib/amazon/mws/response/fulfillment_order/models/fulfillment_shipment_item.rb +14 -0
  114. data/lib/amazon/mws/response/order/models/order.rb +43 -0
  115. data/lib/amazon/mws/response/order/models/order_item.rb +48 -0
  116. data/lib/amazon/mws/response/order/models/promotion_id.rb +9 -0
  117. data/lib/amazon/mws/response/order/request_get_order_response.rb +15 -0
  118. data/lib/amazon/mws/response/order/request_order_items_response.rb +25 -0
  119. data/lib/amazon/mws/response/order/request_orders_response.rb +28 -0
  120. data/lib/amazon/mws/response/product/get_matching_proudct.rb +31 -0
  121. data/lib/amazon/mws/response/product/models/product.rb +36 -0
  122. data/lib/amazon/mws/response/report/cancel_report_requests_response.rb +16 -0
  123. data/lib/amazon/mws/response/report/get_report_count_response.rb +13 -0
  124. data/lib/amazon/mws/response/report/get_report_list_response.rb +17 -0
  125. data/lib/amazon/mws/response/report/get_report_request_count_response.rb +13 -0
  126. data/lib/amazon/mws/response/report/get_report_request_list_by_next_token_response.rb +17 -0
  127. data/lib/amazon/mws/response/report/get_report_request_list_response.rb +17 -0
  128. data/lib/amazon/mws/response/report/get_report_schedule_count_response.rb +13 -0
  129. data/lib/amazon/mws/response/report/get_report_schedule_list_by_next_token_response.rb +17 -0
  130. data/lib/amazon/mws/response/report/get_report_schedule_list_response.rb +17 -0
  131. data/lib/amazon/mws/response/report/manage_report_schedule_response.rb +16 -0
  132. data/lib/amazon/mws/response/report/models/report_info.rb +16 -0
  133. data/lib/amazon/mws/response/report/models/report_request.rb +20 -0
  134. data/lib/amazon/mws/response/report/models/report_schedule.rb +13 -0
  135. data/lib/amazon/mws/response/report/request_report_response.rb +15 -0
  136. data/lib/amazon/mws/response/report/update_reports_acknowledgements_response.rb +16 -0
  137. data/lib/amazon/mws/response/response.rb +43 -0
  138. data/lib/amazon/mws/response/response_error.rb +21 -0
  139. data/test/connection_test.rb +14 -0
  140. data/test/feed_builder_test.rb +74 -0
  141. data/test/feed_test.rb +144 -0
  142. data/test/fulfillment_order.rb +49 -0
  143. data/test/orders_test.rb +78 -0
  144. data/test/products_test.rb +28 -0
  145. data/test/query_string_test.rb +18 -0
  146. data/test/report_test.rb +88 -0
  147. data/test/response_test.rb +172 -0
  148. data/test/signature_test.rb +32 -0
  149. data/test/test_config.yml +6 -0
  150. data/test/test_helper.rb +33 -0
  151. metadata +335 -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>