mws-rb 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/Gemfile +3 -0
- data/Gemfile.lock +73 -0
- data/Guardfile +8 -0
- data/LICENSE +20 -0
- data/README.markdown +90 -0
- data/Rakefile +1 -0
- data/lib/mws-rb.rb +50 -0
- data/lib/mws-rb/api/base.rb +48 -0
- data/lib/mws-rb/api/feeds.rb +29 -0
- data/lib/mws-rb/api/feeds/envelope.rb +61 -0
- data/lib/mws-rb/api/feeds/xsd/AdditionalProductInformation.xsd +23 -0
- data/lib/mws-rb/api/feeds/xsd/Amazon.xsd +94 -0
- data/lib/mws-rb/api/feeds/xsd/Arts.xsd +144 -0
- data/lib/mws-rb/api/feeds/xsd/AutoAccessory.xsd +1714 -0
- data/lib/mws-rb/api/feeds/xsd/Baby.xsd +206 -0
- data/lib/mws-rb/api/feeds/xsd/Beauty.xsd +170 -0
- data/lib/mws-rb/api/feeds/xsd/Books.xsd +135 -0
- data/lib/mws-rb/api/feeds/xsd/CE.xsd +2878 -0
- data/lib/mws-rb/api/feeds/xsd/CameraPhoto.xsd +2612 -0
- data/lib/mws-rb/api/feeds/xsd/ClothingAccessories.xsd +128 -0
- data/lib/mws-rb/api/feeds/xsd/Computers.xsd +2347 -0
- data/lib/mws-rb/api/feeds/xsd/EUCompliance.xsd +24 -0
- data/lib/mws-rb/api/feeds/xsd/EntertainmentCollectibles.xsd +99 -0
- data/lib/mws-rb/api/feeds/xsd/FBA.xsd +28 -0
- data/lib/mws-rb/api/feeds/xsd/FoodAndBeverages.xsd +1000 -0
- data/lib/mws-rb/api/feeds/xsd/FoodServiceAndJanSan.xsd +216 -0
- data/lib/mws-rb/api/feeds/xsd/FulfillmentCenter.xsd +57 -0
- data/lib/mws-rb/api/feeds/xsd/GiftCards.xsd +97 -0
- data/lib/mws-rb/api/feeds/xsd/Gourmet.xsd +85 -0
- data/lib/mws-rb/api/feeds/xsd/Health.xsd +335 -0
- data/lib/mws-rb/api/feeds/xsd/Home.xsd +1362 -0
- data/lib/mws-rb/api/feeds/xsd/HomeImprovement.xsd +1065 -0
- data/lib/mws-rb/api/feeds/xsd/Industrial.xsd +315 -0
- data/lib/mws-rb/api/feeds/xsd/Inventory.xsd +49 -0
- data/lib/mws-rb/api/feeds/xsd/Jewelry.xsd +916 -0
- data/lib/mws-rb/api/feeds/xsd/LabSupplies.xsd +178 -0
- data/lib/mws-rb/api/feeds/xsd/LargeAppliances.xsd +646 -0
- data/lib/mws-rb/api/feeds/xsd/Lighting.xsd +243 -0
- data/lib/mws-rb/api/feeds/xsd/Listings.xsd +32 -0
- data/lib/mws-rb/api/feeds/xsd/Luggage.xsd +93 -0
- data/lib/mws-rb/api/feeds/xsd/MechanicalFasteners.xsd +172 -0
- data/lib/mws-rb/api/feeds/xsd/Miscellaneous.xsd +157 -0
- data/lib/mws-rb/api/feeds/xsd/Motorcycles.xsd +348 -0
- data/lib/mws-rb/api/feeds/xsd/Music.xsd +251 -0
- data/lib/mws-rb/api/feeds/xsd/MusicalInstruments.xsd +853 -0
- data/lib/mws-rb/api/feeds/xsd/Office.xsd +586 -0
- data/lib/mws-rb/api/feeds/xsd/OrderAcknowledgement.xsd +55 -0
- data/lib/mws-rb/api/feeds/xsd/OrderAdjustment.xsd +175 -0
- data/lib/mws-rb/api/feeds/xsd/OrderFulfillment.xsd +57 -0
- data/lib/mws-rb/api/feeds/xsd/Override.xsd +48 -0
- data/lib/mws-rb/api/feeds/xsd/PetSupplies.xsd +197 -0
- data/lib/mws-rb/api/feeds/xsd/PowerTransmission.xsd +87 -0
- data/lib/mws-rb/api/feeds/xsd/Price.xsd +59 -0
- data/lib/mws-rb/api/feeds/xsd/ProcessingReport.xsd +87 -0
- data/lib/mws-rb/api/feeds/xsd/Product.xsd +399 -0
- data/lib/mws-rb/api/feeds/xsd/ProductClothing.xsd +285 -0
- data/lib/mws-rb/api/feeds/xsd/ProductImage.xsd +39 -0
- data/lib/mws-rb/api/feeds/xsd/RawMaterials.xsd +125 -0
- data/lib/mws-rb/api/feeds/xsd/Relationship.xsd +47 -0
- data/lib/mws-rb/api/feeds/xsd/SWVG.xsd +345 -0
- data/lib/mws-rb/api/feeds/xsd/SettlementReport.xsd +158 -0
- data/lib/mws-rb/api/feeds/xsd/Shoes.xsd +213 -0
- data/lib/mws-rb/api/feeds/xsd/Sports.xsd +772 -0
- data/lib/mws-rb/api/feeds/xsd/SportsMemorabilia.xsd +55 -0
- data/lib/mws-rb/api/feeds/xsd/TiresAndWheels.xsd +159 -0
- data/lib/mws-rb/api/feeds/xsd/Tools.xsd +82 -0
- data/lib/mws-rb/api/feeds/xsd/Toys.xsd +272 -0
- data/lib/mws-rb/api/feeds/xsd/ToysBaby.xsd +335 -0
- data/lib/mws-rb/api/feeds/xsd/Video.xsd +406 -0
- data/lib/mws-rb/api/feeds/xsd/WineAndAlcohol.xsd +181 -0
- data/lib/mws-rb/api/feeds/xsd/Wireless.xsd +128 -0
- data/lib/mws-rb/api/feeds/xsd/amzn-base.xsd +4350 -0
- data/lib/mws-rb/api/feeds/xsd/amzn-envelope.xsd +98 -0
- data/lib/mws-rb/api/feeds/xsd/amzn-header.xsd +45 -0
- data/lib/mws-rb/api/fulfillment_inbound_shipment.rb +15 -0
- data/lib/mws-rb/api/fulfillment_inventory.rb +13 -0
- data/lib/mws-rb/api/fulfillment_outbound_shipment.rb +11 -0
- data/lib/mws-rb/api/orders.rb +15 -0
- data/lib/mws-rb/api/products.rb +18 -0
- data/lib/mws-rb/api/recommendations.rb +13 -0
- data/lib/mws-rb/api/reports.rb +16 -0
- data/lib/mws-rb/api/sellers.rb +14 -0
- data/lib/mws-rb/connection.rb +53 -0
- data/lib/mws-rb/query.rb +94 -0
- data/lib/mws-rb/version.rb +3 -0
- data/mws-rb.gemspec +28 -0
- data/spec/mws-rb/api/base_spec.rb +51 -0
- data/spec/mws-rb/api/feeds/envelope_spec.rb +29 -0
- data/spec/mws-rb/api/feeds_spec.rb +23 -0
- data/spec/mws-rb/api/fulfillment_inbound_shipment_spec.rb +23 -0
- data/spec/mws-rb/api/fulfillment_inventory_spec.rb +23 -0
- data/spec/mws-rb/api/fulfillment_outbound_shipment_spec.rb +23 -0
- data/spec/mws-rb/api/orders_spec.rb +24 -0
- data/spec/mws-rb/api/products_spec.rb +24 -0
- data/spec/mws-rb/api/recommendations_spec.rb +24 -0
- data/spec/mws-rb/api/reports_spec.rb +24 -0
- data/spec/mws-rb/api/sellers_spec.rb +28 -0
- data/spec/mws-rb/connection_spec.rb +58 -0
- data/spec/mws-rb/mws_spec.rb +11 -0
- data/spec/mws-rb/query_spec.rb +110 -0
- data/spec/spec_helper.rb +7 -0
- metadata +260 -0
@@ -0,0 +1,216 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<!-- edited with XMLSpy v2010 rel. 2 (http://www.altova.com) by sunil sachdev (amazon.com) -->
|
3
|
+
<!-- Revision="$Revision: #1 $" -->
|
4
|
+
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
|
5
|
+
<!--
|
6
|
+
$Date: 20011/07/26 $
|
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
|
+
<xsd:include schemaLocation="amzn-base.xsd"/>
|
15
|
+
<!--
|
16
|
+
Please read the corresponding documentation that contains the recommended values for elements
|
17
|
+
of type StringNotNull.
|
18
|
+
-->
|
19
|
+
<xsd:element name="FoodServiceAndJanSan">
|
20
|
+
<xsd:complexType>
|
21
|
+
<xsd:sequence>
|
22
|
+
<xsd:element name="ProductType">
|
23
|
+
<xsd:complexType>
|
24
|
+
<xsd:choice>
|
25
|
+
<xsd:element name="FoodServiceAndJanSan" minOccurs="0">
|
26
|
+
<xsd:complexType>
|
27
|
+
<xsd:sequence>
|
28
|
+
<xsd:element name="AgeRangeDescription" type="LongString"
|
29
|
+
minOccurs="0"/>
|
30
|
+
<xsd:element name="AirFlowCapacity" type="Dimension"
|
31
|
+
minOccurs="0"/>
|
32
|
+
<xsd:element name="Capacity" type="VolumeWeightDimension"
|
33
|
+
minOccurs="0"/>
|
34
|
+
<xsd:element name="CapSize" type="LengthDimension"
|
35
|
+
minOccurs="0"/>
|
36
|
+
<xsd:element name="CapType" type="HundredString"
|
37
|
+
minOccurs="0"/>
|
38
|
+
<xsd:element name="ClosureDiameter" type="LengthDimension"
|
39
|
+
minOccurs="0"/>
|
40
|
+
<xsd:element name="ColorName" type="HundredString"
|
41
|
+
minOccurs="0"/>
|
42
|
+
<xsd:element name="CoolantCapacity" type="VolumeDimension"
|
43
|
+
minOccurs="0"/>
|
44
|
+
<xsd:element name="CoolantConsumptionRate"
|
45
|
+
type="VolumeRateDimension" minOccurs="0"/>
|
46
|
+
<xsd:element name="CountryOfOrigin"
|
47
|
+
type="CountryOfOriginType" minOccurs="0"/>
|
48
|
+
<xsd:element name="CurrentRating" type="CurrentDimension"
|
49
|
+
minOccurs="0"/>
|
50
|
+
<xsd:element name="DisplayType" type="HundredString"
|
51
|
+
minOccurs="0"/>
|
52
|
+
<xsd:element name="DrawVolume"
|
53
|
+
type="VolumeAndVolumeRateDimension" minOccurs="0"/>
|
54
|
+
<xsd:element name="DropVolume" type="VolumeDimension"
|
55
|
+
minOccurs="0"/>
|
56
|
+
<xsd:element name="ExtensionLength" type="LengthDimension"
|
57
|
+
minOccurs="0"/>
|
58
|
+
<xsd:element name="FuelType" type="LongString" minOccurs="0"/>
|
59
|
+
<xsd:element name="GraduationInterval"
|
60
|
+
type="GraduationInterval" minOccurs="0"/>
|
61
|
+
<xsd:element name="GraduationRange" type="LengthDimension"
|
62
|
+
minOccurs="0"/>
|
63
|
+
<xsd:element name="HeatedElementDimensions"
|
64
|
+
type="HundredString" minOccurs="0"/>
|
65
|
+
<xsd:element name="HeaterSurfaceMaterialType"
|
66
|
+
type="HundredString" minOccurs="0"/>
|
67
|
+
<xsd:element name="HeatingElementType" type="HundredString"
|
68
|
+
minOccurs="0"/>
|
69
|
+
<xsd:element name="HeatTime" type="TimeDimension"
|
70
|
+
minOccurs="0"/>
|
71
|
+
<xsd:element name="HoldingTime" type="TimeDimension"
|
72
|
+
minOccurs="0"/>
|
73
|
+
<xsd:element name="Horsepower" type="Dimension"
|
74
|
+
minOccurs="0"/>
|
75
|
+
<xsd:element name="InletConnectionType" type="HundredString"
|
76
|
+
minOccurs="0"/>
|
77
|
+
<xsd:element name="InletOutsideDimensions"
|
78
|
+
type="LengthDimension" minOccurs="0"/>
|
79
|
+
<xsd:element name="InsideDepth" type="LengthDimension"
|
80
|
+
minOccurs="0"/>
|
81
|
+
<xsd:element name="InsideDiameter" type="LengthDimension"
|
82
|
+
minOccurs="0"/>
|
83
|
+
<xsd:element name="InsideHeight" type="LengthDimension"
|
84
|
+
minOccurs="0"/>
|
85
|
+
<xsd:element name="InsideLength" type="LengthDimension"
|
86
|
+
minOccurs="0"/>
|
87
|
+
<xsd:element name="InsideWidth" type="LengthDimension"
|
88
|
+
minOccurs="0"/>
|
89
|
+
<xsd:element name="ItemDepth" type="LengthDimension"
|
90
|
+
minOccurs="0"/>
|
91
|
+
<xsd:element name="ItemDiameter" type="LengthDimension"
|
92
|
+
minOccurs="0"/>
|
93
|
+
<xsd:element name="ItemShape" type="HundredString"
|
94
|
+
minOccurs="0"/>
|
95
|
+
<xsd:element name="ItemThickness" type="LengthDimension"
|
96
|
+
minOccurs="0"/>
|
97
|
+
<xsd:element name="ItemVolume" type="VolumeDimension"
|
98
|
+
minOccurs="0"/>
|
99
|
+
<xsd:element name="LowerTemperatureRating"
|
100
|
+
type="TemperatureDimension" minOccurs="0"/>
|
101
|
+
<xsd:element name="MaterialType" type="LongString"
|
102
|
+
minOccurs="0"/>
|
103
|
+
<xsd:element name="MaximumDispensingVolume"
|
104
|
+
type="VolumeRateDimension" minOccurs="0"/>
|
105
|
+
<xsd:element name="MaximumInletPressure"
|
106
|
+
type="PressureDimension" minOccurs="0"/>
|
107
|
+
<xsd:element name="MaximumSpeed" type="SpeedDimension"
|
108
|
+
minOccurs="0"/>
|
109
|
+
<xsd:element name="MaximumStirringSpeed"
|
110
|
+
type="SpeedDimension" minOccurs="0"/>
|
111
|
+
<xsd:element name="MaximumStirringVolume"
|
112
|
+
type="VolumeAndVolumeRateDimension" minOccurs="0"/>
|
113
|
+
<xsd:element name="MaximumTemperature"
|
114
|
+
type="TemperatureDimension" minOccurs="0"/>
|
115
|
+
<xsd:element name="MaximumWorkingVolume"
|
116
|
+
type="VolumeAndVolumeRateDimension" minOccurs="0"/>
|
117
|
+
<xsd:element name="MediaColor" type="HundredString"
|
118
|
+
minOccurs="0"/>
|
119
|
+
<xsd:element name="MediaType" type="String" minOccurs="0"/>
|
120
|
+
<xsd:element name="MinimumDispensingVolume"
|
121
|
+
type="VolumeRateDimension" minOccurs="0"/>
|
122
|
+
<xsd:element name="MinimumInletWaterTemperature"
|
123
|
+
type="TemperatureDimension" minOccurs="0"/>
|
124
|
+
<xsd:element name="MinimumSpeed" type="SpeedDimension"
|
125
|
+
minOccurs="0"/>
|
126
|
+
<xsd:element name="MinimumStirringSpeed"
|
127
|
+
type="SpeedDimension" minOccurs="0"/>
|
128
|
+
<xsd:element name="Model" type="HundredString" minOccurs="0"/>
|
129
|
+
<xsd:element name="NarrowEndDiameter" type="LengthDimension"
|
130
|
+
minOccurs="0"/>
|
131
|
+
<xsd:element name="NeckDiameter" type="LengthDimension"
|
132
|
+
minOccurs="0"/>
|
133
|
+
<xsd:element name="NumberOfChannels" type="PositiveInteger"
|
134
|
+
minOccurs="0"/>
|
135
|
+
<xsd:element name="NumberOfHeaters" type="PositiveInteger"
|
136
|
+
minOccurs="0"/>
|
137
|
+
<xsd:element name="NumberOfItems" type="PositiveInteger"
|
138
|
+
minOccurs="1"/>
|
139
|
+
<xsd:element name="NumberOfRacks" type="PositiveInteger"
|
140
|
+
minOccurs="0"/>
|
141
|
+
<xsd:element name="NumberOfShelves" type="PositiveInteger"
|
142
|
+
minOccurs="0"/>
|
143
|
+
<xsd:element name="NumberOfTrays" type="PositiveInteger"
|
144
|
+
minOccurs="0"/>
|
145
|
+
<xsd:element name="NumberOfWells" type="PositiveInteger"
|
146
|
+
minOccurs="0"/>
|
147
|
+
<xsd:element name="NumberOfWindows" type="PositiveInteger"
|
148
|
+
minOccurs="0"/>
|
149
|
+
<xsd:element name="OperatingPressure"
|
150
|
+
type="PressureDimension" minOccurs="0"/>
|
151
|
+
<xsd:element name="OutputCapacity" type="VolumeDimension"
|
152
|
+
minOccurs="0"/>
|
153
|
+
<xsd:element name="OutsideDiameter" type="LengthDimension"
|
154
|
+
minOccurs="0"/>
|
155
|
+
<xsd:element name="PoreSize" type="VolumeRateDimension"
|
156
|
+
minOccurs="0"/>
|
157
|
+
<xsd:element name="PressureFlowRate"
|
158
|
+
type="VolumeRateDimension" minOccurs="0"/>
|
159
|
+
<xsd:element name="ShakingSpeed" type="SpeedDimension"
|
160
|
+
minOccurs="0"/>
|
161
|
+
<xsd:element name="StemOutsideDiameter"
|
162
|
+
type="LengthDimension" minOccurs="0"/>
|
163
|
+
<xsd:element name="StopperNumber" type="HundredString"
|
164
|
+
minOccurs="0"/>
|
165
|
+
<xsd:element name="SuctionFlowRate"
|
166
|
+
type="VolumeRateDimension" minOccurs="0"/>
|
167
|
+
<xsd:element name="SupportedMediaSize" type="HundredString"
|
168
|
+
minOccurs="0"/>
|
169
|
+
<xsd:element name="TemperatureAccuracy" type="HundredString"
|
170
|
+
minOccurs="0"/>
|
171
|
+
<xsd:element name="TemperatureControlPrecision"
|
172
|
+
type="HundredString" minOccurs="0"/>
|
173
|
+
<xsd:element name="TemperatureRange"
|
174
|
+
type="TemperatureDimension" minOccurs="0"/>
|
175
|
+
<xsd:element name="TemperatureRecovery"
|
176
|
+
type="TimeDimension" minOccurs="0"/>
|
177
|
+
<xsd:element name="TemperatureStability"
|
178
|
+
type="HundredString" minOccurs="0"/>
|
179
|
+
<xsd:element name="TemperatureUniformity"
|
180
|
+
type="HundredString" minOccurs="0"/>
|
181
|
+
<xsd:element name="TimerRange" type="TimeDimension"
|
182
|
+
minOccurs="0"/>
|
183
|
+
<xsd:element name="UpperTemperatureRating"
|
184
|
+
type="TemperatureDimension" minOccurs="0"/>
|
185
|
+
<xsd:element name="WaterRemovalCapacity"
|
186
|
+
type="VolumeDimension" minOccurs="0"/>
|
187
|
+
<xsd:element name="Wattage"
|
188
|
+
type="SixDigitDecimalFractionOne" minOccurs="0"/>
|
189
|
+
<xsd:element name="WideEndDiameter" type="LengthDimension"
|
190
|
+
minOccurs="0"/>
|
191
|
+
</xsd:sequence>
|
192
|
+
</xsd:complexType>
|
193
|
+
</xsd:element>
|
194
|
+
</xsd:choice>
|
195
|
+
</xsd:complexType>
|
196
|
+
</xsd:element>
|
197
|
+
</xsd:sequence>
|
198
|
+
</xsd:complexType>
|
199
|
+
</xsd:element>
|
200
|
+
<!--
|
201
|
+
###############################################################
|
202
|
+
# FoodServiceAndJanSan Data Types
|
203
|
+
###############################################################
|
204
|
+
-->
|
205
|
+
<xsd:complexType name="VolumeWeightDimension">
|
206
|
+
<xsd:simpleContent>
|
207
|
+
<xsd:extension base="Dimension">
|
208
|
+
<xsd:attribute name="unitOfMeasure" type="VolumeWeightUnitOfMeasure" use="required"
|
209
|
+
/>
|
210
|
+
</xsd:extension>
|
211
|
+
</xsd:simpleContent>
|
212
|
+
</xsd:complexType>
|
213
|
+
<xsd:simpleType name="VolumeWeightUnitOfMeasure">
|
214
|
+
<xsd:union memberTypes="WeightUnitOfMeasure VolumeUnitOfMeasure"/>
|
215
|
+
</xsd:simpleType>
|
216
|
+
</xsd:schema>
|
@@ -0,0 +1,57 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<!-- Revision="$Revision: #2 $" -->
|
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="FulfillmentCenter">
|
18
|
+
<xsd:complexType>
|
19
|
+
<xsd:sequence>
|
20
|
+
|
21
|
+
<xsd:element ref="FulfillmentCenterID"/>
|
22
|
+
<xsd:element name="SupportsInStorePickup" type="xsd:boolean"/>
|
23
|
+
|
24
|
+
<xsd:element name="OperatingHours">
|
25
|
+
<xsd:complexType>
|
26
|
+
<xsd:sequence>
|
27
|
+
<xsd:element name="Monday" type="OperatingHoursBase" minOccurs="0"/>
|
28
|
+
<xsd:element name="Tuesday" type="OperatingHoursBase" minOccurs="0"/>
|
29
|
+
<xsd:element name="Wednesday" type="OperatingHoursBase" minOccurs="0"/>
|
30
|
+
<xsd:element name="Thursday" type="OperatingHoursBase" minOccurs="0"/>
|
31
|
+
<xsd:element name="Friday" type="OperatingHoursBase" minOccurs="0"/>
|
32
|
+
<xsd:element name="Saturday" type="OperatingHoursBase" minOccurs="0"/>
|
33
|
+
<xsd:element name="Sunday" type="OperatingHoursBase" minOccurs="0"/>
|
34
|
+
</xsd:sequence>
|
35
|
+
</xsd:complexType>
|
36
|
+
</xsd:element>
|
37
|
+
|
38
|
+
</xsd:sequence>
|
39
|
+
</xsd:complexType>
|
40
|
+
</xsd:element>
|
41
|
+
|
42
|
+
<!--
|
43
|
+
##################################################
|
44
|
+
# Operating hours base type
|
45
|
+
##################################################
|
46
|
+
-->
|
47
|
+
|
48
|
+
<xsd:complexType name="OperatingHoursBase">
|
49
|
+
<xsd:sequence>
|
50
|
+
<xsd:element name="Open" type="xsd:time"/>
|
51
|
+
<xsd:element name="Close" type="xsd:time"/>
|
52
|
+
</xsd:sequence>
|
53
|
+
</xsd:complexType>
|
54
|
+
|
55
|
+
</xsd:schema>
|
56
|
+
|
57
|
+
|
@@ -0,0 +1,97 @@
|
|
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: 2011/07/21 $
|
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="GiftCard">
|
15
|
+
<xsd:complexType>
|
16
|
+
<xsd:sequence>
|
17
|
+
<xsd:element name="ProductType">
|
18
|
+
<xsd:complexType>
|
19
|
+
<xsd:choice>
|
20
|
+
<xsd:element name="GiftCard">
|
21
|
+
<xsd:complexType>
|
22
|
+
<xsd:sequence>
|
23
|
+
<xsd:element name="ItemDisplayHeight" type="LengthDimension"
|
24
|
+
minOccurs="0"/>
|
25
|
+
<xsd:element name="ItemDisplayLength" type="LengthDimension"
|
26
|
+
minOccurs="0"/>
|
27
|
+
<xsd:element name="ItemDisplayWeight" type="WeightDimension"
|
28
|
+
minOccurs="0"/>
|
29
|
+
<xsd:element name="ItemDisplayWidth" type="LengthDimension"
|
30
|
+
minOccurs="0"/>
|
31
|
+
</xsd:sequence>
|
32
|
+
</xsd:complexType>
|
33
|
+
</xsd:element>
|
34
|
+
<xsd:element name="PhysicalGiftCard">
|
35
|
+
<xsd:complexType>
|
36
|
+
<xsd:sequence>
|
37
|
+
<xsd:element name="ItemDisplayHeight" type="LengthDimension"
|
38
|
+
minOccurs="0"/>
|
39
|
+
<xsd:element name="ItemDisplayLength" type="LengthDimension"
|
40
|
+
minOccurs="0"/>
|
41
|
+
<xsd:element name="ItemDisplayWeight" type="WeightDimension"
|
42
|
+
minOccurs="0"/>
|
43
|
+
<xsd:element name="ItemDisplayWidth" type="LengthDimension"
|
44
|
+
minOccurs="0"/>
|
45
|
+
</xsd:sequence>
|
46
|
+
</xsd:complexType>
|
47
|
+
</xsd:element>
|
48
|
+
<xsd:element name="ElectronicGiftCard"/>
|
49
|
+
</xsd:choice>
|
50
|
+
</xsd:complexType>
|
51
|
+
</xsd:element>
|
52
|
+
<xsd:element name="Color" type="StringNotNull" minOccurs="0"/>
|
53
|
+
<xsd:element name="Count" type="xsd:positiveInteger" minOccurs="0"/>
|
54
|
+
<xsd:element name="DesignName" type="String" minOccurs="0"/>
|
55
|
+
<xsd:element name="Format" type="GiftCardsFormatType" minOccurs="0" maxOccurs="5"/>
|
56
|
+
<xsd:element name="Genre" type="StringNotNull" minOccurs="0" maxOccurs="18"/>
|
57
|
+
<xsd:element name="IsAdultProduct" type="xsd:boolean" minOccurs="0"/>
|
58
|
+
<xsd:element name="OccasionType" type="String" minOccurs="0" maxOccurs="27"/>
|
59
|
+
<xsd:element name="State" type="String" minOccurs="0" maxOccurs="52"/>
|
60
|
+
<xsd:element name="TargetGender" minOccurs="0">
|
61
|
+
<xsd:simpleType>
|
62
|
+
<xsd:restriction base="StringNotNull">
|
63
|
+
<xsd:enumeration value="male"/>
|
64
|
+
<xsd:enumeration value="female"/>
|
65
|
+
<xsd:enumeration value="unisex"/>
|
66
|
+
</xsd:restriction>
|
67
|
+
</xsd:simpleType>
|
68
|
+
</xsd:element>
|
69
|
+
<xsd:element name="VariationData" minOccurs="0">
|
70
|
+
<xsd:complexType>
|
71
|
+
<xsd:sequence>
|
72
|
+
<xsd:element name="Parentage">
|
73
|
+
<xsd:simpleType>
|
74
|
+
<xsd:restriction base="String">
|
75
|
+
<xsd:enumeration value="parent"/>
|
76
|
+
<xsd:enumeration value="child"/>
|
77
|
+
</xsd:restriction>
|
78
|
+
</xsd:simpleType>
|
79
|
+
</xsd:element>
|
80
|
+
<xsd:element name="VariationTheme" minOccurs="0">
|
81
|
+
<xsd:simpleType>
|
82
|
+
<xsd:restriction base="String">
|
83
|
+
<xsd:enumeration value="Denomination"/>
|
84
|
+
<xsd:enumeration value="Denomination-DesignName"/>
|
85
|
+
<xsd:enumeration value="StyleName"/>
|
86
|
+
</xsd:restriction>
|
87
|
+
</xsd:simpleType>
|
88
|
+
</xsd:element>
|
89
|
+
<xsd:element ref="Denomination" minOccurs="0"/>
|
90
|
+
<xsd:element name="StyleName" type="StringNotNull" minOccurs="0"/>
|
91
|
+
</xsd:sequence>
|
92
|
+
</xsd:complexType>
|
93
|
+
</xsd:element>
|
94
|
+
</xsd:sequence>
|
95
|
+
</xsd:complexType>
|
96
|
+
</xsd:element>
|
97
|
+
</xsd:schema>
|
@@ -0,0 +1,85 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<!-- Revision="$Revision: #3 $" -->
|
3
|
+
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
|
4
|
+
<!--
|
5
|
+
$Date: 2005/04/01 $
|
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
|
+
<!--
|
14
|
+
Please read the corresponding documentation that contains the recommended values for elements
|
15
|
+
of type StringNotNull.
|
16
|
+
-->
|
17
|
+
<xsd:element name="Gourmet">
|
18
|
+
<xsd:complexType>
|
19
|
+
<xsd:sequence>
|
20
|
+
<xsd:element name="ProductType">
|
21
|
+
<xsd:complexType>
|
22
|
+
<xsd:choice>
|
23
|
+
<xsd:element ref="GourmetMisc"/>
|
24
|
+
</xsd:choice>
|
25
|
+
</xsd:complexType>
|
26
|
+
</xsd:element>
|
27
|
+
</xsd:sequence>
|
28
|
+
</xsd:complexType>
|
29
|
+
</xsd:element>
|
30
|
+
<xsd:element name="GourmetMisc">
|
31
|
+
<xsd:complexType>
|
32
|
+
<xsd:sequence>
|
33
|
+
<xsd:element name="VariationData" minOccurs="0">
|
34
|
+
<xsd:complexType>
|
35
|
+
<xsd:sequence>
|
36
|
+
<xsd:element name="Parentage">
|
37
|
+
<xsd:simpleType>
|
38
|
+
<xsd:restriction base="xsd:string">
|
39
|
+
<xsd:enumeration value="parent"/>
|
40
|
+
<xsd:enumeration value="child"/>
|
41
|
+
</xsd:restriction>
|
42
|
+
</xsd:simpleType>
|
43
|
+
</xsd:element>
|
44
|
+
<xsd:element name="VariationTheme" minOccurs="0">
|
45
|
+
<xsd:simpleType>
|
46
|
+
<xsd:restriction base="xsd:string">
|
47
|
+
<xsd:enumeration value="Size"/>
|
48
|
+
<xsd:enumeration value="Color"/>
|
49
|
+
<xsd:enumeration value="Flavor"/>
|
50
|
+
<xsd:enumeration value="Flavor-Size"/>
|
51
|
+
</xsd:restriction>
|
52
|
+
</xsd:simpleType>
|
53
|
+
</xsd:element>
|
54
|
+
<xsd:element name="Size" type="StringNotNull" minOccurs="0"/>
|
55
|
+
<xsd:element name="Color" type="StringNotNull" minOccurs="0"/>
|
56
|
+
<xsd:element name="Flavor" type="StringNotNull" minOccurs="0"/>
|
57
|
+
</xsd:sequence>
|
58
|
+
</xsd:complexType>
|
59
|
+
</xsd:element>
|
60
|
+
<xsd:element name="CountryProducedIn" type="LongStringNotNull" minOccurs="0"/>
|
61
|
+
<xsd:element name="Ingredients" type="LongStringNotNull" minOccurs="0"/>
|
62
|
+
<xsd:element name="NutritionalFacts" type="LongStringNotNull" minOccurs="0"/>
|
63
|
+
<xsd:element name="KosherCertification" type="HundredString" minOccurs="0" maxOccurs="5"/>
|
64
|
+
<xsd:element name="OrganicCertification" type="StringNotNull" minOccurs="0" maxOccurs="5"/>
|
65
|
+
<xsd:element name="ItemSpecialty" type="StringNotNull" minOccurs="0" maxOccurs="5"/>
|
66
|
+
<xsd:element name="Warnings" type="LongStringNotNull" minOccurs="0"/>
|
67
|
+
<xsd:element name="Directions" type="LongStringNotNull" minOccurs="0"/>
|
68
|
+
<xsd:element name="ItemPackageQuantity" type="xsd:positiveInteger" minOccurs="0"/>
|
69
|
+
<xsd:element name="NumberOfItems" type="xsd:positiveInteger" minOccurs="0"/>
|
70
|
+
<xsd:element name="DisplayLength" type="LengthDimension" minOccurs="0"/>
|
71
|
+
<xsd:element name="DisplayWeight" type="WeightDimension" minOccurs="0"/>
|
72
|
+
<xsd:element name="DisplayVolume" type="VolumeDimension" minOccurs="0"/>
|
73
|
+
<xsd:element name="UnitCount" minOccurs="0">
|
74
|
+
<xsd:complexType>
|
75
|
+
<xsd:simpleContent>
|
76
|
+
<xsd:extension base="xsd:positiveInteger">
|
77
|
+
<xsd:attribute name="unitOfMeasure" type="StringNotNull" use="required"/>
|
78
|
+
</xsd:extension>
|
79
|
+
</xsd:simpleContent>
|
80
|
+
</xsd:complexType>
|
81
|
+
</xsd:element>
|
82
|
+
</xsd:sequence>
|
83
|
+
</xsd:complexType>
|
84
|
+
</xsd:element>
|
85
|
+
</xsd:schema>
|