amazon-mws 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) hide show
  1. data/.gitignore +1 -0
  2. data/README.markdown +31 -0
  3. data/Rakefile +14 -0
  4. data/VERSION +1 -0
  5. data/amazon-mws.gemspec +164 -0
  6. data/examples/xml/cancel_feed_submissions.xml +16 -0
  7. data/examples/xml/cancel_report_requests.xml +18 -0
  8. data/examples/xml/error.xml +10 -0
  9. data/examples/xml/get_feed_submission_count.xml +10 -0
  10. data/examples/xml/get_feed_submission_list.xml +16 -0
  11. data/examples/xml/get_feed_submission_list_by_next_token.xml +16 -0
  12. data/examples/xml/get_feed_submission_result.xml +30 -0
  13. data/examples/xml/get_report_count.xml +9 -0
  14. data/examples/xml/get_report_list.xml +17 -0
  15. data/examples/xml/get_report_request_count.xml +8 -0
  16. data/examples/xml/get_report_request_list.xml +120 -0
  17. data/examples/xml/get_report_request_list_by_next_token.xml +20 -0
  18. data/examples/xml/get_report_schedule_count.xml +10 -0
  19. data/examples/xml/get_report_schedule_list.xml +15 -0
  20. data/examples/xml/get_report_schedule_list_by_next_token.xml +15 -0
  21. data/examples/xml/manage_report_schedule.xml +14 -0
  22. data/examples/xml/request_report.xml +17 -0
  23. data/examples/xml/submit_feed.xml +14 -0
  24. data/examples/xml/update_report_acknowledgements.xml +18 -0
  25. data/examples/xsd/Inventory.xsd +49 -0
  26. data/examples/xsd/Item.xsd +285 -0
  27. data/examples/xsd/Listings.xsd +32 -0
  28. data/examples/xsd/OrderAcknowledgement.xsd +55 -0
  29. data/examples/xsd/OrderAdjustment.xsd +94 -0
  30. data/examples/xsd/OrderFulfillment.xsd +57 -0
  31. data/examples/xsd/Override.xsd +48 -0
  32. data/examples/xsd/Price.xsd +59 -0
  33. data/examples/xsd/ProcessingReport.xsd +87 -0
  34. data/examples/xsd/Product.xsd +220 -0
  35. data/examples/xsd/Product/AutoAccessory.xsd +807 -0
  36. data/examples/xsd/Product/Beauty.xsd +114 -0
  37. data/examples/xsd/Product/CE.xsd +544 -0
  38. data/examples/xsd/Product/CameraPhoto.xsd +2410 -0
  39. data/examples/xsd/Product/FoodAndBeverages.xsd +270 -0
  40. data/examples/xsd/Product/Gourmet.xsd +85 -0
  41. data/examples/xsd/Product/Health.xsd +189 -0
  42. data/examples/xsd/Product/Home.xsd +654 -0
  43. data/examples/xsd/Product/Jewelry.xsd +603 -0
  44. data/examples/xsd/Product/Miscellaneous.xsd +157 -0
  45. data/examples/xsd/Product/MusicalInstruments.xsd +853 -0
  46. data/examples/xsd/Product/Office.xsd +550 -0
  47. data/examples/xsd/Product/PetSupplies.xsd +40 -0
  48. data/examples/xsd/Product/ProductClothing.xsd +197 -0
  49. data/examples/xsd/Product/SWVG.xsd +238 -0
  50. data/examples/xsd/Product/Sports.xsd +308 -0
  51. data/examples/xsd/Product/TiresAndWheels.xsd +159 -0
  52. data/examples/xsd/Product/Tools.xsd +66 -0
  53. data/examples/xsd/Product/ToysBaby.xsd +241 -0
  54. data/examples/xsd/Product/Wireless.xsd +77 -0
  55. data/examples/xsd/ProductImage.xsd +39 -0
  56. data/examples/xsd/Relationship.xsd +47 -0
  57. data/examples/xsd/SettlementReport.xsd +158 -0
  58. data/examples/xsd/amzn-base.xsd +1601 -0
  59. data/examples/xsd/amzn-envelope.xsd +98 -0
  60. data/examples/xsd/amzn-header.xsd +45 -0
  61. data/lib/amazon/mws.rb +86 -0
  62. data/lib/amazon/mws/authentication.rb +9 -0
  63. data/lib/amazon/mws/authentication/query_string.rb +28 -0
  64. data/lib/amazon/mws/authentication/signature.rb +43 -0
  65. data/lib/amazon/mws/base.rb +61 -0
  66. data/lib/amazon/mws/connection.rb +99 -0
  67. data/lib/amazon/mws/connection/management.rb +94 -0
  68. data/lib/amazon/mws/connection/request_builder.rb +67 -0
  69. data/lib/amazon/mws/exceptions.rb +80 -0
  70. data/lib/amazon/mws/feed.rb +223 -0
  71. data/lib/amazon/mws/feed_builder.rb +67 -0
  72. data/lib/amazon/mws/feed_enumerations.rb +46 -0
  73. data/lib/amazon/mws/feed_submission.rb +14 -0
  74. data/lib/amazon/mws/lib/extensions.rb +162 -0
  75. data/lib/amazon/mws/lib/memoizable.rb +10 -0
  76. data/lib/amazon/mws/orders.rb +9 -0
  77. data/lib/amazon/mws/report.rb +310 -0
  78. data/lib/amazon/mws/report_enumerations.rb +44 -0
  79. data/lib/amazon/mws/report_info.rb +16 -0
  80. data/lib/amazon/mws/report_request.rb +19 -0
  81. data/lib/amazon/mws/report_schedule.rb +13 -0
  82. data/lib/amazon/mws/response.rb +32 -0
  83. data/lib/amazon/mws/response/cancel_feed_submissions_response.rb +14 -0
  84. data/lib/amazon/mws/response/cancel_report_requests_response.rb +14 -0
  85. data/lib/amazon/mws/response/get_feed_submission_count_response.rb +13 -0
  86. data/lib/amazon/mws/response/get_feed_submission_list_by_next_token_response.rb +15 -0
  87. data/lib/amazon/mws/response/get_feed_submission_list_response.rb +15 -0
  88. data/lib/amazon/mws/response/get_feed_submission_result_response.rb +54 -0
  89. data/lib/amazon/mws/response/get_report_count_response.rb +13 -0
  90. data/lib/amazon/mws/response/get_report_list_response.rb +15 -0
  91. data/lib/amazon/mws/response/get_report_request_count_response.rb +13 -0
  92. data/lib/amazon/mws/response/get_report_request_list_by_next_token_response.rb +15 -0
  93. data/lib/amazon/mws/response/get_report_request_list_response.rb +15 -0
  94. data/lib/amazon/mws/response/get_report_schedule_count_response.rb +13 -0
  95. data/lib/amazon/mws/response/get_report_schedule_list_by_next_token_response.rb +15 -0
  96. data/lib/amazon/mws/response/get_report_schedule_list_response.rb +15 -0
  97. data/lib/amazon/mws/response/manage_report_schedule_response.rb +14 -0
  98. data/lib/amazon/mws/response/request_report_response.rb +14 -0
  99. data/lib/amazon/mws/response/response_error.rb +15 -0
  100. data/lib/amazon/mws/response/submit_feed_response.rb +13 -0
  101. data/lib/amazon/mws/response/update_reports_acknowledgements_response.rb +14 -0
  102. data/lib/amazon/mws/version.rb +12 -0
  103. data/pkg/amazon-mws-0.1.0.gem +0 -0
  104. data/test/authentication_test.rb +15 -0
  105. data/test/connection_test.rb +5 -0
  106. data/test/feed_builder_test.rb +15 -0
  107. data/test/feed_submission_test.rb +32 -0
  108. data/test/feed_test.rb +64 -0
  109. data/test/query_string_test.rb +21 -0
  110. data/test/report_test.rb +29 -0
  111. data/test/request_test.rb +18 -0
  112. data/test/response_test.rb +197 -0
  113. data/test/signature_test.rb +30 -0
  114. data/test/test_config.yml +5 -0
  115. data/test/test_helper.rb +22 -0
  116. metadata +179 -0
@@ -0,0 +1,654 @@
1
+ <?xml version="1.0"?>
2
+ <!-- Revision="$Revision: #6 $" -->
3
+ <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
4
+ <!--
5
+ $Date: 2006/12/05 $
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="Home">
19
+ <xsd:complexType>
20
+ <xsd:sequence>
21
+ <xsd:element name="ProductType">
22
+ <xsd:complexType>
23
+ <xsd:choice>
24
+ <xsd:element ref="BedAndBath"/>
25
+ <xsd:element ref="FurnitureAndDecor"/>
26
+ <xsd:element ref="Kitchen"/>
27
+ <xsd:element ref="OutdoorLiving"/>
28
+ <xsd:element ref="SeedsAndPlants"/>
29
+ </xsd:choice>
30
+ </xsd:complexType>
31
+ </xsd:element>
32
+ <xsd:element name="Parentage">
33
+ <xsd:simpleType>
34
+ <xsd:restriction base="xsd:string">
35
+ <xsd:enumeration value="collection-parent"/>
36
+ <xsd:enumeration value="variation-parent"/>
37
+ <xsd:enumeration value="base-product"/>
38
+ </xsd:restriction>
39
+ </xsd:simpleType>
40
+ </xsd:element>
41
+ <xsd:element name="CountryProducedIn" type="StringNotNull" minOccurs="0"/>
42
+ <xsd:element name="PatternName" type="StringNotNull" minOccurs="0"/>
43
+ <xsd:element name="StyleName" type="StringNotNull" minOccurs="0"/>
44
+ <xsd:element name="Occasion" type="MediumStringNotNull" minOccurs="0"/>
45
+ <xsd:element name="MatteStyle" type="StringNotNull" minOccurs="0"/>
46
+ <xsd:element name="DisplayLength" type="LengthDimension" minOccurs="0"/>
47
+ <xsd:element name="DisplayWidth" type="LengthDimension" minOccurs="0"/>
48
+ <xsd:element name="DisplayHeight" type="LengthDimension" minOccurs="0"/>
49
+ <xsd:element name="DisplayDepth" type="LengthDimension" minOccurs="0"/>
50
+ <xsd:element name="DisplayDiameter" type="LengthDimension" minOccurs="0"/>
51
+ <xsd:element name="DisplayWeight" type="WeightDimension" minOccurs="0"/>
52
+ <xsd:element name="ItemPackageQuantity" type="xsd:positiveInteger" default="1" minOccurs="0"/>
53
+ <xsd:element name="ManufacturerWarrantyDescription" minOccurs="0">
54
+ <xsd:simpleType>
55
+ <xsd:restriction base="xsd:normalizedString">
56
+ <xsd:maxLength value="1500"/>
57
+ </xsd:restriction>
58
+ </xsd:simpleType>
59
+ </xsd:element>
60
+ <xsd:element name="VolumeCapacity" type="VolumeIntegerDimension" minOccurs="0"/>
61
+ <xsd:element name="NumberOfPieces" type="xsd:positiveInteger" minOccurs="0"/>
62
+ </xsd:sequence>
63
+ </xsd:complexType>
64
+ </xsd:element>
65
+ <!--
66
+ ###############################################################
67
+ # Bed And Bath Classification Data
68
+ ###############################################################
69
+ -->
70
+ <xsd:element name="BedAndBath">
71
+ <xsd:complexType>
72
+ <xsd:sequence>
73
+ <xsd:element ref="ColorMap" minOccurs="0"/>
74
+ <xsd:element name="IsStainResistant" type="xsd:boolean" minOccurs="0"/>
75
+ <xsd:element name="Material" type="StringNotNull" minOccurs="0"/>
76
+ <xsd:element name="NumberOfSets" type="xsd:positiveInteger" minOccurs="0"/>
77
+ <xsd:element name="ThreadCount" type="xsd:positiveInteger" minOccurs="0"/>
78
+ <xsd:element name="VariationData" minOccurs="0">
79
+ <xsd:complexType>
80
+ <xsd:sequence>
81
+ <xsd:element name="VariationTheme" minOccurs="0">
82
+ <xsd:simpleType>
83
+ <xsd:restriction base="xsd:string">
84
+ <xsd:enumeration value="Size"/>
85
+ <xsd:enumeration value="Color"/>
86
+ <xsd:enumeration value="Scent"/>
87
+ <xsd:enumeration value="Size-Color"/>
88
+ <xsd:enumeration value="Size-Scent"/>
89
+ <xsd:enumeration value="DisplayLength-DisplayWidth"/>
90
+ <xsd:enumeration value="DisplayLength-Material"/>
91
+ <xsd:enumeration value="DisplayLength-Size"/>
92
+ <xsd:enumeration value="DisplayLength-Color"/>
93
+ <xsd:enumeration value="DisplayLength-DisplayHeight"/>
94
+ <xsd:enumeration value="DisplayWidth-Material"/>
95
+ <xsd:enumeration value="DisplayWidth-Size"/>
96
+ <xsd:enumeration value="DisplayWidth-Color"/>
97
+ <xsd:enumeration value="DisplayWidth-DisplayHeight"/>
98
+ <xsd:enumeration value="ItemPackageQuantity-Material"/>
99
+ <xsd:enumeration value="ItemPackageQuantity-Size"/>
100
+ <xsd:enumeration value="ItemPackageQuantity-Color"/>
101
+ <xsd:enumeration value="ItemPackageQuantity-DisplayHeight"/>
102
+ <xsd:enumeration value="DisplayWeight-ItemPackageQuantity"/>
103
+ <xsd:enumeration value="DisplayWeight-Material"/>
104
+ <xsd:enumeration value="DisplayWeight-Size"/>
105
+ <xsd:enumeration value="DisplayWeight-Color"/>
106
+ <xsd:enumeration value="DisplayWeight-DisplayHeight"/>
107
+ <xsd:enumeration value="Material-DisplayLength"/>
108
+ <xsd:enumeration value="Material-DisplayWidth"/>
109
+ <xsd:enumeration value="Material-Size"/>
110
+ <xsd:enumeration value="Material-Color"/>
111
+ <xsd:enumeration value="Material-DisplayHeight"/>
112
+ <xsd:enumeration value="Size-DisplayLength"/>
113
+ <xsd:enumeration value="Size-DisplayWidth"/>
114
+ <xsd:enumeration value="Size-DisplayWeight"/>
115
+ <xsd:enumeration value="Size-Material"/>
116
+ <xsd:enumeration value="Size-Color"/>
117
+ <xsd:enumeration value="Size-DisplayHeight"/>
118
+ <xsd:enumeration value="Color-DisplayLength"/>
119
+ <xsd:enumeration value="Color-DisplayWidth"/>
120
+ <xsd:enumeration value="Color-ItemPackageQuantity"/>
121
+ <xsd:enumeration value="Color-DisplayWeight"/>
122
+ <xsd:enumeration value="Color-Material"/>
123
+ <xsd:enumeration value="Color-Size"/>
124
+ <xsd:enumeration value="Color-DisplayHeight"/>
125
+ <xsd:enumeration value="DisplayHeight"/>
126
+ <xsd:enumeration value="Material"/>
127
+ <xsd:enumeration value="DisplayWeight"/>
128
+ <xsd:enumeration value="DisplayLength"/>
129
+ <xsd:enumeration value="ItemPackageQuantity"/>
130
+ <xsd:enumeration value="DisplayLength-PatternName"/>
131
+ <xsd:enumeration value="DisplayLength-StyleName"/>
132
+ <xsd:enumeration value="DisplayWidth-PatternName"/>
133
+ <xsd:enumeration value="DisplayWidth-StyleName"/>
134
+ <xsd:enumeration value="Occasion-PatternName"/>
135
+ <xsd:enumeration value="Occasion-ItemPackageQuantity"/>
136
+ <xsd:enumeration value="Occasion-Material"/>
137
+ <xsd:enumeration value="Occasion-StyleName"/>
138
+ <xsd:enumeration value="Occasion-Size"/>
139
+ <xsd:enumeration value="Occasion-Color"/>
140
+ <xsd:enumeration value="Occasion-DisplayHeight"/>
141
+ <xsd:enumeration value="PatternName-DisplayLength"/>
142
+ <xsd:enumeration value="PatternName-DisplayWidth"/>
143
+ <xsd:enumeration value="PatternName-Occasion"/>
144
+ <xsd:enumeration value="PatternName-Material"/>
145
+ <xsd:enumeration value="PatternName-StyleName"/>
146
+ <xsd:enumeration value="PatternName-Size"/>
147
+ <xsd:enumeration value="PatternName-Color"/>
148
+ <xsd:enumeration value="PatternName-DisplayHeight"/>
149
+ <xsd:enumeration value="MatteStyle-Material"/>
150
+ <xsd:enumeration value="MatteStyle-StyleName"/>
151
+ <xsd:enumeration value="MatteStyle-Size"/>
152
+ <xsd:enumeration value="MatteStyle-Color"/>
153
+ <xsd:enumeration value="ItemPackageQuantity-Occasion"/>
154
+ <xsd:enumeration value="ItemPackageQuantity-StyleName"/>
155
+ <xsd:enumeration value="DisplayWeight-StyleName"/>
156
+ <xsd:enumeration value="Material-PatternName"/>
157
+ <xsd:enumeration value="Material-MatteStyle"/>
158
+ <xsd:enumeration value="Material-StyleName"/>
159
+ <xsd:enumeration value="StyleName-DisplayLength"/>
160
+ <xsd:enumeration value="StyleName-DisplayWidth"/>
161
+ <xsd:enumeration value="StyleName-Occasion"/>
162
+ <xsd:enumeration value="StyleName-PatternName"/>
163
+ <xsd:enumeration value="StyleName-DisplayWeight"/>
164
+ <xsd:enumeration value="StyleName-Material"/>
165
+ <xsd:enumeration value="StyleName-Size"/>
166
+ <xsd:enumeration value="StyleName-Color"/>
167
+ <xsd:enumeration value="Size-Occasion"/>
168
+ <xsd:enumeration value="Size-PatternName"/>
169
+ <xsd:enumeration value="Size-MatteStyle"/>
170
+ <xsd:enumeration value="Size-StyleName"/>
171
+ <xsd:enumeration value="Color-Occasion"/>
172
+ <xsd:enumeration value="Color-PatternName"/>
173
+ <xsd:enumeration value="Color-MatteStyle"/>
174
+ <xsd:enumeration value="Color-StyleName"/>
175
+ <xsd:enumeration value="MatteStyle"/>
176
+ <xsd:enumeration value="PatternName"/>
177
+ <xsd:enumeration value="Occasion"/>
178
+ <xsd:enumeration value="StyleName"/>
179
+ <xsd:enumeration value="DisplayWeight-DisplayLength-Color"/>
180
+ <xsd:enumeration value="Occasion-Size-Color"/>
181
+ <xsd:enumeration value="DisplayWeight-DisplayLength-Material"/>
182
+ <xsd:enumeration value="DisplayWeight-DisplayLength-StyleName"/>
183
+ <xsd:enumeration value="PatternName-Size-Occasion"/>
184
+ </xsd:restriction>
185
+ </xsd:simpleType>
186
+ </xsd:element>
187
+ <xsd:element name="Size" type="StringNotNull" minOccurs="0"/>
188
+ <xsd:element name="Color" type="StringNotNull" minOccurs="0"/>
189
+ <xsd:element name="Scent" type="StringNotNull" minOccurs="0"/>
190
+ </xsd:sequence>
191
+ </xsd:complexType>
192
+ </xsd:element>
193
+ <xsd:element name="Wattage" type="xsd:positiveInteger" minOccurs="0"/>
194
+ </xsd:sequence>
195
+ </xsd:complexType>
196
+ </xsd:element>
197
+ <!--
198
+ ###############################################################
199
+ # Furniture And Decor Classification Data
200
+ ###############################################################
201
+ -->
202
+ <xsd:element name="FurnitureAndDecor">
203
+ <xsd:complexType>
204
+ <xsd:sequence>
205
+ <xsd:element ref="Battery" minOccurs="0"/>
206
+ <xsd:element ref="ColorMap" minOccurs="0"/>
207
+ <xsd:element name="IsStainResistant" type="xsd:boolean" minOccurs="0"/>
208
+ <xsd:element name="Material" type="StringNotNull" minOccurs="0"/>
209
+ <xsd:element name="NumberOfSets" type="xsd:positiveInteger" minOccurs="0"/>
210
+ <xsd:element name="ThreadCount" type="xsd:positiveInteger" minOccurs="0"/>
211
+ <xsd:element name="VariationData" minOccurs="0">
212
+ <xsd:complexType>
213
+ <xsd:sequence>
214
+ <xsd:element name="VariationTheme" minOccurs="0">
215
+ <xsd:simpleType>
216
+ <xsd:restriction base="xsd:string">
217
+ <xsd:enumeration value="Size"/>
218
+ <xsd:enumeration value="Color"/>
219
+ <xsd:enumeration value="Scent"/>
220
+ <xsd:enumeration value="Size-Color"/>
221
+ <xsd:enumeration value="Size-Scent"/>
222
+ <xsd:enumeration value="DisplayLength-DisplayWidth"/>
223
+ <xsd:enumeration value="DisplayLength-Material"/>
224
+ <xsd:enumeration value="DisplayLength-Size"/>
225
+ <xsd:enumeration value="DisplayLength-Color"/>
226
+ <xsd:enumeration value="DisplayLength-DisplayHeight"/>
227
+ <xsd:enumeration value="DisplayWidth-Material"/>
228
+ <xsd:enumeration value="DisplayWidth-Size"/>
229
+ <xsd:enumeration value="DisplayWidth-Color"/>
230
+ <xsd:enumeration value="DisplayWidth-DisplayHeight"/>
231
+ <xsd:enumeration value="ItemPackageQuantity-Material"/>
232
+ <xsd:enumeration value="ItemPackageQuantity-Size"/>
233
+ <xsd:enumeration value="ItemPackageQuantity-Color"/>
234
+ <xsd:enumeration value="ItemPackageQuantity-DisplayHeight"/>
235
+ <xsd:enumeration value="DisplayWeight-ItemPackageQuantity"/>
236
+ <xsd:enumeration value="DisplayWeight-Material"/>
237
+ <xsd:enumeration value="DisplayWeight-Size"/>
238
+ <xsd:enumeration value="DisplayWeight-Color"/>
239
+ <xsd:enumeration value="DisplayWeight-DisplayHeight"/>
240
+ <xsd:enumeration value="Material-DisplayLength"/>
241
+ <xsd:enumeration value="Material-DisplayWidth"/>
242
+ <xsd:enumeration value="Material-Size"/>
243
+ <xsd:enumeration value="Material-Color"/>
244
+ <xsd:enumeration value="Material-DisplayHeight"/>
245
+ <xsd:enumeration value="Size-DisplayLength"/>
246
+ <xsd:enumeration value="Size-DisplayWidth"/>
247
+ <xsd:enumeration value="Size-DisplayWeight"/>
248
+ <xsd:enumeration value="Size-Material"/>
249
+ <xsd:enumeration value="Size-Color"/>
250
+ <xsd:enumeration value="Size-DisplayHeight"/>
251
+ <xsd:enumeration value="Color-DisplayLength"/>
252
+ <xsd:enumeration value="Color-DisplayWidth"/>
253
+ <xsd:enumeration value="Color-ItemPackageQuantity"/>
254
+ <xsd:enumeration value="Color-DisplayWeight"/>
255
+ <xsd:enumeration value="Color-Material"/>
256
+ <xsd:enumeration value="Color-Size"/>
257
+ <xsd:enumeration value="Color-DisplayHeight"/>
258
+ <xsd:enumeration value="DisplayHeight"/>
259
+ <xsd:enumeration value="Material"/>
260
+ <xsd:enumeration value="DisplayWeight"/>
261
+ <xsd:enumeration value="DisplayLength"/>
262
+ <xsd:enumeration value="ItemPackageQuantity"/>
263
+ <xsd:enumeration value="DisplayLength-PatternName"/>
264
+ <xsd:enumeration value="DisplayLength-StyleName"/>
265
+ <xsd:enumeration value="DisplayWidth-PatternName"/>
266
+ <xsd:enumeration value="DisplayWidth-StyleName"/>
267
+ <xsd:enumeration value="Occasion-PatternName"/>
268
+ <xsd:enumeration value="Occasion-ItemPackageQuantity"/>
269
+ <xsd:enumeration value="Occasion-Material"/>
270
+ <xsd:enumeration value="Occasion-StyleName"/>
271
+ <xsd:enumeration value="Occasion-Size"/>
272
+ <xsd:enumeration value="Occasion-Color"/>
273
+ <xsd:enumeration value="Occasion-DisplayHeight"/>
274
+ <xsd:enumeration value="PatternName-DisplayLength"/>
275
+ <xsd:enumeration value="PatternName-DisplayWidth"/>
276
+ <xsd:enumeration value="PatternName-Occasion"/>
277
+ <xsd:enumeration value="PatternName-Material"/>
278
+ <xsd:enumeration value="PatternName-StyleName"/>
279
+ <xsd:enumeration value="PatternName-Size"/>
280
+ <xsd:enumeration value="PatternName-Color"/>
281
+ <xsd:enumeration value="PatternName-DisplayHeight"/>
282
+ <xsd:enumeration value="MatteStyle-Material"/>
283
+ <xsd:enumeration value="MatteStyle-StyleName"/>
284
+ <xsd:enumeration value="MatteStyle-Size"/>
285
+ <xsd:enumeration value="MatteStyle-Color"/>
286
+ <xsd:enumeration value="ItemPackageQuantity-Occasion"/>
287
+ <xsd:enumeration value="ItemPackageQuantity-StyleName"/>
288
+ <xsd:enumeration value="DisplayWeight-StyleName"/>
289
+ <xsd:enumeration value="Material-PatternName"/>
290
+ <xsd:enumeration value="Material-MatteStyle"/>
291
+ <xsd:enumeration value="Material-StyleName"/>
292
+ <xsd:enumeration value="StyleName-DisplayLength"/>
293
+ <xsd:enumeration value="StyleName-DisplayWidth"/>
294
+ <xsd:enumeration value="StyleName-Occasion"/>
295
+ <xsd:enumeration value="StyleName-PatternName"/>
296
+ <xsd:enumeration value="StyleName-DisplayWeight"/>
297
+ <xsd:enumeration value="StyleName-Material"/>
298
+ <xsd:enumeration value="StyleName-Size"/>
299
+ <xsd:enumeration value="StyleName-Color"/>
300
+ <xsd:enumeration value="Size-Occasion"/>
301
+ <xsd:enumeration value="Size-PatternName"/>
302
+ <xsd:enumeration value="Size-MatteStyle"/>
303
+ <xsd:enumeration value="Size-StyleName"/>
304
+ <xsd:enumeration value="Color-Occasion"/>
305
+ <xsd:enumeration value="Color-PatternName"/>
306
+ <xsd:enumeration value="Color-MatteStyle"/>
307
+ <xsd:enumeration value="Color-StyleName"/>
308
+ <xsd:enumeration value="MatteStyle"/>
309
+ <xsd:enumeration value="PatternName"/>
310
+ <xsd:enumeration value="Occasion"/>
311
+ <xsd:enumeration value="StyleName"/>
312
+ <xsd:enumeration value="DisplayWeight-DisplayLength-Color"/>
313
+ <xsd:enumeration value="Occasion-Size-Color"/>
314
+ <xsd:enumeration value="DisplayWeight-DisplayLength-Material"/>
315
+ <xsd:enumeration value="DisplayWeight-DisplayLength-StyleName"/>
316
+ <xsd:enumeration value="PatternName-Size-Occasion"/>
317
+ </xsd:restriction>
318
+ </xsd:simpleType>
319
+ </xsd:element>
320
+ <xsd:element name="Size" type="StringNotNull" minOccurs="0"/>
321
+ <xsd:element name="Color" type="StringNotNull" minOccurs="0"/>
322
+ <xsd:element name="Scent" type="StringNotNull" minOccurs="0"/>
323
+ </xsd:sequence>
324
+ </xsd:complexType>
325
+ </xsd:element>
326
+ <xsd:element name="Wattage" type="xsd:positiveInteger" minOccurs="0"/>
327
+ </xsd:sequence>
328
+ </xsd:complexType>
329
+ </xsd:element>
330
+ <!--
331
+ ###############################################################
332
+ # Kitchen Classification Data
333
+ ###############################################################
334
+ -->
335
+ <xsd:element name="Kitchen">
336
+ <xsd:complexType>
337
+ <xsd:sequence>
338
+ <xsd:element ref="Battery" minOccurs="0"/>
339
+ <xsd:element ref="ColorMap" minOccurs="0"/>
340
+ <xsd:element name="Material" type="StringNotNull" minOccurs="0"/>
341
+ <xsd:element name="NumberOfSets" type="xsd:positiveInteger" minOccurs="0"/>
342
+ <xsd:element name="ThreadCount" type="xsd:positiveInteger" minOccurs="0"/>
343
+ <xsd:element name="VariationData" minOccurs="0">
344
+ <xsd:complexType>
345
+ <xsd:sequence>
346
+ <xsd:element name="VariationTheme" minOccurs="0">
347
+ <xsd:simpleType>
348
+ <xsd:restriction base="xsd:string">
349
+ <xsd:enumeration value="Size"/>
350
+ <xsd:enumeration value="Color"/>
351
+ <xsd:enumeration value="Size-Color"/>
352
+ <xsd:enumeration value="DisplayLength-DisplayWidth"/>
353
+ <xsd:enumeration value="DisplayLength-Material"/>
354
+ <xsd:enumeration value="DisplayLength-Size"/>
355
+ <xsd:enumeration value="DisplayLength-Color"/>
356
+ <xsd:enumeration value="DisplayLength-DisplayHeight"/>
357
+ <xsd:enumeration value="DisplayWidth-Material"/>
358
+ <xsd:enumeration value="DisplayWidth-Size"/>
359
+ <xsd:enumeration value="DisplayWidth-Color"/>
360
+ <xsd:enumeration value="DisplayWidth-DisplayHeight"/>
361
+ <xsd:enumeration value="ItemPackageQuantity-Material"/>
362
+ <xsd:enumeration value="ItemPackageQuantity-Size"/>
363
+ <xsd:enumeration value="ItemPackageQuantity-Color"/>
364
+ <xsd:enumeration value="ItemPackageQuantity-DisplayHeight"/>
365
+ <xsd:enumeration value="DisplayWeight-ItemPackageQuantity"/>
366
+ <xsd:enumeration value="DisplayWeight-Material"/>
367
+ <xsd:enumeration value="DisplayWeight-Size"/>
368
+ <xsd:enumeration value="DisplayWeight-Color"/>
369
+ <xsd:enumeration value="DisplayWeight-DisplayHeight"/>
370
+ <xsd:enumeration value="Material-DisplayLength"/>
371
+ <xsd:enumeration value="Material-DisplayWidth"/>
372
+ <xsd:enumeration value="Material-Size"/>
373
+ <xsd:enumeration value="Material-Color"/>
374
+ <xsd:enumeration value="Material-DisplayHeight"/>
375
+ <xsd:enumeration value="Size-DisplayLength"/>
376
+ <xsd:enumeration value="Size-DisplayWidth"/>
377
+ <xsd:enumeration value="Size-DisplayWeight"/>
378
+ <xsd:enumeration value="Size-Material"/>
379
+ <xsd:enumeration value="Size-Color"/>
380
+ <xsd:enumeration value="Size-DisplayHeight"/>
381
+ <xsd:enumeration value="Color-DisplayLength"/>
382
+ <xsd:enumeration value="Color-DisplayWidth"/>
383
+ <xsd:enumeration value="Color-ItemPackageQuantity"/>
384
+ <xsd:enumeration value="Color-DisplayWeight"/>
385
+ <xsd:enumeration value="Color-Material"/>
386
+ <xsd:enumeration value="Color-Size"/>
387
+ <xsd:enumeration value="Color-DisplayHeight"/>
388
+ <xsd:enumeration value="DisplayHeight"/>
389
+ <xsd:enumeration value="Material"/>
390
+ <xsd:enumeration value="DisplayWeight"/>
391
+ <xsd:enumeration value="DisplayLength"/>
392
+ <xsd:enumeration value="ItemPackageQuantity"/>
393
+ <xsd:enumeration value="DisplayLength-PatternName"/>
394
+ <xsd:enumeration value="DisplayLength-StyleName"/>
395
+ <xsd:enumeration value="DisplayWidth-PatternName"/>
396
+ <xsd:enumeration value="DisplayWidth-StyleName"/>
397
+ <xsd:enumeration value="Occasion-PatternName"/>
398
+ <xsd:enumeration value="Occasion-ItemPackageQuantity"/>
399
+ <xsd:enumeration value="Occasion-Material"/>
400
+ <xsd:enumeration value="Occasion-StyleName"/>
401
+ <xsd:enumeration value="Occasion-Size"/>
402
+ <xsd:enumeration value="Occasion-Color"/>
403
+ <xsd:enumeration value="Occasion-DisplayHeight"/>
404
+ <xsd:enumeration value="PatternName-DisplayLength"/>
405
+ <xsd:enumeration value="PatternName-DisplayWidth"/>
406
+ <xsd:enumeration value="PatternName-Occasion"/>
407
+ <xsd:enumeration value="PatternName-Material"/>
408
+ <xsd:enumeration value="PatternName-StyleName"/>
409
+ <xsd:enumeration value="PatternName-Size"/>
410
+ <xsd:enumeration value="PatternName-Color"/>
411
+ <xsd:enumeration value="PatternName-DisplayHeight"/>
412
+ <xsd:enumeration value="MatteStyle-Material"/>
413
+ <xsd:enumeration value="MatteStyle-StyleName"/>
414
+ <xsd:enumeration value="MatteStyle-Size"/>
415
+ <xsd:enumeration value="MatteStyle-Color"/>
416
+ <xsd:enumeration value="ItemPackageQuantity-Occasion"/>
417
+ <xsd:enumeration value="ItemPackageQuantity-StyleName"/>
418
+ <xsd:enumeration value="DisplayWeight-StyleName"/>
419
+ <xsd:enumeration value="Material-PatternName"/>
420
+ <xsd:enumeration value="Material-MatteStyle"/>
421
+ <xsd:enumeration value="Material-StyleName"/>
422
+ <xsd:enumeration value="StyleName-DisplayLength"/>
423
+ <xsd:enumeration value="StyleName-DisplayWidth"/>
424
+ <xsd:enumeration value="StyleName-Occasion"/>
425
+ <xsd:enumeration value="StyleName-PatternName"/>
426
+ <xsd:enumeration value="StyleName-DisplayWeight"/>
427
+ <xsd:enumeration value="StyleName-Material"/>
428
+ <xsd:enumeration value="StyleName-Size"/>
429
+ <xsd:enumeration value="StyleName-Color"/>
430
+ <xsd:enumeration value="Size-Occasion"/>
431
+ <xsd:enumeration value="Size-PatternName"/>
432
+ <xsd:enumeration value="Size-MatteStyle"/>
433
+ <xsd:enumeration value="Size-StyleName"/>
434
+ <xsd:enumeration value="Color-Occasion"/>
435
+ <xsd:enumeration value="Color-PatternName"/>
436
+ <xsd:enumeration value="Color-MatteStyle"/>
437
+ <xsd:enumeration value="Color-StyleName"/>
438
+ <xsd:enumeration value="MatteStyle"/>
439
+ <xsd:enumeration value="PatternName"/>
440
+ <xsd:enumeration value="Occasion"/>
441
+ <xsd:enumeration value="StyleName"/>
442
+ <xsd:enumeration value="DisplayWeight-DisplayLength-Color"/>
443
+ <xsd:enumeration value="Occasion-Size-Color"/>
444
+ <xsd:enumeration value="DisplayWeight-DisplayLength-Material"/>
445
+ <xsd:enumeration value="DisplayWeight-DisplayLength-StyleName"/>
446
+ <xsd:enumeration value="PatternName-Size-Occasion"/>
447
+ </xsd:restriction>
448
+ </xsd:simpleType>
449
+ </xsd:element>
450
+ <xsd:element name="Size" type="StringNotNull" minOccurs="0"/>
451
+ <xsd:element name="Color" type="StringNotNull" minOccurs="0"/>
452
+ </xsd:sequence>
453
+ </xsd:complexType>
454
+ </xsd:element>
455
+ <xsd:element name="Wattage" type="xsd:positiveInteger" minOccurs="0"/>
456
+ </xsd:sequence>
457
+ </xsd:complexType>
458
+ </xsd:element>
459
+ <!--
460
+ ###############################################################
461
+ # Outdoor Living Classification Data
462
+ ###############################################################
463
+ -->
464
+ <xsd:element name="OutdoorLiving">
465
+ <xsd:complexType>
466
+ <xsd:sequence>
467
+ <xsd:element ref="Battery" minOccurs="0"/>
468
+ <xsd:element ref="ColorMap" minOccurs="0"/>
469
+ <xsd:element name="IsStainResistant" type="xsd:boolean" minOccurs="0"/>
470
+ <xsd:element name="Material" type="StringNotNull" minOccurs="0"/>
471
+ <xsd:element name="VariationData" minOccurs="0">
472
+ <xsd:complexType>
473
+ <xsd:sequence>
474
+ <xsd:element name="VariationTheme" minOccurs="0">
475
+ <xsd:simpleType>
476
+ <xsd:restriction base="xsd:string">
477
+ <xsd:enumeration value="Size"/>
478
+ <xsd:enumeration value="Color"/>
479
+ <xsd:enumeration value="Size-Color"/>
480
+ <xsd:enumeration value="ItemDisplayLength-ItemDisplayWidth"/>
481
+ <xsd:enumeration value="ItemDisplayLength-MaterialType"/>
482
+ <xsd:enumeration value="ItemDisplayLength-SizeName"/>
483
+ <xsd:enumeration value="ItemDisplayLength-ColorName"/>
484
+ <xsd:enumeration value="ItemDisplayLength-ItemDisplayHeight"/>
485
+ <xsd:enumeration value="ItemDisplayWidth-MaterialType"/>
486
+ <xsd:enumeration value="ItemDisplayWidth-SizeName"/>
487
+ <xsd:enumeration value="ItemDisplayWidth-ColorName"/>
488
+ <xsd:enumeration value="ItemDisplayWidth-ItemDisplayHeight"/>
489
+ <xsd:enumeration value="ItemPackageQuantity-MaterialType"/>
490
+ <xsd:enumeration value="ItemPackageQuantity-SizeName"/>
491
+ <xsd:enumeration value="ItemPackageQuantity-ColorName"/>
492
+ <xsd:enumeration value="ItemPackageQuantity-ItemDisplayHeight"/>
493
+ <xsd:enumeration value="ItemDisplayWeight-ItemPackageQuantity"/>
494
+ <xsd:enumeration value="ItemDisplayWeight-MaterialType"/>
495
+ <xsd:enumeration value="ItemDisplayWeight-SizeName"/>
496
+ <xsd:enumeration value="ItemDisplayWeight-ColorName"/>
497
+ <xsd:enumeration value="ItemDisplayWeight-ItemDisplayHeight"/>
498
+ <xsd:enumeration value="MaterialType-ItemDisplayLength"/>
499
+ <xsd:enumeration value="MaterialType-ItemDisplayWidth"/>
500
+ <xsd:enumeration value="MaterialType-SizeName"/>
501
+ <xsd:enumeration value="MaterialType-ColorName"/>
502
+ <xsd:enumeration value="MaterialType-ItemDisplayHeight"/>
503
+ <xsd:enumeration value="SizeName-ItemDisplayLength"/>
504
+ <xsd:enumeration value="SizeName-ItemDisplayWidth"/>
505
+ <xsd:enumeration value="SizeName-ItemDisplayWeight"/>
506
+ <xsd:enumeration value="SizeName-MaterialType"/>
507
+ <xsd:enumeration value="SizeName-ColorName"/>
508
+ <xsd:enumeration value="SizeName-ItemDisplayHeight"/>
509
+ <xsd:enumeration value="ColorName-ItemDisplayLength"/>
510
+ <xsd:enumeration value="ColorName-ItemDisplayWidth"/>
511
+ <xsd:enumeration value="ColorName-ItemPackageQuantity"/>
512
+ <xsd:enumeration value="ColorName-ItemDisplayWeight"/>
513
+ <xsd:enumeration value="ColorName-MaterialType"/>
514
+ <xsd:enumeration value="ColorName-SizeName"/>
515
+ <xsd:enumeration value="ColorName-ItemDisplayHeight"/>
516
+ <xsd:enumeration value="ItemDisplayHeight"/>
517
+ <xsd:enumeration value="MaterialType"/>
518
+ <xsd:enumeration value="ItemDisplayWeight"/>
519
+ <xsd:enumeration value="ItemDisplayLength"/>
520
+ <xsd:enumeration value="ItemPackageQuantity"/>
521
+ <xsd:enumeration value="ItemDisplayLength-PatternName"/>
522
+ <xsd:enumeration value="ItemDisplayLength-StyleName"/>
523
+ <xsd:enumeration value="ItemDisplayWidth-PatternName"/>
524
+ <xsd:enumeration value="ItemDisplayWidth-StyleName"/>
525
+ <xsd:enumeration value="Occasion-PatternName"/>
526
+ <xsd:enumeration value="Occasion-ItemPackageQuantity"/>
527
+ <xsd:enumeration value="Occasion-MaterialType"/>
528
+ <xsd:enumeration value="Occasion-StyleName"/>
529
+ <xsd:enumeration value="Occasion-SizeName"/>
530
+ <xsd:enumeration value="Occasion-ColorName"/>
531
+ <xsd:enumeration value="Occasion-ItemDisplayHeight"/>
532
+ <xsd:enumeration value="PatternName-ItemDisplayLength"/>
533
+ <xsd:enumeration value="PatternName-ItemDisplayWidth"/>
534
+ <xsd:enumeration value="PatternName-Occasion"/>
535
+ <xsd:enumeration value="PatternName-MaterialType"/>
536
+ <xsd:enumeration value="PatternName-StyleName"/>
537
+ <xsd:enumeration value="PatternName-SizeName"/>
538
+ <xsd:enumeration value="PatternName-ColorName"/>
539
+ <xsd:enumeration value="PatternName-ItemDisplayHeight"/>
540
+ <xsd:enumeration value="MatteStyle-MaterialType"/>
541
+ <xsd:enumeration value="MatteStyle-StyleName"/>
542
+ <xsd:enumeration value="MatteStyle-SizeName"/>
543
+ <xsd:enumeration value="MatteStyle-ColorName"/>
544
+ <xsd:enumeration value="ItemPackageQuantity-Occasion"/>
545
+ <xsd:enumeration value="ItemPackageQuantity-StyleName"/>
546
+ <xsd:enumeration value="ItemDisplayWeight-StyleName"/>
547
+ <xsd:enumeration value="MaterialType-PatternName"/>
548
+ <xsd:enumeration value="MaterialType-MatteStyle"/>
549
+ <xsd:enumeration value="MaterialType-StyleName"/>
550
+ <xsd:enumeration value="StyleName-ItemDisplayLength"/>
551
+ <xsd:enumeration value="StyleName-ItemDisplayWidth"/>
552
+ <xsd:enumeration value="StyleName-Occasion"/>
553
+ <xsd:enumeration value="StyleName-PatternName"/>
554
+ <xsd:enumeration value="StyleName-ItemDisplayWeight"/>
555
+ <xsd:enumeration value="StyleName-MaterialType"/>
556
+ <xsd:enumeration value="StyleName-SizeName"/>
557
+ <xsd:enumeration value="StyleName-ColorName"/>
558
+ <xsd:enumeration value="SizeName-Occasion"/>
559
+ <xsd:enumeration value="SizeName-PatternName"/>
560
+ <xsd:enumeration value="SizeName-MatteStyle"/>
561
+ <xsd:enumeration value="SizeName-StyleName"/>
562
+ <xsd:enumeration value="ColorName-Occasion"/>
563
+ <xsd:enumeration value="ColorName-PatternName"/>
564
+ <xsd:enumeration value="ColorName-MatteStyle"/>
565
+ <xsd:enumeration value="ColorName-StyleName"/>
566
+ <xsd:enumeration value="MatteStyle"/>
567
+ <xsd:enumeration value="PatternName"/>
568
+ <xsd:enumeration value="Occasion"/>
569
+ <xsd:enumeration value="StyleName"/>
570
+ <xsd:enumeration value="ItemDisplayWeight-ItemDisplayLength-ColorName"/>
571
+ <xsd:enumeration value="Occasion-SizeName-ColorName"/>
572
+ <xsd:enumeration value="ItemDisplayWeight-ItemDisplayLength-MaterialType"/>
573
+ <xsd:enumeration value="ItemDisplayWeight-ItemDisplayLength-StyleName"/>
574
+ <xsd:enumeration value="PatternName-SizeName-Occasion"/>
575
+ </xsd:restriction>
576
+ </xsd:simpleType>
577
+ </xsd:element>
578
+ <xsd:element name="Size" type="StringNotNull" minOccurs="0"/>
579
+ <xsd:element name="Color" type="StringNotNull" minOccurs="0"/>
580
+ </xsd:sequence>
581
+ </xsd:complexType>
582
+ </xsd:element>
583
+ <xsd:element name="Wattage" type="xsd:positiveInteger" minOccurs="0"/>
584
+ </xsd:sequence>
585
+ </xsd:complexType>
586
+ </xsd:element>
587
+ <!--
588
+ ###############################################################
589
+ # Seeds And Plants Classification Data
590
+ ###############################################################
591
+ -->
592
+ <xsd:element name="SeedsAndPlants">
593
+ <xsd:complexType>
594
+ <xsd:sequence>
595
+ <xsd:element ref="ColorMap" minOccurs="0"/>
596
+ <xsd:element name="MoistureNeeds" minOccurs="0">
597
+ <xsd:simpleType>
598
+ <xsd:restriction base="xsd:string">
599
+ <xsd:enumeration value="little-to-no-watering"/>
600
+ <xsd:enumeration value="moderate-watering"/>
601
+ <xsd:enumeration value="regular-watering"/>
602
+ <xsd:enumeration value="constant-watering"/>
603
+ </xsd:restriction>
604
+ </xsd:simpleType>
605
+ </xsd:element>
606
+ <xsd:element name="Spread" type="LengthDimension" minOccurs="0"/>
607
+ <xsd:element name="SunlightExposure" minOccurs="0">
608
+ <xsd:simpleType>
609
+ <xsd:restriction base="xsd:string">
610
+ <xsd:enumeration value="shade"/>
611
+ <xsd:enumeration value="partial-shade"/>
612
+ <xsd:enumeration value="partial-sun"/>
613
+ <xsd:enumeration value="full-sun"/>
614
+ </xsd:restriction>
615
+ </xsd:simpleType>
616
+ </xsd:element>
617
+ <xsd:element name="SunsetClimateZone" minOccurs="0" maxOccurs="24">
618
+ <xsd:simpleType>
619
+ <xsd:restriction base="xsd:positiveInteger">
620
+ <xsd:minInclusive value="1"/>
621
+ <xsd:maxInclusive value="24"/>
622
+ </xsd:restriction>
623
+ </xsd:simpleType>
624
+ </xsd:element>
625
+ <xsd:element name="USDAHardinessZone" minOccurs="0" maxOccurs="11">
626
+ <xsd:simpleType>
627
+ <xsd:restriction base="xsd:positiveInteger">
628
+ <xsd:minInclusive value="1"/>
629
+ <xsd:maxInclusive value="11"/>
630
+ </xsd:restriction>
631
+ </xsd:simpleType>
632
+ </xsd:element>
633
+ <xsd:element name="VariationData" minOccurs="0">
634
+ <xsd:complexType>
635
+ <xsd:sequence>
636
+ <xsd:element name="VariationTheme" minOccurs="0">
637
+ <xsd:simpleType>
638
+ <xsd:restriction base="xsd:string">
639
+ <xsd:enumeration value="Size"/>
640
+ <xsd:enumeration value="Color"/>
641
+ <xsd:enumeration value="Size-Color"/>
642
+ </xsd:restriction>
643
+ </xsd:simpleType>
644
+ </xsd:element>
645
+ <xsd:element name="Size" type="StringNotNull" minOccurs="0"/>
646
+ <xsd:element name="Color" type="StringNotNull" minOccurs="0"/>
647
+ </xsd:sequence>
648
+ </xsd:complexType>
649
+ </xsd:element>
650
+ </xsd:sequence>
651
+ </xsd:complexType>
652
+ </xsd:element>
653
+ </xsd:schema>
654
+