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,66 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<!-- Revision="$Revision: #3 $" -->
|
3
|
+
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
|
4
|
+
|
5
|
+
<!--
|
6
|
+
$Date: 2005/04/01 $
|
7
|
+
|
8
|
+
AMAZON.COM CONFIDENTIAL. This document and the information contained in it are
|
9
|
+
confidential and proprietary information of Amazon.com and may not be reproduced,
|
10
|
+
distributed or used, in whole or in part, for any purpose other than as necessary
|
11
|
+
to list products for sale on the www.amazon.com web site pursuant to an agreement
|
12
|
+
with Amazon.com.
|
13
|
+
-->
|
14
|
+
|
15
|
+
<xsd:include schemaLocation="amzn-base.xsd"/>
|
16
|
+
|
17
|
+
<xsd:element name="Tools">
|
18
|
+
<xsd:complexType>
|
19
|
+
<xsd:sequence>
|
20
|
+
<xsd:element name="GritRating" type="xsd:positiveInteger" minOccurs="0"/>
|
21
|
+
<xsd:element name="Horsepower" type="ToolsHorsepower" minOccurs="0"/>
|
22
|
+
<xsd:element name="Diameter" type="LengthDimension" minOccurs="0"/>
|
23
|
+
<xsd:element name="Length" type="LengthDimension" minOccurs="0"/>
|
24
|
+
<xsd:element name="Width" type="LengthDimension" minOccurs="0"/>
|
25
|
+
<xsd:element name="Height" type="LengthDimension" minOccurs="0"/>
|
26
|
+
<xsd:element name="Weight" type="WeightDimension" minOccurs="0"/>
|
27
|
+
|
28
|
+
<xsd:element name="PowerSource" minOccurs="0" maxOccurs="2">
|
29
|
+
<xsd:simpleType>
|
30
|
+
<xsd:restriction base="xsd:string">
|
31
|
+
<xsd:enumeration value="battery-powered"/>
|
32
|
+
<xsd:enumeration value="gas-powered"/>
|
33
|
+
<xsd:enumeration value="hydraulic-powered"/>
|
34
|
+
<xsd:enumeration value="air-powered"/>
|
35
|
+
<xsd:enumeration value="corded-electric"/>
|
36
|
+
</xsd:restriction>
|
37
|
+
</xsd:simpleType>
|
38
|
+
</xsd:element>
|
39
|
+
|
40
|
+
<xsd:element name="Wattage" type="xsd:positiveInteger" minOccurs="0"/>
|
41
|
+
<xsd:element name="Voltage" type="xsd:positiveInteger" minOccurs="0"/>
|
42
|
+
<xsd:element name="NumberOfItemsInPackage" type="xsd:positiveInteger" minOccurs="0"/>
|
43
|
+
</xsd:sequence>
|
44
|
+
</xsd:complexType>
|
45
|
+
</xsd:element>
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
<!--
|
51
|
+
###############################################################
|
52
|
+
# Tools type definitions
|
53
|
+
###############################################################
|
54
|
+
-->
|
55
|
+
|
56
|
+
<xsd:simpleType name="ToolsHorsepower">
|
57
|
+
<xsd:restriction base="xsd:decimal">
|
58
|
+
<xsd:totalDigits value="12"/>
|
59
|
+
<xsd:fractionDigits value="2" fixed="true"/>
|
60
|
+
</xsd:restriction>
|
61
|
+
</xsd:simpleType>
|
62
|
+
|
63
|
+
|
64
|
+
</xsd:schema>
|
65
|
+
|
66
|
+
|
@@ -0,0 +1,241 @@
|
|
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 or baby-products -->
|
20
|
+
<xsd:element name="ToysBaby">
|
21
|
+
<xsd:complexType>
|
22
|
+
<xsd:sequence>
|
23
|
+
<xsd:element name="ProductType">
|
24
|
+
<xsd:simpleType>
|
25
|
+
<xsd:restriction base="MediumStringNotNull">
|
26
|
+
<xsd:enumeration value="ToysAndGames"/>
|
27
|
+
<xsd:enumeration value="BabyProducts"/>
|
28
|
+
</xsd:restriction>
|
29
|
+
</xsd:simpleType>
|
30
|
+
</xsd:element>
|
31
|
+
<xsd:element ref="AgeRecommendation" minOccurs="0"/>
|
32
|
+
<xsd:element name="IsAdultProduct" type="xsd:boolean" minOccurs="0"/>
|
33
|
+
<xsd:element name="AssemblyInstructions" minOccurs="0">
|
34
|
+
<xsd:simpleType>
|
35
|
+
<xsd:restriction base="xsd:normalizedString">
|
36
|
+
<xsd:maxLength value="1500"/>
|
37
|
+
</xsd:restriction>
|
38
|
+
</xsd:simpleType>
|
39
|
+
</xsd:element>
|
40
|
+
<xsd:element name="AssemblyTime" type="AssemblyTimeDimension" minOccurs="0"/>
|
41
|
+
<xsd:element ref="Battery" minOccurs="0"/>
|
42
|
+
<xsd:element name="IsAssemblyRequired" type="xsd:boolean" minOccurs="0"/>
|
43
|
+
<xsd:element name="ManufacturerSafetyWarning" minOccurs="0">
|
44
|
+
<xsd:simpleType>
|
45
|
+
<xsd:restriction base="xsd:normalizedString">
|
46
|
+
<xsd:maxLength value="1500"/>
|
47
|
+
</xsd:restriction>
|
48
|
+
</xsd:simpleType>
|
49
|
+
</xsd:element>
|
50
|
+
<xsd:element name="ManufacturerWarrantyDescription" minOccurs="0">
|
51
|
+
<xsd:simpleType>
|
52
|
+
<xsd:restriction base="xsd:normalizedString">
|
53
|
+
<xsd:maxLength value="1500"/>
|
54
|
+
</xsd:restriction>
|
55
|
+
</xsd:simpleType>
|
56
|
+
</xsd:element>
|
57
|
+
<xsd:element name="NumberOfPieces" type="xsd:positiveInteger" minOccurs="0"/>
|
58
|
+
<xsd:element name="NumberOfPlayers" type="xsd:positiveInteger" minOccurs="0"/>
|
59
|
+
<xsd:element ref="Recall" minOccurs="0"/>
|
60
|
+
<xsd:element name="ToyAwardName" minOccurs="0" maxOccurs="5">
|
61
|
+
<xsd:simpleType>
|
62
|
+
<xsd:restriction base="MediumStringNotNull">
|
63
|
+
<xsd:enumeration value="baby_and_you"/>
|
64
|
+
<xsd:enumeration value="babyworld"/>
|
65
|
+
<xsd:enumeration value="child_magazine"/>
|
66
|
+
<xsd:enumeration value="dr_toys_100_best_child_products"/>
|
67
|
+
<xsd:enumeration value="family_fun_toy_of_the_year_seal"/>
|
68
|
+
<xsd:enumeration value="games_magazine"/>
|
69
|
+
<xsd:enumeration value="gomama_today"/>
|
70
|
+
<xsd:enumeration value="junior"/>
|
71
|
+
<xsd:enumeration value="lion_mark"/>
|
72
|
+
<xsd:enumeration value="mother_and_baby"/>
|
73
|
+
<xsd:enumeration value="mum_knows_best"/>
|
74
|
+
<xsd:enumeration value="national_parenting_approval_award"/>
|
75
|
+
<xsd:enumeration value="oppenheim_toys"/>
|
76
|
+
<xsd:enumeration value="parents_choice_portfolio"/>
|
77
|
+
<xsd:enumeration value="parents_magazine"/>
|
78
|
+
<xsd:enumeration value="practical_parenting"/>
|
79
|
+
<xsd:enumeration value="prima_baby"/>
|
80
|
+
<xsd:enumeration value="reddot"/>
|
81
|
+
<xsd:enumeration value="the_times"/>
|
82
|
+
<xsd:enumeration value="toy_wishes"/>
|
83
|
+
<xsd:enumeration value="unknown"/>
|
84
|
+
</xsd:restriction>
|
85
|
+
</xsd:simpleType>
|
86
|
+
</xsd:element>
|
87
|
+
<xsd:element ref="WeightRecommendation" minOccurs="0"/>
|
88
|
+
<xsd:element ref="HeightRecommendation" minOccurs="0"/>
|
89
|
+
<xsd:element name="CountryOfOrigin" minOccurs="0">
|
90
|
+
<xsd:simpleType>
|
91
|
+
<xsd:restriction base="xsd:string">
|
92
|
+
<xsd:length value="2" fixed="true"/>
|
93
|
+
</xsd:restriction>
|
94
|
+
</xsd:simpleType>
|
95
|
+
</xsd:element>
|
96
|
+
<xsd:element name="FoldedSize" type="MediumStringNotNull" minOccurs="0"/>
|
97
|
+
<xsd:element name="MaterialType" type="StringNotNull" minOccurs="0"/>
|
98
|
+
<xsd:element name="CareInstructions" type="LongStringNotNull" minOccurs="0" maxOccurs="3"/>
|
99
|
+
<xsd:element name="SpecialFeatures" type="LongStringNotNull" minOccurs="0" maxOccurs="3"/>
|
100
|
+
<xsd:element name="HandleHeight" type="LengthDimension" minOccurs="0"/>
|
101
|
+
<xsd:element name="SeatLength" minOccurs="0">
|
102
|
+
<xsd:complexType>
|
103
|
+
<xsd:simpleContent>
|
104
|
+
<xsd:extension base="StringNotNull">
|
105
|
+
<xsd:attribute name="unitOfMeasure" type="LengthUnitOfMeasure" use="optional"/>
|
106
|
+
</xsd:extension>
|
107
|
+
</xsd:simpleContent>
|
108
|
+
</xsd:complexType>
|
109
|
+
</xsd:element>
|
110
|
+
<xsd:element name="SeatWidth" minOccurs="0">
|
111
|
+
<xsd:complexType>
|
112
|
+
<xsd:simpleContent>
|
113
|
+
<xsd:extension base="StringNotNull">
|
114
|
+
<xsd:attribute name="unitOfMeasure" type="LengthUnitOfMeasure" use="optional"/>
|
115
|
+
</xsd:extension>
|
116
|
+
</xsd:simpleContent>
|
117
|
+
</xsd:complexType>
|
118
|
+
</xsd:element>
|
119
|
+
<xsd:element name="TireMaterial" type="StringNotNull" minOccurs="0"/>
|
120
|
+
<xsd:element name="TireDiameter" minOccurs="0">
|
121
|
+
<xsd:complexType>
|
122
|
+
<xsd:simpleContent>
|
123
|
+
<xsd:extension base="StringNotNull">
|
124
|
+
<xsd:attribute name="unitOfMeasure" type="LengthUnitOfMeasure" use="optional"/>
|
125
|
+
</xsd:extension>
|
126
|
+
</xsd:simpleContent>
|
127
|
+
</xsd:complexType>
|
128
|
+
</xsd:element>
|
129
|
+
<xsd:element name="TargetGender" minOccurs="0">
|
130
|
+
<xsd:simpleType>
|
131
|
+
<xsd:restriction base="xsd:string">
|
132
|
+
<xsd:enumeration value="male"/>
|
133
|
+
<xsd:enumeration value="female"/>
|
134
|
+
<xsd:enumeration value="unisex"/>
|
135
|
+
</xsd:restriction>
|
136
|
+
</xsd:simpleType>
|
137
|
+
</xsd:element>
|
138
|
+
<xsd:element name="DisplayLength" type="LengthDimension" minOccurs="0"/>
|
139
|
+
<xsd:element name="DisplayVolume" type="VolumeDimension" minOccurs="0"/>
|
140
|
+
<xsd:element name="DisplayWeight" type="WeightDimension" minOccurs="0"/>
|
141
|
+
<xsd:element name="UnitCount" minOccurs="0">
|
142
|
+
<xsd:complexType>
|
143
|
+
<xsd:simpleContent>
|
144
|
+
<xsd:extension base="xsd:positiveInteger">
|
145
|
+
<xsd:attribute name="unitOfMeasure" type="TwentyStringNotNull" use="required"/>
|
146
|
+
</xsd:extension>
|
147
|
+
</xsd:simpleContent>
|
148
|
+
</xsd:complexType>
|
149
|
+
</xsd:element>
|
150
|
+
<!-- VariationData is only supported for BabyProducts -->
|
151
|
+
<xsd:element name="VariationData" minOccurs="0">
|
152
|
+
<xsd:complexType>
|
153
|
+
<xsd:sequence>
|
154
|
+
<xsd:element name="Parentage">
|
155
|
+
<xsd:simpleType>
|
156
|
+
<xsd:restriction base="xsd:string">
|
157
|
+
<xsd:enumeration value="parent"/>
|
158
|
+
<xsd:enumeration value="child"/>
|
159
|
+
</xsd:restriction>
|
160
|
+
</xsd:simpleType>
|
161
|
+
</xsd:element>
|
162
|
+
<xsd:element name="VariationTheme" minOccurs="0">
|
163
|
+
<xsd:simpleType>
|
164
|
+
<xsd:restriction base="xsd:string">
|
165
|
+
<xsd:enumeration value="Size"/>
|
166
|
+
<xsd:enumeration value="Color"/>
|
167
|
+
<xsd:enumeration value="Size-Color"/>
|
168
|
+
</xsd:restriction>
|
169
|
+
</xsd:simpleType>
|
170
|
+
</xsd:element>
|
171
|
+
</xsd:sequence>
|
172
|
+
</xsd:complexType>
|
173
|
+
</xsd:element>
|
174
|
+
<xsd:element name="Size" type="StringNotNull" minOccurs="0"/>
|
175
|
+
<xsd:element name="SizeMap" type="StringNotNull" minOccurs="0"/>
|
176
|
+
<xsd:element name="Color" type="StringNotNull" minOccurs="0"/>
|
177
|
+
<xsd:element name="ColorMap" type="StringNotNull" minOccurs="0"/>
|
178
|
+
</xsd:sequence>
|
179
|
+
</xsd:complexType>
|
180
|
+
</xsd:element>
|
181
|
+
<!--
|
182
|
+
##################################################
|
183
|
+
# Recall Group
|
184
|
+
##################################################
|
185
|
+
-->
|
186
|
+
<xsd:element name="Recall">
|
187
|
+
<xsd:complexType>
|
188
|
+
<xsd:sequence>
|
189
|
+
<xsd:element name="IsRecalled" type="xsd:boolean"/>
|
190
|
+
<xsd:element name="RecallDescription">
|
191
|
+
<xsd:simpleType>
|
192
|
+
<xsd:restriction base="xsd:normalizedString">
|
193
|
+
<xsd:maxLength value="1500"/>
|
194
|
+
</xsd:restriction>
|
195
|
+
</xsd:simpleType>
|
196
|
+
</xsd:element>
|
197
|
+
</xsd:sequence>
|
198
|
+
</xsd:complexType>
|
199
|
+
</xsd:element>
|
200
|
+
<!--
|
201
|
+
##################################################
|
202
|
+
# Age Recommendation Group
|
203
|
+
##################################################
|
204
|
+
-->
|
205
|
+
<xsd:element name="AgeRecommendation">
|
206
|
+
<xsd:complexType>
|
207
|
+
<xsd:sequence>
|
208
|
+
<xsd:element name="MinimumManufacturerAgeRecommended" type="MinimumAgeRecommendedDimension" minOccurs="0"/>
|
209
|
+
<xsd:element name="MaximumManufacturerAgeRecommended" type="AgeRecommendedDimension" minOccurs="0"/>
|
210
|
+
<xsd:element name="MinimumMerchantAgeRecommended" type="MinimumAgeRecommendedDimension" minOccurs="0"/>
|
211
|
+
<xsd:element name="MaximumMerchantAgeRecommended" type="AgeRecommendedDimension" minOccurs="0"/>
|
212
|
+
</xsd:sequence>
|
213
|
+
</xsd:complexType>
|
214
|
+
</xsd:element>
|
215
|
+
<!--
|
216
|
+
##################################################
|
217
|
+
# Weight Recommendation Group
|
218
|
+
##################################################
|
219
|
+
-->
|
220
|
+
<xsd:element name="WeightRecommendation">
|
221
|
+
<xsd:complexType>
|
222
|
+
<xsd:sequence>
|
223
|
+
<xsd:element name="MinimumManufacturerWeightRecommended" type="WeightIntegerDimension" minOccurs="0"/>
|
224
|
+
<xsd:element name="MaximumManufacturerWeightRecommended" type="WeightIntegerDimension" minOccurs="0"/>
|
225
|
+
</xsd:sequence>
|
226
|
+
</xsd:complexType>
|
227
|
+
</xsd:element>
|
228
|
+
<!--
|
229
|
+
##################################################
|
230
|
+
# Height Recommendation Group
|
231
|
+
##################################################
|
232
|
+
-->
|
233
|
+
<xsd:element name="HeightRecommendation">
|
234
|
+
<xsd:complexType>
|
235
|
+
<xsd:sequence>
|
236
|
+
<xsd:element name="MinimumHeightRecommended" type="LengthDimension" minOccurs="0"/>
|
237
|
+
<xsd:element name="MaximumHeightRecommended" type="LengthDimension" minOccurs="0"/>
|
238
|
+
</xsd:sequence>
|
239
|
+
</xsd:complexType>
|
240
|
+
</xsd:element>
|
241
|
+
</xsd:schema>
|
@@ -0,0 +1,77 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<!-- Revision="$Revision: #4 $" -->
|
3
|
+
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
|
4
|
+
<!--
|
5
|
+
|
6
|
+
$Date: 2005/04/01 $
|
7
|
+
|
8
|
+
AMAZON.COM CONFIDENTIAL. This document and the information contained in it are
|
9
|
+
confidential and proprietary information of Amazon.com and may not be reproduced,
|
10
|
+
distributed or used, in whole or in part, for any purpose other than as necessary
|
11
|
+
to list products for sale on the www.amazon.com web site pursuant to an agreement
|
12
|
+
with Amazon.com.
|
13
|
+
|
14
|
+
-->
|
15
|
+
<xsd:include schemaLocation="amzn-base.xsd"/>
|
16
|
+
<xsd:element name="Wireless">
|
17
|
+
<xsd:complexType>
|
18
|
+
<xsd:sequence>
|
19
|
+
<xsd:element name="ProductType">
|
20
|
+
<xsd:complexType>
|
21
|
+
<xsd:choice>
|
22
|
+
<xsd:element ref="WirelessAccessories"/>
|
23
|
+
<xsd:element ref="WirelessDownloads"/>
|
24
|
+
</xsd:choice>
|
25
|
+
</xsd:complexType>
|
26
|
+
</xsd:element>
|
27
|
+
</xsd:sequence>
|
28
|
+
</xsd:complexType>
|
29
|
+
</xsd:element>
|
30
|
+
<!--
|
31
|
+
###############################################################
|
32
|
+
# WirelessAccessories Classification Data
|
33
|
+
###############################################################
|
34
|
+
-->
|
35
|
+
<xsd:element name="WirelessAccessories">
|
36
|
+
<xsd:complexType>
|
37
|
+
<xsd:sequence>
|
38
|
+
<xsd:element name="Color" type="StringNotNull" minOccurs="0"/>
|
39
|
+
<xsd:element ref="ColorMap" minOccurs="0"/>
|
40
|
+
<xsd:element name="AdditionalFeatures" type="LongStringNotNull" minOccurs="0"/>
|
41
|
+
<xsd:element name="TalkTime" type="TimeDimension" minOccurs="0"/>
|
42
|
+
<xsd:element name="StandbyTime" type="TimeDimension" minOccurs="0"/>
|
43
|
+
<xsd:element name="ChargingTime" type="TimeDimension" minOccurs="0"/>
|
44
|
+
<xsd:element name="BatteryPower" type="BatteryPowerIntegerDimension" minOccurs="0"/>
|
45
|
+
<xsd:element name="Solar" type="xsd:boolean" minOccurs="0"/>
|
46
|
+
<xsd:element name="Refillable" type="xsd:boolean" minOccurs="0"/>
|
47
|
+
<xsd:element name="Extended" type="xsd:boolean" minOccurs="0"/>
|
48
|
+
<xsd:element name="Slim" type="xsd:boolean" minOccurs="0"/>
|
49
|
+
<xsd:element name="Auxiliary" type="xsd:boolean" minOccurs="0"/>
|
50
|
+
<xsd:element name="BatteryType" type="StringNotNull" minOccurs="0"/>
|
51
|
+
<xsd:element name="AntennaType" type="StringNotNull" minOccurs="0"/>
|
52
|
+
<xsd:element name="CompatiblePhoneModels" type="StringNotNull" minOccurs="0" maxOccurs="18"/>
|
53
|
+
<xsd:element name="ManufacturerName" type="StringNotNull" minOccurs="0"/>
|
54
|
+
<xsd:element name="Keywords" type="StringNotNull" minOccurs="0" maxOccurs="5"/>
|
55
|
+
<xsd:element name="ItemPackageQuantity" type="xsd:positiveInteger" minOccurs="0"/>
|
56
|
+
</xsd:sequence>
|
57
|
+
</xsd:complexType>
|
58
|
+
</xsd:element>
|
59
|
+
<!--
|
60
|
+
###############################################################
|
61
|
+
# WirelessDownloads Classification Data
|
62
|
+
###############################################################
|
63
|
+
-->
|
64
|
+
<xsd:element name="WirelessDownloads">
|
65
|
+
<xsd:complexType>
|
66
|
+
<xsd:sequence>
|
67
|
+
<xsd:element name="CompatiblePhoneModels" type="StringNotNull" minOccurs="0" maxOccurs="18"/>
|
68
|
+
<xsd:element name="ManufacturerName" type="StringNotNull" minOccurs="0"/>
|
69
|
+
<xsd:element name="AdditionalFeatures" type="LongStringNotNull" minOccurs="0"/>
|
70
|
+
<xsd:element name="Keywords" type="StringNotNull" minOccurs="0" maxOccurs="5"/>
|
71
|
+
<xsd:element name="ApplicationVersion" type="StringNotNull" minOccurs="0"/>
|
72
|
+
</xsd:sequence>
|
73
|
+
</xsd:complexType>
|
74
|
+
</xsd:element>
|
75
|
+
</xsd:schema>
|
76
|
+
|
77
|
+
|
@@ -0,0 +1,39 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<!-- Revision="$Revision: #5 $" -->
|
3
|
+
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
|
4
|
+
<!--
|
5
|
+
$Date: 2007/09/04 $
|
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
|
+
<xsd:element name="ProductImage">
|
15
|
+
<xsd:complexType>
|
16
|
+
<xsd:sequence>
|
17
|
+
<xsd:element ref="SKU"/>
|
18
|
+
<xsd:element name="ImageType">
|
19
|
+
<xsd:simpleType>
|
20
|
+
<xsd:restriction base="xsd:string">
|
21
|
+
<xsd:enumeration value="Main"/>
|
22
|
+
<xsd:enumeration value="Swatch"/>
|
23
|
+
<xsd:enumeration value="PT1"/>
|
24
|
+
<xsd:enumeration value="PT2"/>
|
25
|
+
<xsd:enumeration value="PT3"/>
|
26
|
+
<xsd:enumeration value="PT4"/>
|
27
|
+
<xsd:enumeration value="PT5"/>
|
28
|
+
<xsd:enumeration value="PT6"/>
|
29
|
+
<xsd:enumeration value="PT7"/>
|
30
|
+
<xsd:enumeration value="PT8"/>
|
31
|
+
<xsd:enumeration value="Search"/>
|
32
|
+
</xsd:restriction>
|
33
|
+
</xsd:simpleType>
|
34
|
+
</xsd:element>
|
35
|
+
<xsd:element name="ImageLocation" type="xsd:anyURI" minOccurs="0"/>
|
36
|
+
</xsd:sequence>
|
37
|
+
</xsd:complexType>
|
38
|
+
</xsd:element>
|
39
|
+
</xsd:schema>
|
@@ -0,0 +1,47 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<!-- Revision="$Revision: #1 $" -->
|
3
|
+
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
|
4
|
+
<!--
|
5
|
+
$Date: 2006/03/29 $
|
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
|
+
<xsd:element name="Relationship">
|
15
|
+
<xsd:complexType>
|
16
|
+
<xsd:sequence>
|
17
|
+
<xsd:element name="ParentSKU" type="SKUType"/>
|
18
|
+
<xsd:element name="Relation" maxOccurs="unbounded">
|
19
|
+
<xsd:complexType>
|
20
|
+
<xsd:sequence>
|
21
|
+
<xsd:element ref="SKU"/>
|
22
|
+
<xsd:element name="Type">
|
23
|
+
<xsd:simpleType>
|
24
|
+
<xsd:restriction base="xsd:string">
|
25
|
+
<xsd:enumeration value="Variation"/>
|
26
|
+
<xsd:enumeration value="DisplaySet"/>
|
27
|
+
<xsd:enumeration value="Collection"/>
|
28
|
+
<xsd:enumeration value="Accessory"/>
|
29
|
+
<xsd:enumeration value="Customized"/>
|
30
|
+
<xsd:enumeration value="Part"/>
|
31
|
+
<xsd:enumeration value="Complements"/>
|
32
|
+
<xsd:enumeration value="Piece"/>
|
33
|
+
<xsd:enumeration value="Necessary"/>
|
34
|
+
<xsd:enumeration value="ReplacementPart"/>
|
35
|
+
<xsd:enumeration value="Similar"/>
|
36
|
+
<xsd:enumeration value="Episode"/>
|
37
|
+
<xsd:enumeration value="Season"/>
|
38
|
+
</xsd:restriction>
|
39
|
+
</xsd:simpleType>
|
40
|
+
</xsd:element>
|
41
|
+
</xsd:sequence>
|
42
|
+
</xsd:complexType>
|
43
|
+
</xsd:element>
|
44
|
+
</xsd:sequence>
|
45
|
+
</xsd:complexType>
|
46
|
+
</xsd:element>
|
47
|
+
</xsd:schema>
|