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,206 @@
|
|
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/04/06 $
|
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="Baby">
|
15
|
+
<xsd:complexType>
|
16
|
+
<xsd:sequence>
|
17
|
+
|
18
|
+
<xsd:element name="ProductType">
|
19
|
+
<xsd:complexType>
|
20
|
+
<xsd:choice>
|
21
|
+
<xsd:element ref="BabyProducts"/>
|
22
|
+
</xsd:choice>
|
23
|
+
</xsd:complexType>
|
24
|
+
</xsd:element>
|
25
|
+
</xsd:sequence>
|
26
|
+
</xsd:complexType>
|
27
|
+
</xsd:element>
|
28
|
+
|
29
|
+
<xsd:element name="BabyProducts">
|
30
|
+
<xsd:complexType>
|
31
|
+
<xsd:sequence>
|
32
|
+
<xsd:element name="AlertType" type="StringNotNull" minOccurs="0"/>
|
33
|
+
<xsd:element name="AssemblyInstructions" type="StringNotNull" minOccurs="0"/>
|
34
|
+
<xsd:element name="AssemblyTime" type="AssemblyTimeDimension" minOccurs="0"/>
|
35
|
+
<xsd:element name="AwardsWon" type="HundredString" minOccurs="0"/>
|
36
|
+
<xsd:element name="BaseType" type="HundredString" minOccurs="0"/>
|
37
|
+
<xsd:element name="BaseWidth" type="LengthDimension" minOccurs="0"/>
|
38
|
+
<xsd:element ref="Battery" minOccurs="0"/>
|
39
|
+
<xsd:element name="BatteryAverageLife" type="BatteryLifeDimension" minOccurs="0"/>
|
40
|
+
<xsd:element name="BatteryAverageLifeStandby" type="BatteryLifeDimension" minOccurs="0"/>
|
41
|
+
<xsd:element name="BatteryAverageLifeTalkTime" type="TimeDimension" minOccurs="0"/>
|
42
|
+
<xsd:element name="BatteryCapacity" type="BatteryPowerDimension" minOccurs="0"/>
|
43
|
+
<xsd:element name="BatteryCellComposition" type="BatteryCellTypeValues" minOccurs="0"/>
|
44
|
+
<xsd:element name="BatteryChargeTime" type="TimeDimension" minOccurs="0"/>
|
45
|
+
<xsd:element name="BatteryDescription" type="StringNotNull" minOccurs="0"/>
|
46
|
+
<xsd:element name="BatteryPower" type="BatteryPowerIntegerDimension" minOccurs="0"/>
|
47
|
+
<xsd:element name="BottleNippleType" type="StringNotNull" minOccurs="0"/>
|
48
|
+
<xsd:element name="BottleType" type="StringNotNull" minOccurs="0"/>
|
49
|
+
<xsd:element name="CareInstructions" type="StringNotNull" minOccurs="0"
|
50
|
+
maxOccurs="3"/>
|
51
|
+
<xsd:element name="CarrierWeight" type="WeightDimension" minOccurs="0"/>
|
52
|
+
<xsd:element name="ColorMap" type="StringNotNull" minOccurs="0"/>
|
53
|
+
<xsd:element name="ColorName" type="StringNotNull" minOccurs="0"/>
|
54
|
+
<xsd:element name="CommunicationInterface" type="StringNotNull" minOccurs="0"/>
|
55
|
+
<xsd:element name="CompatibleDevices" type="StringNotNull" minOccurs="0"/>
|
56
|
+
<xsd:element name="ControlType" type="StringNotNull" minOccurs="0"/>
|
57
|
+
<xsd:element name="CountryOfOrigin" type="CountryOfOriginType" minOccurs="0"/>
|
58
|
+
<xsd:element name="Directions" type="StringNotNull" minOccurs="0"/>
|
59
|
+
<xsd:element name="DisplaySize" type="LengthDimension" minOccurs="0"/>
|
60
|
+
<xsd:element name="DisplayType" type="StringNotNull" minOccurs="0"/>
|
61
|
+
<xsd:element name="EducationalValue" type="StringNotNull" minOccurs="0"/>
|
62
|
+
<xsd:element name="FillMaterialType" type="StringNotNull" minOccurs="0"/>
|
63
|
+
<xsd:element name="FoldedSize" type="StringNotNull" minOccurs="0"/>
|
64
|
+
<xsd:element ref="ForwardFacingWeight" minOccurs="0"/>
|
65
|
+
<xsd:element name="FrequencyBandsSupported" type="StringNotNull" minOccurs="0"/>
|
66
|
+
<xsd:element name="FrequencyResponse" type="FrequencyDimension" minOccurs="0"/>
|
67
|
+
<xsd:element name="FurnitureFinish" type="StringNotNull" minOccurs="0"/>
|
68
|
+
<xsd:element name="HandleHeight" type="LengthDimension" minOccurs="0"/>
|
69
|
+
<xsd:element name="HardwareVisibility" type="StringNotNull" minOccurs="0"/>
|
70
|
+
<xsd:element name="HarnessType" type="StringNotNull" minOccurs="0"/>
|
71
|
+
<xsd:element name="IncludesAcAdapter" type="xsd:boolean" minOccurs="0"/>
|
72
|
+
<xsd:element name="IncludesRemote" type="xsd:boolean" minOccurs="0"/>
|
73
|
+
<xsd:element name="Ingredients" type="StringNotNull" minOccurs="0"/>
|
74
|
+
<xsd:element name="IsAssemblyRequired" type="xsd:boolean" minOccurs="0"/>
|
75
|
+
<xsd:element name="IsDishwasherSafe" type="xsd:boolean" minOccurs="0"/>
|
76
|
+
<xsd:element name="IsPortable" type="xsd:boolean" minOccurs="0"/>
|
77
|
+
<xsd:element name="ItemDepth" type="LengthDimension" minOccurs="0"/>
|
78
|
+
<xsd:element name="ItemDiameter" type="LengthDimension" minOccurs="0"/>
|
79
|
+
<xsd:element name="DisplayVolume" type="VolumeDimension" minOccurs="0"/>
|
80
|
+
<xsd:element name="DisplayWeight" type="WeightDimension" minOccurs="0"/>
|
81
|
+
<xsd:element name="Language" type="LanguageStringType" minOccurs="0"/>
|
82
|
+
<xsd:element name="Lifestyle" type="LongString" minOccurs="0" maxOccurs="2"/>
|
83
|
+
<xsd:element name="LithiumBatteryEnergyContent" type="EnergyConsumptionDimension" minOccurs="0"/>
|
84
|
+
<xsd:element name="LithiumBatteryPackaging" minOccurs="0">
|
85
|
+
<xsd:simpleType>
|
86
|
+
<xsd:restriction base="xsd:string">
|
87
|
+
<xsd:enumeration value="batteries_contained_in_equipment"/>
|
88
|
+
<xsd:enumeration value="batteries_only"/>
|
89
|
+
<xsd:enumeration value="batteries_packed_with_equipment"/>
|
90
|
+
</xsd:restriction>
|
91
|
+
</xsd:simpleType>
|
92
|
+
</xsd:element>
|
93
|
+
<xsd:element name="ManufacturerWarrantyDescription" type="StringNotNull" minOccurs="0"/>
|
94
|
+
<xsd:element name="MaterialComposition" type="StringNotNull" minOccurs="0"/>
|
95
|
+
<xsd:element name="MaterialType" type="StringNotNull" minOccurs="0"/>
|
96
|
+
<xsd:element name="MaterialTypeFree" type="StringNotNull" minOccurs="0"
|
97
|
+
maxOccurs="3"/>
|
98
|
+
<xsd:element name="MaximumAnchoringWeightCapacity" type="WeightDimension"
|
99
|
+
minOccurs="0"/>
|
100
|
+
<xsd:element name="MaximumHeightRecommendation" type="LengthDimension" minOccurs="0"/>
|
101
|
+
<xsd:element name="MaximumManufacturerAgeRecommended" type="xsd:positiveInteger" minOccurs="0"/>
|
102
|
+
<xsd:element name="MaximumItemWidth" type="LengthDimension" minOccurs="0"/>
|
103
|
+
<xsd:element name="MaximumRangeIndoors" type="LengthDimension" minOccurs="0"/>
|
104
|
+
<xsd:element name="MaximumRangeOpenSpace" type="LengthDimension" minOccurs="0"/>
|
105
|
+
<xsd:element name="MaximumWeightRecommendation" type="PositiveWeightDimension"
|
106
|
+
minOccurs="0"/>
|
107
|
+
<xsd:element name="MfgWarrantyDescriptionLabor" type="StringNotNull" minOccurs="0"/>
|
108
|
+
<xsd:element name="MfgWarrantyDescriptionParts" type="StringNotNull" minOccurs="0"/>
|
109
|
+
<xsd:element name="MfgWarrantyDescriptionType" type="StringNotNull" minOccurs="0"/>
|
110
|
+
<xsd:element name="MinimumHeightRecommendation" type="LengthDimension" minOccurs="0"/>
|
111
|
+
<xsd:element name="MinimumManufacturerAgeRecommended" type="xsd:positiveInteger" minOccurs="0"/>
|
112
|
+
<xsd:element name="MinimumWeightRecommendation" type="PositiveWeightDimension"
|
113
|
+
minOccurs="0"/>
|
114
|
+
<xsd:element name="NumberOfChannels" type="xsd:positiveInteger" minOccurs="0"/>
|
115
|
+
<xsd:element name="NumberOfControlChannels" type="xsd:positiveInteger" minOccurs="0"/>
|
116
|
+
<xsd:element name="NumberOfFrequencyChannels" type="xsd:positiveInteger" minOccurs="0"/>
|
117
|
+
<xsd:element name="NumberOfHeightPositions" type="xsd:positiveInteger" minOccurs="0"/>
|
118
|
+
<xsd:element name="NumberOfLithiumIonCells" type="xsd:positiveInteger" minOccurs="0"/>
|
119
|
+
<xsd:element name="NumberOfLithiumMetalCells" type="xsd:positiveInteger" minOccurs="0"/>
|
120
|
+
<xsd:element name="NumberOfPieces" type="xsd:positiveInteger" minOccurs="0"/>
|
121
|
+
<xsd:element name="NumberOfPlayers" type="xsd:positiveInteger" minOccurs="0"/>
|
122
|
+
<xsd:element name="NumberOfPositions" type="xsd:positiveInteger" minOccurs="0"/>
|
123
|
+
<xsd:element name="OperationMode" type="StringNotNull" minOccurs="0"/>
|
124
|
+
<xsd:element name="Orientation" type="StringNotNull" minOccurs="0"/>
|
125
|
+
<xsd:element name="VariationData" minOccurs="0">
|
126
|
+
<xsd:complexType>
|
127
|
+
<xsd:sequence>
|
128
|
+
<xsd:element name="Parentage">
|
129
|
+
<xsd:simpleType>
|
130
|
+
<xsd:restriction base="xsd:string">
|
131
|
+
<xsd:enumeration value="parent"/>
|
132
|
+
<xsd:enumeration value="child"/>
|
133
|
+
</xsd:restriction>
|
134
|
+
</xsd:simpleType>
|
135
|
+
</xsd:element>
|
136
|
+
<xsd:element name="VariationTheme" minOccurs="0">
|
137
|
+
<xsd:simpleType>
|
138
|
+
<xsd:restriction base="xsd:string">
|
139
|
+
<xsd:enumeration value="Size"/>
|
140
|
+
<xsd:enumeration value="Color"/>
|
141
|
+
<xsd:enumeration value="Size-Color"/>
|
142
|
+
</xsd:restriction>
|
143
|
+
</xsd:simpleType>
|
144
|
+
</xsd:element>
|
145
|
+
</xsd:sequence>
|
146
|
+
</xsd:complexType>
|
147
|
+
</xsd:element>
|
148
|
+
<xsd:element name="PortableDisplaySize" type="LengthDimension" minOccurs="0"/>
|
149
|
+
<xsd:element name="PowerSourceType" type="StringNotNull" minOccurs="0"/>
|
150
|
+
<xsd:element name="RailGauge" type="StringNotNull" minOccurs="0"/>
|
151
|
+
<xsd:element name="RailType" type="StringNotNull" minOccurs="0"/>
|
152
|
+
<xsd:element name="RearFacingMaximumWeight" type="WeightDimension" minOccurs="0"/>
|
153
|
+
<xsd:element name="RearFacingMinimumWeight" type="WeightDimension" minOccurs="0"/>
|
154
|
+
<xsd:element name="RecommendedUsesForProduct" type="StringNotNull" minOccurs="0"
|
155
|
+
maxOccurs="3"/>
|
156
|
+
<xsd:element name="RegionOfOrigin" type="StringNotNull" minOccurs="0"/>
|
157
|
+
<xsd:element name="RemoteControlTechnology" type="StringNotNull" minOccurs="0"/>
|
158
|
+
<xsd:element name="SafetyWarning" type="StringNotNull" minOccurs="0"/>
|
159
|
+
<xsd:element name="ScaleName" type="StringNotNull" minOccurs="0"/>
|
160
|
+
<xsd:element name="SeatBackInteriorHeight" type="LengthDimension" minOccurs="0"/>
|
161
|
+
<xsd:element name="SeatHeight" type="LengthDimension" minOccurs="0"/>
|
162
|
+
<xsd:element name="SeatInteriorWidth" type="LengthDimension" minOccurs="0"/>
|
163
|
+
<xsd:element name="SeatLength" type="LengthDimension" minOccurs="0"/>
|
164
|
+
<xsd:element name="SeatWidth" type="LengthDimension" minOccurs="0"/>
|
165
|
+
<xsd:element name="SeatingCapacity" type="xsd:positiveInteger" minOccurs="0"/>
|
166
|
+
<xsd:element name="SellerWarrantyDescription" type="StringNotNull" minOccurs="0"/>
|
167
|
+
<xsd:element name="SensorTechnology" type="StringNotNull" minOccurs="0"
|
168
|
+
maxOccurs="5"/>
|
169
|
+
<xsd:element name="ShoulderHarnessMaximumHeight" type="LengthDimension"
|
170
|
+
minOccurs="0"/>
|
171
|
+
<xsd:element name="ShoulderHarnessMinimumHeight" type="LengthDimension"
|
172
|
+
minOccurs="0"/>
|
173
|
+
<xsd:element name="SizeMap" type="StringNotNull" minOccurs="0"/>
|
174
|
+
<xsd:element name="SizeName" type="StringNotNull" minOccurs="0"/>
|
175
|
+
<xsd:element name="SpecialFeatures" type="StringNotNull" minOccurs="0" maxOccurs="5"/>
|
176
|
+
<xsd:element name="SpecificUsesForProduct" type="StringNotNull" minOccurs="0"
|
177
|
+
maxOccurs="5"/>
|
178
|
+
<xsd:element name="SpecificationMet" type="StringNotNull" minOccurs="0"/>
|
179
|
+
<xsd:element name="StyleName" type="StringNotNull" minOccurs="0" maxOccurs="5"/>
|
180
|
+
<xsd:element name="SubjectCharacter" type="StringNotNull" minOccurs="0"
|
181
|
+
maxOccurs="5"/>
|
182
|
+
<xsd:element name="SuspensionType" type="StringNotNull" minOccurs="0"/>
|
183
|
+
<xsd:element name="TargetGender" type="TargetGenderType" minOccurs="0"/>
|
184
|
+
<xsd:element name="TireDiameter" type="LengthDimension" minOccurs="0"/>
|
185
|
+
<xsd:element name="TireMaterial" type="StringNotNull" minOccurs="0"/>
|
186
|
+
<xsd:element name="TotalTravel" type="LengthDimension" minOccurs="0"/>
|
187
|
+
<xsd:element name="TrayType" type="StringNotNull" minOccurs="0" maxOccurs="2"/>
|
188
|
+
<xsd:element name="UnitCount" minOccurs="0">
|
189
|
+
<xsd:complexType>
|
190
|
+
<xsd:simpleContent>
|
191
|
+
<xsd:extension base="xsd:positiveInteger">
|
192
|
+
<xsd:attribute name="unitOfMeasure" type="StringNotNull"
|
193
|
+
use="required"/>
|
194
|
+
</xsd:extension>
|
195
|
+
</xsd:simpleContent>
|
196
|
+
</xsd:complexType>
|
197
|
+
</xsd:element>
|
198
|
+
<xsd:element name="WarrantyDescription" type="StringNotNull" minOccurs="0"/>
|
199
|
+
<xsd:element name="WheelType" type="StringNotNull" minOccurs="0"/>
|
200
|
+
<xsd:element name="WirelessCommunicationTechnology" type="StringNotNull"
|
201
|
+
minOccurs="0"/>
|
202
|
+
</xsd:sequence>
|
203
|
+
</xsd:complexType>
|
204
|
+
</xsd:element>
|
205
|
+
|
206
|
+
</xsd:schema>
|
@@ -0,0 +1,170 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<!-- Revision="$Revision: #C_1 $" -->
|
3
|
+
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
|
4
|
+
<!--
|
5
|
+
$Date: 2012/03/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="Beauty">
|
14
|
+
<xsd:complexType>
|
15
|
+
<xsd:sequence>
|
16
|
+
<xsd:element name="ProductType">
|
17
|
+
<xsd:complexType>
|
18
|
+
<xsd:choice>
|
19
|
+
<xsd:element ref="BeautyMisc"/>
|
20
|
+
</xsd:choice>
|
21
|
+
</xsd:complexType>
|
22
|
+
</xsd:element>
|
23
|
+
<xsd:element name="BatteryTypeLithiumIon" type="xsd:positiveInteger" minOccurs="0"/>
|
24
|
+
<xsd:element name="BatteryTypeLithiumMetal" type="xsd:positiveInteger" minOccurs="0"/>
|
25
|
+
<xsd:element name="LithiumBatteryEnergyContent" type="xsd:decimal" minOccurs="0"/>
|
26
|
+
<xsd:element name="LithiumBatteryPackaging" minOccurs="0">
|
27
|
+
<xsd:simpleType>
|
28
|
+
<xsd:restriction base="xsd:string">
|
29
|
+
<xsd:enumeration value="batteries_contained_in_equipment"/>
|
30
|
+
<xsd:enumeration value="batteries_only"/>
|
31
|
+
<xsd:enumeration value="batteries_packed_with_equipment"/>
|
32
|
+
</xsd:restriction>
|
33
|
+
</xsd:simpleType>
|
34
|
+
</xsd:element>
|
35
|
+
<xsd:element name="LithiumBatteryVoltage" type="xsd:decimal" minOccurs="0"/>
|
36
|
+
<xsd:element name="LithiumBatteryWeight" type="xsd:decimal" minOccurs="0"/>
|
37
|
+
<xsd:element name="NumberOfLithiumIonCells" type="xsd:positiveInteger" minOccurs="0"/>
|
38
|
+
<xsd:element name="NumberOfLithiumMetalCells" type="xsd:positiveInteger"
|
39
|
+
minOccurs="0"/>
|
40
|
+
<xsd:element name="PlugType" type="HundredString" minOccurs="0"/>
|
41
|
+
<xsd:element name="SpecificUsesForProduct" type="StringNotNull" minOccurs="0" maxOccurs="2"/>
|
42
|
+
<xsd:element name="SunProtection" type="SunProtectionDimension" minOccurs="0"/>
|
43
|
+
<xsd:element name="Voltage" type="VoltageDecimalDimension" minOccurs="0"/>
|
44
|
+
<xsd:element name="Wattage" type="WattageDimension" minOccurs="0"/>
|
45
|
+
</xsd:sequence>
|
46
|
+
</xsd:complexType>
|
47
|
+
</xsd:element>
|
48
|
+
<xsd:element name="BeautyMisc">
|
49
|
+
<xsd:complexType>
|
50
|
+
<xsd:sequence>
|
51
|
+
<xsd:element name="VariationData" minOccurs="0">
|
52
|
+
<xsd:complexType>
|
53
|
+
<xsd:sequence>
|
54
|
+
<xsd:element name="Parentage">
|
55
|
+
<xsd:simpleType>
|
56
|
+
<xsd:restriction base="xsd:string">
|
57
|
+
<xsd:enumeration value="parent"/>
|
58
|
+
<xsd:enumeration value="child"/>
|
59
|
+
</xsd:restriction>
|
60
|
+
</xsd:simpleType>
|
61
|
+
</xsd:element>
|
62
|
+
<xsd:element name="VariationTheme" minOccurs="0">
|
63
|
+
<xsd:simpleType>
|
64
|
+
<xsd:restriction base="xsd:string">
|
65
|
+
<xsd:enumeration value="Size"/>
|
66
|
+
<xsd:enumeration value="Capacity"/>
|
67
|
+
<xsd:enumeration value="Color"/>
|
68
|
+
<xsd:enumeration value="Size-Color"/>
|
69
|
+
<xsd:enumeration value="Scent"/>
|
70
|
+
<xsd:enumeration value="Size-Scent"/>
|
71
|
+
<xsd:enumeration value="PatternName"/>
|
72
|
+
<xsd:enumeration value="Size-UnitCount"/>
|
73
|
+
</xsd:restriction>
|
74
|
+
</xsd:simpleType>
|
75
|
+
</xsd:element>
|
76
|
+
<xsd:element name="Size" type="StringNotNull" minOccurs="0"/>
|
77
|
+
<xsd:element name="Color" type="StringNotNull" minOccurs="0"/>
|
78
|
+
<xsd:element name="ColorMap" type="StringNotNull" minOccurs="0"/>
|
79
|
+
<xsd:element name="Scent" type="StringNotNull" minOccurs="0"/>
|
80
|
+
<xsd:element name="Capacity" type="VolumeDimension" minOccurs="0"/>
|
81
|
+
</xsd:sequence>
|
82
|
+
</xsd:complexType>
|
83
|
+
</xsd:element>
|
84
|
+
<xsd:element name="UnitCount" minOccurs="0">
|
85
|
+
<xsd:complexType>
|
86
|
+
<xsd:simpleContent>
|
87
|
+
<xsd:extension base="xsd:positiveInteger">
|
88
|
+
<xsd:attribute name="unitOfMeasure" type="StringNotNull"
|
89
|
+
use="required"/>
|
90
|
+
</xsd:extension>
|
91
|
+
</xsd:simpleContent>
|
92
|
+
</xsd:complexType>
|
93
|
+
</xsd:element>
|
94
|
+
<!-- Count represents the number of individually packaged items (a.k.a.
|
95
|
+
units) included, such that each item is the smallest unit with a
|
96
|
+
scannable bar code (UPC / EAN), and each item is packaged for
|
97
|
+
individual sale. For example, a box of 12 bottles of shampoo, each
|
98
|
+
of which can be sold individually, would have a Count of 12. -->
|
99
|
+
<xsd:element name="Count" type="xsd:positiveInteger" minOccurs="0"/>
|
100
|
+
<!-- NumberOfItems represents the number of discrete items included,
|
101
|
+
such that the items are not packaged for individual sale. For example,
|
102
|
+
a bag of 100 cotton balls would have a NumberOfItems of 100.
|
103
|
+
A box of 10 individually packaged bags, each with 100 cotton balls, would
|
104
|
+
have a Count of 10 and a NumberOfItems of 1000. -->
|
105
|
+
<xsd:element name="NumberOfItems" type="xsd:positiveInteger" minOccurs="0"/>
|
106
|
+
<xsd:element name="BatteryAverageLife" type="PositiveNonZeroDimension" minOccurs="0"/>
|
107
|
+
<xsd:element name="BatteryCellComposition" type="BatteryCellTypeValues" minOccurs="0"/>
|
108
|
+
<xsd:element name="BatteryAverageLifeStandby" type="PositiveNonZeroDimension"
|
109
|
+
minOccurs="0"/>
|
110
|
+
<xsd:element name="BatteryChargeTime" type="PositiveNonZeroDimension" minOccurs="0"/>
|
111
|
+
<xsd:element name="BatteryDescription" type="StringNotNull" minOccurs="0"/>
|
112
|
+
<xsd:element name="BatteryFormFactor" type="StringNotNull" minOccurs="0"/>
|
113
|
+
<xsd:element name="BatteryPower" type="BatteryPowerIntegerDimension" minOccurs="0"/>
|
114
|
+
<xsd:element name="DisplayLength" type="LengthDimension" minOccurs="0"/>
|
115
|
+
<xsd:element name="DisplayWeight" type="WeightDimension" minOccurs="0"/>
|
116
|
+
<xsd:element name="DisplayVolume" type="VolumeDimension" minOccurs="0"/>
|
117
|
+
<xsd:element name="SkinType" type="String" minOccurs="0" maxOccurs="5"/>
|
118
|
+
<xsd:element name="SkinTone" type="StringNotNull" minOccurs="0" maxOccurs="5"/>
|
119
|
+
<xsd:element name="HairType" type="String" minOccurs="0" maxOccurs="5"/>
|
120
|
+
<xsd:element name="IncludedComponents" type="StringNotNull" minOccurs="0"/>
|
121
|
+
<xsd:element name="Ingredients" minOccurs="0">
|
122
|
+
<xsd:simpleType>
|
123
|
+
<xsd:restriction base="xsd:normalizedString">
|
124
|
+
<xsd:maxLength value="1500"/>
|
125
|
+
</xsd:restriction>
|
126
|
+
</xsd:simpleType>
|
127
|
+
</xsd:element>
|
128
|
+
<xsd:element name="ManufacturerWarrantyType" type="StringNotNull" minOccurs="0"/>
|
129
|
+
<xsd:element name="MaterialType" type="LongStringNotNull" minOccurs="0"
|
130
|
+
maxOccurs="3"/>
|
131
|
+
<xsd:element name="MfrWarrantyDescriptionLabor" type="SuperLongStringNotNull"
|
132
|
+
minOccurs="0"/>
|
133
|
+
<xsd:element name="MfrWarrantyDescriptionParts" type="SuperLongStringNotNull"
|
134
|
+
minOccurs="0"/>
|
135
|
+
<xsd:element name="Indications" type="LongStringNotNull" minOccurs="0"/>
|
136
|
+
<xsd:element name="Directions" type="LongStringNotNull" minOccurs="0"/>
|
137
|
+
<xsd:element name="Warnings" type="LongStringNotNull" minOccurs="0"/>
|
138
|
+
<xsd:element name="ItemForm" type="String" minOccurs="0"/>
|
139
|
+
<xsd:element name="ItemPackageQuantity" type="PositiveInteger" default="1" minOccurs="0"/>
|
140
|
+
<xsd:element name="Flavor" type="StringNotNull" minOccurs="0"/>
|
141
|
+
<xsd:element name="Coverage" type="String" minOccurs="0"/>
|
142
|
+
<xsd:element name="FinishType" type="String" minOccurs="0" maxOccurs="5"/>
|
143
|
+
<xsd:element name="ItemSpecialty" type="String" minOccurs="0" maxOccurs="5"/>
|
144
|
+
<xsd:element name="PatternName" type="String" minOccurs="0"/>
|
145
|
+
<xsd:element name="PowerSource" type="StringNotNull" minOccurs="0"/>
|
146
|
+
<xsd:element name="IsAdultProduct" type="xsd:boolean" minOccurs="0"/>
|
147
|
+
<xsd:element name="TargetGender" minOccurs="0">
|
148
|
+
<xsd:simpleType>
|
149
|
+
<xsd:restriction base="StringNotNull">
|
150
|
+
<xsd:enumeration value="male"/>
|
151
|
+
<xsd:enumeration value="female"/>
|
152
|
+
<xsd:enumeration value="unisex"/>
|
153
|
+
</xsd:restriction>
|
154
|
+
</xsd:simpleType>
|
155
|
+
</xsd:element>
|
156
|
+
<xsd:element name="CountryOfOrigin" minOccurs="0">
|
157
|
+
<xsd:simpleType>
|
158
|
+
<xsd:restriction base="xsd:string">
|
159
|
+
<xsd:length value="2" fixed="true"/>
|
160
|
+
</xsd:restriction>
|
161
|
+
</xsd:simpleType>
|
162
|
+
</xsd:element>
|
163
|
+
<xsd:element name="SellerWarrantyDescription" type="SuperLongStringNotNull" minOccurs="0"/>
|
164
|
+
<xsd:element name="SizeMap" type="StringNotNull" minOccurs="0"/>
|
165
|
+
<xsd:element ref="Battery" minOccurs="0"/>
|
166
|
+
<xsd:element name="BrandRegionOfOrigin" type="StringNotNull" minOccurs="0"/>
|
167
|
+
</xsd:sequence>
|
168
|
+
</xsd:complexType>
|
169
|
+
</xsd:element>
|
170
|
+
</xsd:schema>
|
@@ -0,0 +1,135 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
|
3
|
+
<xsd:include schemaLocation="amzn-base.xsd"/>
|
4
|
+
<xsd:element name="Books">
|
5
|
+
<xsd:complexType>
|
6
|
+
<xsd:sequence>
|
7
|
+
<xsd:element name="ProductType">
|
8
|
+
<xsd:complexType>
|
9
|
+
<xsd:choice>
|
10
|
+
<xsd:element ref="BooksMisc"/>
|
11
|
+
</xsd:choice>
|
12
|
+
</xsd:complexType>
|
13
|
+
</xsd:element>
|
14
|
+
</xsd:sequence>
|
15
|
+
</xsd:complexType>
|
16
|
+
</xsd:element>
|
17
|
+
<xsd:element name="BooksMisc">
|
18
|
+
<xsd:complexType>
|
19
|
+
<xsd:sequence>
|
20
|
+
<xsd:element name="Author" type="StringNotNull" minOccurs="0"/>
|
21
|
+
<xsd:element name="Binding" type="BindingTypes" minOccurs="1"/>
|
22
|
+
<xsd:element name="DustJacket" type="DustJacketTypes" minOccurs="0"/>
|
23
|
+
<xsd:element name="Edition" type="StringNotNull" minOccurs="0"/>
|
24
|
+
<xsd:element name="Illustrator" type="StringNotNull" minOccurs="0"/>
|
25
|
+
<xsd:element name="IsAdultProduct" type="xsd:boolean" minOccurs="0"/>
|
26
|
+
<xsd:element name="IsFixedPrice" type="xsd:boolean" minOccurs="0"/>
|
27
|
+
<xsd:element name="Language" type="LanguageStringType" minOccurs="0"/>
|
28
|
+
<xsd:element name="PublicationDate" type="xsd:dateTime" minOccurs="0"/>
|
29
|
+
<xsd:element name="SignedBy" type="SignedByValues" minOccurs="0"/>
|
30
|
+
<xsd:element name="SourcedCountryCode" type="SourceCountryCodeValues" minOccurs="0"/>
|
31
|
+
<xsd:element name="Subject" type="StringNotNull" minOccurs="0"/>
|
32
|
+
<xsd:element name="Volume" type="StringNotNull" minOccurs="0"/>
|
33
|
+
</xsd:sequence>
|
34
|
+
</xsd:complexType>
|
35
|
+
</xsd:element>
|
36
|
+
|
37
|
+
<xsd:simpleType name="BindingTypes">
|
38
|
+
<xsd:restriction base="xsd:string">
|
39
|
+
<xsd:enumeration value= "Accessory"/>
|
40
|
+
<xsd:enumeration value= "Album"/>
|
41
|
+
<xsd:enumeration value= "Audiocd"/>
|
42
|
+
<xsd:enumeration value= "Audiodownload"/>
|
43
|
+
<xsd:enumeration value= "Bathbook"/>
|
44
|
+
<xsd:enumeration value= "Boardbook"/>
|
45
|
+
<xsd:enumeration value= "Bondedleather"/>
|
46
|
+
<xsd:enumeration value= "Calendar"/>
|
47
|
+
<xsd:enumeration value= "Cardbook"/>
|
48
|
+
<xsd:enumeration value= "Cards"/>
|
49
|
+
<xsd:enumeration value= "Cassette"/>
|
50
|
+
<xsd:enumeration value= "Cdrom"/>
|
51
|
+
<xsd:enumeration value= "Comic"/>
|
52
|
+
<xsd:enumeration value= "Diary"/>
|
53
|
+
<xsd:enumeration value= "Dvdrom"/>
|
54
|
+
<xsd:enumeration value= "Flexibound"/>
|
55
|
+
<xsd:enumeration value= "Foambook"/>
|
56
|
+
<xsd:enumeration value= "Game"/>
|
57
|
+
<xsd:enumeration value= "Hardcover"/>
|
58
|
+
<xsd:enumeration value= "Hardcovercomic"/>
|
59
|
+
<xsd:enumeration value= "Hardcoverspiral"/>
|
60
|
+
<xsd:enumeration value= "Imitationleather"/>
|
61
|
+
<xsd:enumeration value= "Journal"/>
|
62
|
+
<xsd:enumeration value= "Kindleedition"/>
|
63
|
+
<xsd:enumeration value= "Leatherbound"/>
|
64
|
+
<xsd:enumeration value= "Library"/>
|
65
|
+
<xsd:enumeration value= "Libraryaudiocd"/>
|
66
|
+
<xsd:enumeration value= "Libraryaudiomp3"/>
|
67
|
+
<xsd:enumeration value= "Looseleaf"/>
|
68
|
+
<xsd:enumeration value= "Map"/>
|
69
|
+
<xsd:enumeration value= "Massmarket"/>
|
70
|
+
<xsd:enumeration value= "Microfiche"/>
|
71
|
+
<xsd:enumeration value= "Microfilm"/>
|
72
|
+
<xsd:enumeration value= "Miscsupplies"/>
|
73
|
+
<xsd:enumeration value= "Mook"/>
|
74
|
+
<xsd:enumeration value= "Mp3cd"/>
|
75
|
+
<xsd:enumeration value= "Pamphlet"/>
|
76
|
+
<xsd:enumeration value= "Paperback"/>
|
77
|
+
<xsd:enumeration value= "Paperbackbunko"/>
|
78
|
+
<xsd:enumeration value= "Paperbackshinsho"/>
|
79
|
+
<xsd:enumeration value= "Perfect"/>
|
80
|
+
<xsd:enumeration value= "Plasticcomb"/>
|
81
|
+
<xsd:enumeration value= "Popup"/>
|
82
|
+
<xsd:enumeration value= "Preloadeddigitalaudioplayer"/>
|
83
|
+
<xsd:enumeration value= "Ragbook"/>
|
84
|
+
<xsd:enumeration value= "Ringbound"/>
|
85
|
+
<xsd:enumeration value= "Roughcut"/>
|
86
|
+
<xsd:enumeration value= "School"/>
|
87
|
+
<xsd:enumeration value= "Sheetmusic"/>
|
88
|
+
<xsd:enumeration value= "Singleissuemagazine"/>
|
89
|
+
<xsd:enumeration value= "Slide"/>
|
90
|
+
<xsd:enumeration value= "Spiralbound"/>
|
91
|
+
<xsd:enumeration value= "Stationery"/>
|
92
|
+
<xsd:enumeration value= "Tankobonhardcover"/>
|
93
|
+
<xsd:enumeration value= "Tankobonsoftcover"/>
|
94
|
+
<xsd:enumeration value= "Textbook"/>
|
95
|
+
<xsd:enumeration value= "Toy"/>
|
96
|
+
<xsd:enumeration value= "Transparency"/>
|
97
|
+
<xsd:enumeration value= "Turtleback"/>
|
98
|
+
<xsd:enumeration value= "Unbound"/>
|
99
|
+
<xsd:enumeration value= "Vinylbound"/>
|
100
|
+
<xsd:enumeration value= "Wallchart"/>
|
101
|
+
<xsd:enumeration value= "Workbook"/>
|
102
|
+
</xsd:restriction>
|
103
|
+
</xsd:simpleType>
|
104
|
+
|
105
|
+
<xsd:simpleType name="DustJacketTypes">
|
106
|
+
<xsd:restriction base="xsd:string">
|
107
|
+
<xsd:enumeration value="NoDustJacket"/>
|
108
|
+
<xsd:enumeration value="LikeNew"/>
|
109
|
+
<xsd:enumeration value="VeryGood"/>
|
110
|
+
<xsd:enumeration value="Good"/>
|
111
|
+
<xsd:enumeration value="Acceptable"/>
|
112
|
+
</xsd:restriction>
|
113
|
+
</xsd:simpleType>
|
114
|
+
|
115
|
+
<xsd:simpleType name="SignedByValues">
|
116
|
+
<xsd:restriction base="xsd:string">
|
117
|
+
<xsd:enumeration value="Author"/>
|
118
|
+
<xsd:enumeration value="Illustrator"/>
|
119
|
+
<xsd:enumeration value="Editor"/>
|
120
|
+
<xsd:enumeration value="Photographer"/>
|
121
|
+
<xsd:enumeration value="Other"/>
|
122
|
+
</xsd:restriction>
|
123
|
+
</xsd:simpleType>
|
124
|
+
|
125
|
+
<xsd:simpleType name="SourceCountryCodeValues">
|
126
|
+
<xsd:restriction base="xsd:string">
|
127
|
+
<xsd:enumeration value="JP"/>
|
128
|
+
<xsd:enumeration value="US"/>
|
129
|
+
<xsd:enumeration value="GB"/>
|
130
|
+
<xsd:enumeration value="DE"/>
|
131
|
+
<xsd:enumeration value="Unknown"/>
|
132
|
+
</xsd:restriction>
|
133
|
+
</xsd:simpleType>
|
134
|
+
|
135
|
+
</xsd:schema>
|