amazon_feed_validator 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.rspec +3 -0
- data/.rubocop.yml +13 -0
- data/.travis.yml +5 -0
- data/Amazon.xsd +92 -0
- data/CHANGELOG.md +6 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +72 -0
- data/LICENSE.txt +21 -0
- data/README.md +43 -0
- data/Rakefile +27 -0
- data/amazon_feed_validator.gemspec +31 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/amazon_feed_validator.rb +10 -0
- data/lib/amazon_feed_validator/constructor_methods.rb +12 -0
- data/lib/amazon_feed_validator/feed_validator.rb +37 -0
- data/lib/amazon_feed_validator/version.rb +3 -0
- data/lib/rake_tasks.rb +2 -0
- data/lib/tasks/amazon.rake +46 -0
- data/lib/xsd/AdditionalProductInformation.xsd +23 -0
- data/lib/xsd/Amazon.xsd +92 -0
- data/lib/xsd/Arts.xsd +144 -0
- data/lib/xsd/AutoAccessory.xsd +2103 -0
- data/lib/xsd/Baby.xsd +234 -0
- data/lib/xsd/Beauty.xsd +1107 -0
- data/lib/xsd/Books.xsd +210 -0
- data/lib/xsd/CE.xsd +2935 -0
- data/lib/xsd/CameraPhoto.xsd +2719 -0
- data/lib/xsd/ClothingAccessories.xsd +128 -0
- data/lib/xsd/Coins.xsd +129 -0
- data/lib/xsd/Collectibles.xsd +83 -0
- data/lib/xsd/Computers.xsd +2414 -0
- data/lib/xsd/EUCompliance.xsd +24 -0
- data/lib/xsd/EducationSupplies.xsd +215 -0
- data/lib/xsd/EntertainmentCollectibles.xsd +106 -0
- data/lib/xsd/FBA.xsd +28 -0
- data/lib/xsd/FoodAndBeverages.xsd +1397 -0
- data/lib/xsd/FoodServiceAndJanSan.xsd +216 -0
- data/lib/xsd/FulfillmentCenter.xsd +57 -0
- data/lib/xsd/Furniture.xsd +98 -0
- data/lib/xsd/GiftCards.xsd +102 -0
- data/lib/xsd/Gourmet.xsd +100 -0
- data/lib/xsd/Health.xsd +1232 -0
- data/lib/xsd/Home.xsd +5642 -0
- data/lib/xsd/HomeImprovement.xsd +1234 -0
- data/lib/xsd/Industrial.xsd +962 -0
- data/lib/xsd/Inventory.xsd +49 -0
- data/lib/xsd/Jewelry.xsd +1123 -0
- data/lib/xsd/LabSupplies.xsd +411 -0
- data/lib/xsd/LargeAppliances.xsd +650 -0
- data/lib/xsd/Lighting.xsd +278 -0
- data/lib/xsd/Listings.xsd +32 -0
- data/lib/xsd/Luggage.xsd +121 -0
- data/lib/xsd/LuxuryBeauty.xsd +108 -0
- data/lib/xsd/MaterialHandling.xsd +112 -0
- data/lib/xsd/MechanicalFasteners.xsd +174 -0
- data/lib/xsd/Miscellaneous.xsd +157 -0
- data/lib/xsd/Motorcycles.xsd +351 -0
- data/lib/xsd/Music.xsd +255 -0
- data/lib/xsd/MusicalInstruments.xsd +974 -0
- data/lib/xsd/Office.xsd +1142 -0
- data/lib/xsd/OrderAcknowledgement.xsd +55 -0
- data/lib/xsd/OrderAdjustment.xsd +175 -0
- data/lib/xsd/OrderFulfillment.xsd +65 -0
- data/lib/xsd/Outdoors.xsd +1041 -0
- data/lib/xsd/Override.xsd +48 -0
- data/lib/xsd/PetSupplies.xsd +216 -0
- data/lib/xsd/PowerTransmission.xsd +87 -0
- data/lib/xsd/Price.xsd +227 -0
- data/lib/xsd/ProcessingReport.xsd +87 -0
- data/lib/xsd/Product.xsd +1332 -0
- data/lib/xsd/ProductClothing.xsd +334 -0
- data/lib/xsd/ProductImage.xsd +57 -0
- data/lib/xsd/ProfessionalHealthCare.xsd +135 -0
- data/lib/xsd/RawMaterials.xsd +125 -0
- data/lib/xsd/Relationship.xsd +47 -0
- data/lib/xsd/SWVG.xsd +358 -0
- data/lib/xsd/SettlementReport.xsd +258 -0
- data/lib/xsd/Shoes.xsd +240 -0
- data/lib/xsd/Sports.xsd +790 -0
- data/lib/xsd/SportsMemorabilia.xsd +66 -0
- data/lib/xsd/ThreeDPrinting.xsd +105 -0
- data/lib/xsd/TiresAndWheels.xsd +358 -0
- data/lib/xsd/Tools.xsd +84 -0
- data/lib/xsd/Toys.xsd +632 -0
- data/lib/xsd/ToysBaby.xsd +337 -0
- data/lib/xsd/Video.xsd +406 -0
- data/lib/xsd/WineAndAlcohol.xsd +197 -0
- data/lib/xsd/Wireless.xsd +134 -0
- data/lib/xsd/amzn-base.xsd +4845 -0
- data/lib/xsd/amzn-envelope.xsd +98 -0
- data/lib/xsd/amzn-header.xsd +45 -0
- metadata +235 -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,98 @@
|
|
1
|
+
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
|
2
|
+
<!--
|
3
|
+
$Date: 2012/05/09 $
|
4
|
+
AMAZON.COM CONFIDENTIAL. This document and the information contained in it are
|
5
|
+
confidential and proprietary information of Amazon.com and may not be reproduced,
|
6
|
+
distributed or used, in whole or in part, for any purpose other than as necessary
|
7
|
+
to list products for sale on the www.amazon.com web site pursuant to an agreement
|
8
|
+
with Amazon.com.
|
9
|
+
-->
|
10
|
+
<xsd:include schemaLocation="amzn-base.xsd"/>
|
11
|
+
<!--
|
12
|
+
Please read the corresponding documentation that contains the recommended values for elements
|
13
|
+
of type StringNotNull.
|
14
|
+
-->
|
15
|
+
<xsd:element name="Furniture">
|
16
|
+
<xsd:complexType>
|
17
|
+
<xsd:sequence>
|
18
|
+
<xsd:element name="ProductType">
|
19
|
+
<xsd:simpleType>
|
20
|
+
<xsd:restriction base="HundredString">
|
21
|
+
<xsd:enumeration value="Furniture"/>
|
22
|
+
</xsd:restriction>
|
23
|
+
</xsd:simpleType>
|
24
|
+
</xsd:element>
|
25
|
+
<xsd:element name="VariationData" minOccurs="0">
|
26
|
+
<xsd:complexType>
|
27
|
+
<xsd:sequence>
|
28
|
+
<xsd:element name="Parentage">
|
29
|
+
<xsd:simpleType>
|
30
|
+
<xsd:restriction base="xsd:string">
|
31
|
+
<xsd:enumeration value="parent"/>
|
32
|
+
<xsd:enumeration value="child"/>
|
33
|
+
</xsd:restriction>
|
34
|
+
</xsd:simpleType>
|
35
|
+
</xsd:element>
|
36
|
+
<xsd:element name="VariationTheme" minOccurs="0">
|
37
|
+
<xsd:simpleType>
|
38
|
+
<xsd:restriction base="xsd:string">
|
39
|
+
<xsd:enumeration value="SizeName"/>
|
40
|
+
<xsd:enumeration value="ColorName"/>
|
41
|
+
<xsd:enumeration value="SizeName-ColorName"/>
|
42
|
+
</xsd:restriction>
|
43
|
+
</xsd:simpleType>
|
44
|
+
</xsd:element>
|
45
|
+
</xsd:sequence>
|
46
|
+
</xsd:complexType>
|
47
|
+
</xsd:element>
|
48
|
+
<xsd:element ref="Battery" minOccurs="0"/>
|
49
|
+
<xsd:element name="Model" type="FortyStringNotNull" minOccurs="0"/>
|
50
|
+
<xsd:element name="FabricWeight" type="WeightDimension" minOccurs="0"/>
|
51
|
+
<xsd:element name="Occasion" type="StringNotNull" minOccurs="0"/>
|
52
|
+
<xsd:element name="IncludedComponents" type="StringNotNull" minOccurs="0"/>
|
53
|
+
<xsd:element name="Shape" type="StringNotNull" minOccurs="0"/>
|
54
|
+
<xsd:element name="Pattern" type="StringNotNull" minOccurs="0"/>
|
55
|
+
<xsd:element name="SpecialFeatures" type="StringNotNull" minOccurs="0"/>
|
56
|
+
<xsd:element name="Wattage" type="WattageDimension" minOccurs="0"/>
|
57
|
+
<xsd:element name="Style" type="StringNotNull" minOccurs="0"/>
|
58
|
+
<xsd:element name="NumberOfPieces" type="xsd:positiveInteger" minOccurs="0"/>
|
59
|
+
<xsd:element name="IsStainResistant" type="xsd:boolean" minOccurs="0"/>
|
60
|
+
<xsd:element name="MaximumCoverageArea" type="AreaDimensionOptionalUnit" minOccurs="0"/>
|
61
|
+
<xsd:element name="LightSourceType" type="StringNotNull" minOccurs="0"/>
|
62
|
+
<xsd:element name="PowerSource" type="StringNotNull" minOccurs="0"/>
|
63
|
+
<xsd:element name="SeatHeight" type="LengthDimension" minOccurs="0"/>
|
64
|
+
<xsd:element name="PaintType" type="StringNotNull" minOccurs="0"/>
|
65
|
+
<xsd:element name="IsFragile" type="xsd:boolean" minOccurs="0"/>
|
66
|
+
<xsd:element name="Framed" type="xsd:boolean" minOccurs="0"/>
|
67
|
+
<xsd:element name="FrameMaterial" type="StringNotNull" minOccurs="0"/>
|
68
|
+
<xsd:element name="FrameColor" type="StringNotNull" minOccurs="0"/>
|
69
|
+
<xsd:element name="DoorType" type="StringNotNull" minOccurs="0"/>
|
70
|
+
<xsd:element name="ItemTypeName" type="StringNotNull" minOccurs="0"/>
|
71
|
+
<xsd:element name="TopMaterial" type="StringNotNull" minOccurs="0"/>
|
72
|
+
<xsd:element name="NumberOfPanels" type="xsd:positiveInteger" minOccurs="0"/>
|
73
|
+
<xsd:element name="NumberOfRails" type="xsd:positiveInteger" minOccurs="0"/>
|
74
|
+
<xsd:element name="CoverMaterial" type="StringNotNull" minOccurs="0"/>
|
75
|
+
<xsd:element name="DesignName" type="StringNotNull" minOccurs="0"/>
|
76
|
+
<xsd:element name="ShelfType" type="StringNotNull" minOccurs="0"/>
|
77
|
+
<xsd:element name="InstallationType" type="StringNotNull" minOccurs="0"/>
|
78
|
+
<xsd:element name="BackMaterial" type="StringNotNull" minOccurs="0"/>
|
79
|
+
<xsd:element name="LegFinish" type="StringNotNull" minOccurs="0"/>
|
80
|
+
<xsd:element name="FormFactor" type="StringNotNull" minOccurs="0"/>
|
81
|
+
<xsd:element name="TopFinish" type="StringNotNull" minOccurs="0"/>
|
82
|
+
<xsd:element name="FrameType" type="StringNotNull" minOccurs="0"/>
|
83
|
+
<xsd:element name="NumberOfHooks" type="xsd:positiveInteger" minOccurs="0"/>
|
84
|
+
<xsd:element name="LockType" type="StringNotNull" minOccurs="0"/>
|
85
|
+
<xsd:element name="ItemForm" type="StringNotNull" minOccurs="0"/>
|
86
|
+
<xsd:element name="MetalType" type="StringNotNull" minOccurs="0"/>
|
87
|
+
<xsd:element name="MaterialType" type="StringNotNull" minOccurs="0"/>
|
88
|
+
<xsd:element name="FootboardUpholstery" type="StringNotNull" minOccurs="0"/>
|
89
|
+
<xsd:element name="NumberOfSinks" type="xsd:positiveInteger" minOccurs="0"/>
|
90
|
+
<xsd:element name="MaximumCompatibleThickness" type="LengthDimension" minOccurs="0"/>
|
91
|
+
<xsd:element name="MaximumSupportedScreenSize" type="LengthDimension" minOccurs="0"/>
|
92
|
+
<xsd:element name="StorageType" type="StringNotNull" minOccurs="0"/>
|
93
|
+
<xsd:element name="SinkMaterial" type="StringNotNull" minOccurs="0"/>
|
94
|
+
<xsd:element name="BaseMaterial" type="StringNotNull" minOccurs="0"/>
|
95
|
+
</xsd:sequence>
|
96
|
+
</xsd:complexType>
|
97
|
+
</xsd:element>
|
98
|
+
</xsd:schema>
|
@@ -0,0 +1,102 @@
|
|
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="Theme" type="StringNotNull" minOccurs="0"/>
|
70
|
+
<xsd:element name="EventKeywords" type="StringNotNull" minOccurs="0"/>
|
71
|
+
<xsd:element name="SubjectKeywords" type="StringNotNull" minOccurs="0"/>
|
72
|
+
<xsd:element name="CustomerReturnPolicy" type="StringNotNull" minOccurs="0"/>
|
73
|
+
<xsd:element name="VariationData" minOccurs="0">
|
74
|
+
<xsd:complexType>
|
75
|
+
<xsd:sequence>
|
76
|
+
<xsd:element name="Parentage">
|
77
|
+
<xsd:simpleType>
|
78
|
+
<xsd:restriction base="String">
|
79
|
+
<xsd:enumeration value="parent"/>
|
80
|
+
<xsd:enumeration value="child"/>
|
81
|
+
</xsd:restriction>
|
82
|
+
</xsd:simpleType>
|
83
|
+
</xsd:element>
|
84
|
+
<xsd:element name="VariationTheme" minOccurs="0">
|
85
|
+
<xsd:simpleType>
|
86
|
+
<xsd:restriction base="String">
|
87
|
+
<xsd:enumeration value="Denomination"/>
|
88
|
+
<xsd:enumeration value="Denomination-DesignName"/>
|
89
|
+
<xsd:enumeration value="StyleName"/>
|
90
|
+
<xsd:enumeration value="Denomination-DesignName-StyleName"/>
|
91
|
+
</xsd:restriction>
|
92
|
+
</xsd:simpleType>
|
93
|
+
</xsd:element>
|
94
|
+
<xsd:element ref="Denomination" minOccurs="0"/>
|
95
|
+
<xsd:element name="StyleName" type="StringNotNull" minOccurs="0"/>
|
96
|
+
</xsd:sequence>
|
97
|
+
</xsd:complexType>
|
98
|
+
</xsd:element>
|
99
|
+
</xsd:sequence>
|
100
|
+
</xsd:complexType>
|
101
|
+
</xsd:element>
|
102
|
+
</xsd:schema>
|