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,586 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<!-- Revision="$Revision: #4 $" -->
|
3
|
+
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
|
4
|
+
<!--
|
5
|
+
$Date: 2005/09/19 $
|
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="Office">
|
15
|
+
<xsd:complexType>
|
16
|
+
<xsd:sequence>
|
17
|
+
<xsd:element name="Rebate" type="RebateType" minOccurs="0" maxOccurs="2"/>
|
18
|
+
<xsd:element name="ProductType">
|
19
|
+
<xsd:complexType>
|
20
|
+
<xsd:choice>
|
21
|
+
<xsd:element ref="ArtSupplies"/>
|
22
|
+
<xsd:element ref="EducationalSupplies"/>
|
23
|
+
<xsd:element ref="OfficeProducts"/>
|
24
|
+
<xsd:element ref="PaperProducts"/>
|
25
|
+
<xsd:element ref="WritingInstruments"/>
|
26
|
+
</xsd:choice>
|
27
|
+
</xsd:complexType>
|
28
|
+
</xsd:element>
|
29
|
+
<xsd:element ref="Battery" minOccurs="0"/>
|
30
|
+
<xsd:element name="BatteryAverageLife" type="PositiveNonZeroDimension" minOccurs="0"/>
|
31
|
+
<xsd:element name="BatteryAverageLifeStandby" type="PositiveNonZeroDimension"
|
32
|
+
minOccurs="0"/>
|
33
|
+
<xsd:element name="BatteryChargeTime" type="PositiveNonZeroDimension" minOccurs="0"/>
|
34
|
+
<xsd:element name="CountryOfOrigin" type="CountryOfOriginType" minOccurs="0"/>
|
35
|
+
<xsd:element name="IsAdultProduct" type="xsd:boolean" minOccurs="0"/>
|
36
|
+
<xsd:element name="LithiumBatteryEnergyContent" type="PositiveInteger" minOccurs="0"/>
|
37
|
+
<xsd:element name="LithiumBatteryPackaging" minOccurs="0">
|
38
|
+
<xsd:simpleType>
|
39
|
+
<xsd:restriction base="xsd:string">
|
40
|
+
<xsd:enumeration value="batteries_contained_in_equipment"/>
|
41
|
+
<xsd:enumeration value="batteries_only"/>
|
42
|
+
<xsd:enumeration value="batteries_packed_with_equipment"/>
|
43
|
+
</xsd:restriction>
|
44
|
+
</xsd:simpleType>
|
45
|
+
</xsd:element>
|
46
|
+
<xsd:element name="LithiumBatteryVoltage" type="PositiveInteger" minOccurs="0"/>
|
47
|
+
<xsd:element name="LithiumBatteryWeight" type="PositiveInteger" minOccurs="0"/>
|
48
|
+
<xsd:element name="MfrWarrantyDescriptionLabor" type="SuperLongStringNotNull"
|
49
|
+
minOccurs="0"/>
|
50
|
+
<xsd:element name="MfrWarrantyDescriptionParts" type="SuperLongStringNotNull"
|
51
|
+
minOccurs="0"/>
|
52
|
+
<xsd:element name="ManufacturerWarrantyType" type="StringNotNull" minOccurs="0"/>
|
53
|
+
<xsd:element name="NumberOfLithiumIonCells" type="PositiveInteger" minOccurs="0"/>
|
54
|
+
<xsd:element name="NumberOfLithiumMetalCells" type="PositiveInteger" minOccurs="0"/>
|
55
|
+
<xsd:element name="PowerSource" type="StringNotNull" minOccurs="0"/>
|
56
|
+
<xsd:element name="RegionOfOrigin" type="StringNotNull" minOccurs="0"/>
|
57
|
+
<xsd:element name="SellerWarrantyDescription" type="SuperLongStringNotNull"
|
58
|
+
minOccurs="0"/>
|
59
|
+
<xsd:element name="Size" type="StringNotNull" minOccurs="0"/>
|
60
|
+
<xsd:element name="SizeMap" type="StringNotNull" minOccurs="0"/>
|
61
|
+
<xsd:element name="Warnings" type="LongStringNotNull" minOccurs="0"/>
|
62
|
+
</xsd:sequence>
|
63
|
+
</xsd:complexType>
|
64
|
+
</xsd:element>
|
65
|
+
<!--
|
66
|
+
###############################################################
|
67
|
+
# ArtSupplies Classification Data
|
68
|
+
###############################################################
|
69
|
+
-->
|
70
|
+
<xsd:element name="ArtSupplies">
|
71
|
+
<xsd:complexType>
|
72
|
+
<xsd:sequence>
|
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="xsd: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="xsd:string">
|
87
|
+
<xsd:enumeration value="Color"/>
|
88
|
+
<xsd:enumeration value="PaperSize"/>
|
89
|
+
<xsd:enumeration value="MaximumExpandableSize"/>
|
90
|
+
<xsd:enumeration value="LineSize"/>
|
91
|
+
<xsd:enumeration value="Size"/>
|
92
|
+
</xsd:restriction>
|
93
|
+
</xsd:simpleType>
|
94
|
+
</xsd:element>
|
95
|
+
</xsd:sequence>
|
96
|
+
</xsd:complexType>
|
97
|
+
</xsd:element>
|
98
|
+
<xsd:element name="ColorSpecification" minOccurs="0">
|
99
|
+
<xsd:complexType>
|
100
|
+
<xsd:sequence>
|
101
|
+
<xsd:element name="Color" type="StringNotNull"/>
|
102
|
+
<xsd:element name="ColorMap" type="StringNotNull"/>
|
103
|
+
</xsd:sequence>
|
104
|
+
</xsd:complexType>
|
105
|
+
</xsd:element>
|
106
|
+
<xsd:element name="ItemPackageQuantity" type="xsd:positiveInteger" default="1"
|
107
|
+
minOccurs="0"/>
|
108
|
+
<xsd:element name="NumberOfItems" type="xsd:positiveInteger" minOccurs="0"/>
|
109
|
+
<xsd:element name="DisplayLength" type="LengthDimension" minOccurs="0"/>
|
110
|
+
<xsd:element name="DisplayWeight" type="WeightDimension" minOccurs="0"/>
|
111
|
+
<xsd:element name="DisplayVolume" type="VolumeDimension" minOccurs="0"/>
|
112
|
+
<xsd:element name="UnitCount" minOccurs="0">
|
113
|
+
<xsd:complexType>
|
114
|
+
<xsd:simpleContent>
|
115
|
+
<xsd:extension base="xsd:positiveInteger">
|
116
|
+
<xsd:attribute name="unitOfMeasure" type="StringNotNull"
|
117
|
+
use="required"/>
|
118
|
+
</xsd:extension>
|
119
|
+
</xsd:simpleContent>
|
120
|
+
</xsd:complexType>
|
121
|
+
</xsd:element>
|
122
|
+
<xsd:element name="MaterialType" type="StringNotNull" minOccurs="0" maxOccurs="2"/>
|
123
|
+
<xsd:element name="PaintType" type="StringNotNull" minOccurs="0" maxOccurs="3"/>
|
124
|
+
<xsd:element name="RecycledContentPercentage" type="PercentageType" minOccurs="0"/>
|
125
|
+
<xsd:element name="PreConsumerRecycledContent" type="PercentageType" minOccurs="0"/>
|
126
|
+
<xsd:element name="PostConsumerRecycledContent" type="PercentageType" minOccurs="0"/>
|
127
|
+
<xsd:element name="Diameter" type="LengthDimension" minOccurs="0"/>
|
128
|
+
<xsd:element name="MaximumExpandableSize" type="LengthDimension" minOccurs="0"/>
|
129
|
+
<xsd:element name="CoreDiameter" type="LengthDimension" minOccurs="0"/>
|
130
|
+
<xsd:element name="InkColor" type="String" minOccurs="0" maxOccurs="20"/>
|
131
|
+
<xsd:element name="BallpointPenType" type="StringNotNull" minOccurs="0"/>
|
132
|
+
<xsd:element name="TipDescription" type="String" minOccurs="0" maxOccurs="20"/>
|
133
|
+
<xsd:element name="PencilLeadHardness" type="StringNotNull" minOccurs="0"/>
|
134
|
+
<xsd:element name="PointType" type="String" minOccurs="0"/>
|
135
|
+
<xsd:element name="LineSize" type="LengthDimension" minOccurs="0"/>
|
136
|
+
<xsd:element name="NumberOfFasteners" type="xsd:positiveInteger" minOccurs="0"/>
|
137
|
+
<xsd:element name="FastenerCapacity" type="LengthDimension" minOccurs="0"/>
|
138
|
+
<xsd:element name="Binding" type="BindingType" minOccurs="0"/>
|
139
|
+
<xsd:element name="BindingLocation" type="String" minOccurs="0"/>
|
140
|
+
<xsd:element name="ClosureType" type="String" minOccurs="0"/>
|
141
|
+
<xsd:element name="NumberOfHoles" type="xsd:positiveInteger" minOccurs="0"/>
|
142
|
+
<xsd:element name="CoverMaterial" type="String" minOccurs="0"/>
|
143
|
+
<xsd:element name="TabCutType" type="String" minOccurs="0"/>
|
144
|
+
<xsd:element name="TabPosition" type="String" minOccurs="0"/>
|
145
|
+
<xsd:element name="IsPrePrinted" type="xsd:boolean" minOccurs="0"/>
|
146
|
+
<xsd:element name="CoatingDescription" type="TwoFiftyStringNotNull" minOccurs="0"/>
|
147
|
+
<xsd:element name="PaperCornerType" type="String" minOccurs="0"/>
|
148
|
+
<xsd:element name="PaperFinish" type="StringNotNull" minOccurs="0"/>
|
149
|
+
<xsd:element name="PaperSize" type="LengthDimension" minOccurs="0"/>
|
150
|
+
<xsd:element name="BrightnessRating" type="IntegerPercentageType" minOccurs="0"/>
|
151
|
+
<xsd:element name="MediaStorageCapacity" type="String" minOccurs="0"/>
|
152
|
+
<xsd:element name="SpecialFeatures" type="StringNotNull" minOccurs="0"/>
|
153
|
+
<xsd:element name="FabricType" type="StringNotNull" minOccurs="0" maxOccurs="2"/>
|
154
|
+
</xsd:sequence>
|
155
|
+
</xsd:complexType>
|
156
|
+
</xsd:element>
|
157
|
+
<!--
|
158
|
+
###############################################################
|
159
|
+
# EducationalSupplies Classification Data
|
160
|
+
###############################################################
|
161
|
+
-->
|
162
|
+
<xsd:element name="EducationalSupplies">
|
163
|
+
<xsd:complexType>
|
164
|
+
<xsd:sequence>
|
165
|
+
<xsd:element name="VariationData" minOccurs="0">
|
166
|
+
<xsd:complexType>
|
167
|
+
<xsd:sequence>
|
168
|
+
<xsd:element name="Parentage">
|
169
|
+
<xsd:simpleType>
|
170
|
+
<xsd:restriction base="xsd:string">
|
171
|
+
<xsd:enumeration value="parent"/>
|
172
|
+
<xsd:enumeration value="child"/>
|
173
|
+
</xsd:restriction>
|
174
|
+
</xsd:simpleType>
|
175
|
+
</xsd:element>
|
176
|
+
<xsd:element name="VariationTheme" minOccurs="0">
|
177
|
+
<xsd:simpleType>
|
178
|
+
<xsd:restriction base="xsd:string">
|
179
|
+
<xsd:enumeration value="Color"/>
|
180
|
+
<xsd:enumeration value="PaperSize"/>
|
181
|
+
<xsd:enumeration value="MaximumExpandableSize"/>
|
182
|
+
<xsd:enumeration value="LineSize"/>
|
183
|
+
<xsd:enumeration value="Size"/>
|
184
|
+
</xsd:restriction>
|
185
|
+
</xsd:simpleType>
|
186
|
+
</xsd:element>
|
187
|
+
</xsd:sequence>
|
188
|
+
</xsd:complexType>
|
189
|
+
</xsd:element>
|
190
|
+
<xsd:element name="ColorSpecification" minOccurs="0">
|
191
|
+
<xsd:complexType>
|
192
|
+
<xsd:sequence>
|
193
|
+
<xsd:element name="Color" type="StringNotNull"/>
|
194
|
+
<xsd:element name="ColorMap" type="StringNotNull"/>
|
195
|
+
</xsd:sequence>
|
196
|
+
</xsd:complexType>
|
197
|
+
</xsd:element>
|
198
|
+
<xsd:element name="ItemPackageQuantity" type="xsd:positiveInteger" default="1"
|
199
|
+
minOccurs="0"/>
|
200
|
+
<xsd:element name="NumberOfItems" type="xsd:positiveInteger" minOccurs="0"/>
|
201
|
+
<xsd:element name="DisplayLength" type="LengthDimension" minOccurs="0"/>
|
202
|
+
<xsd:element name="DisplayWeight" type="WeightDimension" minOccurs="0"/>
|
203
|
+
<xsd:element name="DisplayVolume" type="VolumeDimension" minOccurs="0"/>
|
204
|
+
<xsd:element name="UnitCount" minOccurs="0">
|
205
|
+
<xsd:complexType>
|
206
|
+
<xsd:simpleContent>
|
207
|
+
<xsd:extension base="xsd:positiveInteger">
|
208
|
+
<xsd:attribute name="unitOfMeasure" type="StringNotNull"
|
209
|
+
use="required"/>
|
210
|
+
</xsd:extension>
|
211
|
+
</xsd:simpleContent>
|
212
|
+
</xsd:complexType>
|
213
|
+
</xsd:element>
|
214
|
+
<xsd:element name="RecycledContentPercentage" type="PercentageType" minOccurs="0"/>
|
215
|
+
<xsd:element name="PreConsumerRecycledContent" type="PercentageType" minOccurs="0"/>
|
216
|
+
<xsd:element name="PostConsumerRecycledContent" type="PercentageType" minOccurs="0"/>
|
217
|
+
<xsd:element name="Diameter" type="LengthDimension" minOccurs="0"/>
|
218
|
+
<xsd:element name="MaximumExpandableSize" type="LengthDimension" minOccurs="0"/>
|
219
|
+
<xsd:element name="CoreDiameter" type="LengthDimension" minOccurs="0"/>
|
220
|
+
<xsd:element name="InkColor" type="String" minOccurs="0" maxOccurs="20"/>
|
221
|
+
<xsd:element name="BallpointPenType" type="StringNotNull" minOccurs="0"/>
|
222
|
+
<xsd:element name="TipDescription" type="String" minOccurs="0" maxOccurs="20"/>
|
223
|
+
<xsd:element name="PencilLeadHardness" type="StringNotNull" minOccurs="0"/>
|
224
|
+
<xsd:element name="PointType" type="String" minOccurs="0"/>
|
225
|
+
<xsd:element name="LineSize" type="LengthDimension" minOccurs="0"/>
|
226
|
+
<xsd:element name="NumberOfFasteners" type="xsd:positiveInteger" minOccurs="0"/>
|
227
|
+
<xsd:element name="FastenerCapacity" type="LengthDimension" minOccurs="0"/>
|
228
|
+
<xsd:element name="Binding" type="BindingType" minOccurs="0"/>
|
229
|
+
<xsd:element name="BindingLocation" type="String" minOccurs="0"/>
|
230
|
+
<xsd:element name="ClosureType" type="String" minOccurs="0"/>
|
231
|
+
<xsd:element name="NumberOfHoles" type="xsd:positiveInteger" minOccurs="0"/>
|
232
|
+
<xsd:element name="CoverMaterial" type="String" minOccurs="0"/>
|
233
|
+
<xsd:element name="TabCutType" type="String" minOccurs="0"/>
|
234
|
+
<xsd:element name="TabPosition" type="String" minOccurs="0"/>
|
235
|
+
<xsd:element name="IsPrePrinted" type="xsd:boolean" minOccurs="0"/>
|
236
|
+
<xsd:element name="CoatingDescription" type="TwoFiftyStringNotNull" minOccurs="0"/>
|
237
|
+
<xsd:element name="PaperCornerType" type="String" minOccurs="0"/>
|
238
|
+
<xsd:element name="PaperFinish" type="StringNotNull" minOccurs="0"/>
|
239
|
+
<xsd:element name="PaperSize" type="LengthDimension" minOccurs="0"/>
|
240
|
+
<xsd:element name="BrightnessRating" type="IntegerPercentageType" minOccurs="0"/>
|
241
|
+
<xsd:element name="MediaStorageCapacity" type="String" minOccurs="0"/>
|
242
|
+
<xsd:element name="SpecialFeatures" type="StringNotNull" minOccurs="0"/>
|
243
|
+
<xsd:element name="RulingType" type="String" minOccurs="0"/>
|
244
|
+
</xsd:sequence>
|
245
|
+
</xsd:complexType>
|
246
|
+
</xsd:element>
|
247
|
+
<!--
|
248
|
+
###############################################################
|
249
|
+
# OfficeProducts Classification Data
|
250
|
+
###############################################################
|
251
|
+
-->
|
252
|
+
<xsd:element name="OfficeProducts">
|
253
|
+
<xsd:complexType>
|
254
|
+
<xsd:sequence>
|
255
|
+
<xsd:element name="VariationData" minOccurs="0">
|
256
|
+
<xsd:complexType>
|
257
|
+
<xsd:sequence>
|
258
|
+
<xsd:element name="Parentage">
|
259
|
+
<xsd:simpleType>
|
260
|
+
<xsd:restriction base="xsd:string">
|
261
|
+
<xsd:enumeration value="parent"/>
|
262
|
+
<xsd:enumeration value="child"/>
|
263
|
+
</xsd:restriction>
|
264
|
+
</xsd:simpleType>
|
265
|
+
</xsd:element>
|
266
|
+
<xsd:element name="VariationTheme" minOccurs="0">
|
267
|
+
<xsd:simpleType>
|
268
|
+
<xsd:restriction base="xsd:string">
|
269
|
+
<xsd:enumeration value="Color"/>
|
270
|
+
<xsd:enumeration value="PaperSize"/>
|
271
|
+
<xsd:enumeration value="MaximumExpandableSize"/>
|
272
|
+
<xsd:enumeration value="LineSize"/>
|
273
|
+
<xsd:enumeration value="Size"/>
|
274
|
+
</xsd:restriction>
|
275
|
+
</xsd:simpleType>
|
276
|
+
</xsd:element>
|
277
|
+
</xsd:sequence>
|
278
|
+
</xsd:complexType>
|
279
|
+
</xsd:element>
|
280
|
+
<xsd:element name="ColorSpecification" minOccurs="0">
|
281
|
+
<xsd:complexType>
|
282
|
+
<xsd:sequence>
|
283
|
+
<xsd:element name="Color" type="StringNotNull"/>
|
284
|
+
<xsd:element name="ColorMap" type="StringNotNull"/>
|
285
|
+
</xsd:sequence>
|
286
|
+
</xsd:complexType>
|
287
|
+
</xsd:element>
|
288
|
+
<xsd:element name="ItemPackageQuantity" type="xsd:positiveInteger" default="1"
|
289
|
+
minOccurs="0"/>
|
290
|
+
<xsd:element name="NumberOfItems" type="xsd:positiveInteger" minOccurs="0"/>
|
291
|
+
<xsd:element name="DisplayLength" type="LengthDimension" minOccurs="0"/>
|
292
|
+
<xsd:element name="DisplayWeight" type="WeightDimension" minOccurs="0"/>
|
293
|
+
<xsd:element name="DisplayVolume" type="VolumeDimension" minOccurs="0"/>
|
294
|
+
<xsd:element name="UnitCount" minOccurs="0">
|
295
|
+
<xsd:complexType>
|
296
|
+
<xsd:simpleContent>
|
297
|
+
<xsd:extension base="xsd:positiveInteger">
|
298
|
+
<xsd:attribute name="unitOfMeasure" type="StringNotNull"
|
299
|
+
use="required"/>
|
300
|
+
</xsd:extension>
|
301
|
+
</xsd:simpleContent>
|
302
|
+
</xsd:complexType>
|
303
|
+
</xsd:element>
|
304
|
+
<xsd:element name="MaterialType" type="StringNotNull" minOccurs="0" maxOccurs="2"/>
|
305
|
+
<xsd:element name="RecycledContentPercentage" type="PercentageType" minOccurs="0"/>
|
306
|
+
<xsd:element name="PreConsumerRecycledContent" type="PercentageType" minOccurs="0"/>
|
307
|
+
<xsd:element name="PostConsumerRecycledContent" type="PercentageType" minOccurs="0"/>
|
308
|
+
<xsd:element name="Diameter" type="LengthDimension" minOccurs="0"/>
|
309
|
+
<xsd:element name="MaximumExpandableSize" type="LengthDimension" minOccurs="0"/>
|
310
|
+
<xsd:element name="CoreDiameter" type="LengthDimension" minOccurs="0"/>
|
311
|
+
<xsd:element name="InkColor" type="String" minOccurs="0" maxOccurs="20"/>
|
312
|
+
<xsd:element name="BallpointPenType" type="StringNotNull" minOccurs="0"/>
|
313
|
+
<xsd:element name="TipDescription" type="String" minOccurs="0" maxOccurs="20"/>
|
314
|
+
<xsd:element name="PencilLeadHardness" type="StringNotNull" minOccurs="0"/>
|
315
|
+
<xsd:element name="PointType" type="String" minOccurs="0"/>
|
316
|
+
<xsd:element name="LineSize" type="LengthDimension" minOccurs="0"/>
|
317
|
+
<xsd:element name="NumberOfFasteners" type="xsd:positiveInteger" minOccurs="0"/>
|
318
|
+
<xsd:element name="FastenerCapacity" type="LengthDimension" minOccurs="0"/>
|
319
|
+
<xsd:element name="Binding" type="BindingType" minOccurs="0"/>
|
320
|
+
<xsd:element name="BindingLocation" type="String" minOccurs="0"/>
|
321
|
+
<xsd:element name="ClosureType" type="String" minOccurs="0"/>
|
322
|
+
<xsd:element name="NumberOfHoles" type="xsd:positiveInteger" minOccurs="0"/>
|
323
|
+
<xsd:element name="CoverMaterial" type="String" minOccurs="0"/>
|
324
|
+
<xsd:element name="TabCutType" type="String" minOccurs="0"/>
|
325
|
+
<xsd:element name="TabPosition" type="String" minOccurs="0"/>
|
326
|
+
<xsd:element name="IsPrePrinted" type="xsd:boolean" minOccurs="0"/>
|
327
|
+
<xsd:element name="CoatingDescription" type="TwoFiftyStringNotNull" minOccurs="0"/>
|
328
|
+
<xsd:element name="PaperCornerType" type="String" minOccurs="0"/>
|
329
|
+
<xsd:element name="PaperFinish" type="StringNotNull" minOccurs="0"/>
|
330
|
+
<xsd:element name="PaperSize" type="LengthDimension" minOccurs="0"/>
|
331
|
+
<xsd:element name="BrightnessRating" type="IntegerPercentageType" minOccurs="0"/>
|
332
|
+
<xsd:element name="MediaStorageCapacity" type="String" minOccurs="0"/>
|
333
|
+
<xsd:element name="SpecialFeatures" type="StringNotNull" minOccurs="0"/>
|
334
|
+
<xsd:element name="RulingType" type="String" minOccurs="0"/>
|
335
|
+
</xsd:sequence>
|
336
|
+
</xsd:complexType>
|
337
|
+
</xsd:element>
|
338
|
+
<!--
|
339
|
+
###############################################################
|
340
|
+
# PaperProducts Classification Data
|
341
|
+
###############################################################
|
342
|
+
-->
|
343
|
+
<xsd:element name="PaperProducts">
|
344
|
+
<xsd:complexType>
|
345
|
+
<xsd:sequence>
|
346
|
+
<xsd:element name="VariationData" minOccurs="0">
|
347
|
+
<xsd:complexType>
|
348
|
+
<xsd:sequence>
|
349
|
+
<xsd:element name="Parentage">
|
350
|
+
<xsd:simpleType>
|
351
|
+
<xsd:restriction base="xsd:string">
|
352
|
+
<xsd:enumeration value="parent"/>
|
353
|
+
<xsd:enumeration value="child"/>
|
354
|
+
</xsd:restriction>
|
355
|
+
</xsd:simpleType>
|
356
|
+
</xsd:element>
|
357
|
+
<xsd:element name="VariationTheme" minOccurs="0">
|
358
|
+
<xsd:simpleType>
|
359
|
+
<xsd:restriction base="xsd:string">
|
360
|
+
<xsd:enumeration value="Color"/>
|
361
|
+
<xsd:enumeration value="PaperSize"/>
|
362
|
+
<xsd:enumeration value="MaximumExpandableSize"/>
|
363
|
+
<xsd:enumeration value="Size"/>
|
364
|
+
</xsd:restriction>
|
365
|
+
</xsd:simpleType>
|
366
|
+
</xsd:element>
|
367
|
+
</xsd:sequence>
|
368
|
+
</xsd:complexType>
|
369
|
+
</xsd:element>
|
370
|
+
<xsd:element name="ColorSpecification" minOccurs="0">
|
371
|
+
<xsd:complexType>
|
372
|
+
<xsd:sequence>
|
373
|
+
<xsd:element name="Color" type="StringNotNull"/>
|
374
|
+
<xsd:element name="ColorMap" type="StringNotNull"/>
|
375
|
+
</xsd:sequence>
|
376
|
+
</xsd:complexType>
|
377
|
+
</xsd:element>
|
378
|
+
<xsd:element name="ItemPackageQuantity" type="xsd:positiveInteger" default="1"
|
379
|
+
minOccurs="0"/>
|
380
|
+
<xsd:element name="NumberOfItems" type="xsd:positiveInteger" minOccurs="0"/>
|
381
|
+
<xsd:element name="DisplayLength" type="LengthDimension" minOccurs="0"/>
|
382
|
+
<xsd:element name="DisplayWeight" type="WeightDimension" minOccurs="0"/>
|
383
|
+
<xsd:element name="DisplayVolume" type="VolumeDimension" minOccurs="0"/>
|
384
|
+
<xsd:element name="UnitCount" minOccurs="0">
|
385
|
+
<xsd:complexType>
|
386
|
+
<xsd:simpleContent>
|
387
|
+
<xsd:extension base="xsd:positiveInteger">
|
388
|
+
<xsd:attribute name="unitOfMeasure" type="StringNotNull"
|
389
|
+
use="required"/>
|
390
|
+
</xsd:extension>
|
391
|
+
</xsd:simpleContent>
|
392
|
+
</xsd:complexType>
|
393
|
+
</xsd:element>
|
394
|
+
<xsd:element name="RecycledContentPercentage" type="PercentageType" minOccurs="0"/>
|
395
|
+
<xsd:element name="PreConsumerRecycledContent" type="PercentageType" minOccurs="0"/>
|
396
|
+
<xsd:element name="PostConsumerRecycledContent" type="PercentageType" minOccurs="0"/>
|
397
|
+
<xsd:element name="Diameter" type="LengthDimension" minOccurs="0"/>
|
398
|
+
<xsd:element name="MaximumExpandableSize" type="LengthDimension" minOccurs="0"/>
|
399
|
+
<xsd:element name="CoreDiameter" type="LengthDimension" minOccurs="0"/>
|
400
|
+
<xsd:element name="NumberOfFasteners" type="xsd:positiveInteger" minOccurs="0"/>
|
401
|
+
<xsd:element name="FastenerCapacity" type="LengthDimension" minOccurs="0"/>
|
402
|
+
<xsd:element name="Binding" type="BindingType" minOccurs="0"/>
|
403
|
+
<xsd:element name="BindingLocation" type="String" minOccurs="0"/>
|
404
|
+
<xsd:element name="ClosureType" type="String" minOccurs="0"/>
|
405
|
+
<xsd:element name="NumberOfHoles" type="xsd:positiveInteger" minOccurs="0"/>
|
406
|
+
<xsd:element name="CoverMaterial" type="String" minOccurs="0"/>
|
407
|
+
<xsd:element name="TabCutType" type="String" minOccurs="0"/>
|
408
|
+
<xsd:element name="TabPosition" type="String" minOccurs="0"/>
|
409
|
+
<xsd:element name="IsPrePrinted" type="xsd:boolean" minOccurs="0"/>
|
410
|
+
<xsd:element name="CoatingDescription" type="TwoFiftyStringNotNull" minOccurs="0"/>
|
411
|
+
<xsd:element name="PaperCornerType" type="String" minOccurs="0"/>
|
412
|
+
<xsd:element name="PaperFinish" type="StringNotNull" minOccurs="0"/>
|
413
|
+
<xsd:element name="PaperSize" type="LengthDimension" minOccurs="0"/>
|
414
|
+
<xsd:element name="BrightnessRating" type="IntegerPercentageType" minOccurs="0"/>
|
415
|
+
<xsd:element name="SpecialFeatures" type="StringNotNull" minOccurs="0"/>
|
416
|
+
<xsd:element name="RulingType" type="String" minOccurs="0"/>
|
417
|
+
</xsd:sequence>
|
418
|
+
</xsd:complexType>
|
419
|
+
</xsd:element>
|
420
|
+
<!--
|
421
|
+
###############################################################
|
422
|
+
# WritingInstruments Classification Data
|
423
|
+
###############################################################
|
424
|
+
-->
|
425
|
+
<xsd:element name="WritingInstruments">
|
426
|
+
<xsd:complexType>
|
427
|
+
<xsd:sequence>
|
428
|
+
<xsd:element name="VariationData" minOccurs="0">
|
429
|
+
<xsd:complexType>
|
430
|
+
<xsd:sequence>
|
431
|
+
<xsd:element name="Parentage">
|
432
|
+
<xsd:simpleType>
|
433
|
+
<xsd:restriction base="xsd:string">
|
434
|
+
<xsd:enumeration value="parent"/>
|
435
|
+
<xsd:enumeration value="child"/>
|
436
|
+
</xsd:restriction>
|
437
|
+
</xsd:simpleType>
|
438
|
+
</xsd:element>
|
439
|
+
<xsd:element name="VariationTheme" minOccurs="0">
|
440
|
+
<xsd:simpleType>
|
441
|
+
<xsd:restriction base="xsd:string">
|
442
|
+
<xsd:enumeration value="Color"/>
|
443
|
+
<xsd:enumeration value="LineSize"/>
|
444
|
+
<xsd:enumeration value="Size"/>
|
445
|
+
</xsd:restriction>
|
446
|
+
</xsd:simpleType>
|
447
|
+
</xsd:element>
|
448
|
+
</xsd:sequence>
|
449
|
+
</xsd:complexType>
|
450
|
+
</xsd:element>
|
451
|
+
<xsd:element name="ColorSpecification" minOccurs="0">
|
452
|
+
<xsd:complexType>
|
453
|
+
<xsd:sequence>
|
454
|
+
<xsd:element name="Color" type="StringNotNull"/>
|
455
|
+
<xsd:element name="ColorMap" type="StringNotNull"/>
|
456
|
+
</xsd:sequence>
|
457
|
+
</xsd:complexType>
|
458
|
+
</xsd:element>
|
459
|
+
<xsd:element name="ItemPackageQuantity" type="xsd:positiveInteger" default="1"
|
460
|
+
minOccurs="0"/>
|
461
|
+
<xsd:element name="NumberOfItems" type="xsd:positiveInteger" minOccurs="0"/>
|
462
|
+
<xsd:element name="DisplayLength" type="LengthDimension" minOccurs="0"/>
|
463
|
+
<xsd:element name="DisplayWeight" type="WeightDimension" minOccurs="0"/>
|
464
|
+
<xsd:element name="DisplayVolume" type="VolumeDimension" minOccurs="0"/>
|
465
|
+
<xsd:element name="UnitCount" minOccurs="0">
|
466
|
+
<xsd:complexType>
|
467
|
+
<xsd:simpleContent>
|
468
|
+
<xsd:extension base="xsd:positiveInteger">
|
469
|
+
<xsd:attribute name="unitOfMeasure" type="StringNotNull"
|
470
|
+
use="required"/>
|
471
|
+
</xsd:extension>
|
472
|
+
</xsd:simpleContent>
|
473
|
+
</xsd:complexType>
|
474
|
+
</xsd:element>
|
475
|
+
<xsd:element name="MaterialType" type="StringNotNull" minOccurs="0" maxOccurs="2"/>
|
476
|
+
<xsd:element name="RecycledContentPercentage" type="PercentageType" minOccurs="0"/>
|
477
|
+
<xsd:element name="PreConsumerRecycledContent" type="PercentageType" minOccurs="0"/>
|
478
|
+
<xsd:element name="PostConsumerRecycledContent" type="PercentageType" minOccurs="0"/>
|
479
|
+
<xsd:element name="Diameter" type="LengthDimension" minOccurs="0"/>
|
480
|
+
<xsd:element name="InkColor" type="String" minOccurs="0" maxOccurs="20"/>
|
481
|
+
<xsd:element name="BallpointPenType" type="StringNotNull" minOccurs="0"/>
|
482
|
+
<xsd:element name="TipDescription" type="String" minOccurs="0" maxOccurs="20"/>
|
483
|
+
<xsd:element name="PencilLeadHardness" type="StringNotNull" minOccurs="0"/>
|
484
|
+
<xsd:element name="PointType" type="String" minOccurs="0"/>
|
485
|
+
<xsd:element name="LineSize" type="LengthDimension" minOccurs="0"/>
|
486
|
+
<xsd:element name="SpecialFeatures" type="StringNotNull" minOccurs="0"/>
|
487
|
+
</xsd:sequence>
|
488
|
+
</xsd:complexType>
|
489
|
+
</xsd:element>
|
490
|
+
<!--
|
491
|
+
##############################################################
|
492
|
+
# Office Data Types
|
493
|
+
##############################################################
|
494
|
+
-->
|
495
|
+
<xsd:simpleType name="BallpointPenTypes">
|
496
|
+
<xsd:restriction base="xsd:string">
|
497
|
+
<xsd:enumeration value="Retractable"/>
|
498
|
+
<xsd:enumeration value="Stick"/>
|
499
|
+
</xsd:restriction>
|
500
|
+
</xsd:simpleType>
|
501
|
+
<xsd:simpleType name="PencilLeadHardnessType">
|
502
|
+
<xsd:restriction base="xsd:string">
|
503
|
+
<xsd:enumeration value="6B"/>
|
504
|
+
<xsd:enumeration value="4B"/>
|
505
|
+
<xsd:enumeration value="2B"/>
|
506
|
+
<xsd:enumeration value="B"/>
|
507
|
+
<xsd:enumeration value="HB"/>
|
508
|
+
<xsd:enumeration value="F"/>
|
509
|
+
<xsd:enumeration value="H"/>
|
510
|
+
<xsd:enumeration value="2H"/>
|
511
|
+
</xsd:restriction>
|
512
|
+
</xsd:simpleType>
|
513
|
+
<xsd:simpleType name="PaperFinishType">
|
514
|
+
<xsd:restriction base="xsd:string">
|
515
|
+
<xsd:enumeration value="coated"/>
|
516
|
+
<xsd:enumeration value="embossed"/>
|
517
|
+
<xsd:enumeration value="glossy"/>
|
518
|
+
<xsd:enumeration value="high_gloss"/>
|
519
|
+
<xsd:enumeration value="matte"/>
|
520
|
+
<xsd:enumeration value="metallic"/>
|
521
|
+
<xsd:enumeration value="satin"/>
|
522
|
+
<xsd:enumeration value="semi-gloss"/>
|
523
|
+
<xsd:enumeration value="smooth"/>
|
524
|
+
<xsd:enumeration value="soft_gloss"/>
|
525
|
+
<xsd:enumeration value="specially_coated"/>
|
526
|
+
<xsd:enumeration value="texture_laid"/>
|
527
|
+
<xsd:enumeration value="tracing"/>
|
528
|
+
<xsd:enumeration value="translucent"/>
|
529
|
+
<xsd:enumeration value="ultra_smooth"/>
|
530
|
+
<xsd:enumeration value="uncoated"/>
|
531
|
+
<xsd:enumeration value="watercolor"/>
|
532
|
+
<xsd:enumeration value="wove"/>
|
533
|
+
</xsd:restriction>
|
534
|
+
</xsd:simpleType>
|
535
|
+
<xsd:simpleType name="OfficeSpecialFeatures">
|
536
|
+
<xsd:restriction base="xsd:string">
|
537
|
+
<xsd:enumeration value="refillable"/>
|
538
|
+
</xsd:restriction>
|
539
|
+
</xsd:simpleType>
|
540
|
+
<xsd:simpleType name="BindingType">
|
541
|
+
<xsd:restriction base="xsd:string">
|
542
|
+
<xsd:enumeration value="perfect"/>
|
543
|
+
<xsd:enumeration value="saddle_stitch"/>
|
544
|
+
<xsd:enumeration value="side_stitch"/>
|
545
|
+
<xsd:enumeration value="case"/>
|
546
|
+
<xsd:enumeration value="plastic_comb"/>
|
547
|
+
<xsd:enumeration value="three_ring"/>
|
548
|
+
</xsd:restriction>
|
549
|
+
</xsd:simpleType>
|
550
|
+
<xsd:simpleType name="PaperSizeType">
|
551
|
+
<xsd:restriction base="xsd:string">
|
552
|
+
<xsd:enumeration value="A0"/>
|
553
|
+
<xsd:enumeration value="A1"/>
|
554
|
+
<xsd:enumeration value="A2"/>
|
555
|
+
<xsd:enumeration value="A3"/>
|
556
|
+
<xsd:enumeration value="A4"/>
|
557
|
+
<xsd:enumeration value="A5"/>
|
558
|
+
<xsd:enumeration value="A6"/>
|
559
|
+
<xsd:enumeration value="A7"/>
|
560
|
+
<xsd:enumeration value="A8"/>
|
561
|
+
<xsd:enumeration value="A9"/>
|
562
|
+
<xsd:enumeration value="A10"/>
|
563
|
+
<xsd:enumeration value="33.125-x-46.25-inch"/>
|
564
|
+
<xsd:enumeration value="23.375-x-33.125-inch"/>
|
565
|
+
<xsd:enumeration value="16.5-x-23.375-inch"/>
|
566
|
+
<xsd:enumeration value="11.75-x-16.5-inch"/>
|
567
|
+
<xsd:enumeration value="8.25-x-11.75-inch"/>
|
568
|
+
<xsd:enumeration value="5.875-x-8.25-inch"/>
|
569
|
+
<xsd:enumeration value="4.125-x-5.875-inch"/>
|
570
|
+
<xsd:enumeration value="2.875-x-4.125-inch"/>
|
571
|
+
<xsd:enumeration value="2-x-2.875-inch"/>
|
572
|
+
<xsd:enumeration value="1.5-x-2-inch"/>
|
573
|
+
<xsd:enumeration value="1-x-1.5-inch"/>
|
574
|
+
<xsd:enumeration value="2-x-3-inch"/>
|
575
|
+
<xsd:enumeration value="3-x-5-inch"/>
|
576
|
+
<xsd:enumeration value="4.125-x-5.83-inch"/>
|
577
|
+
<xsd:enumeration value="5-x-8-inch"/>
|
578
|
+
<xsd:enumeration value="8.5-x-11-inch"/>
|
579
|
+
<xsd:enumeration value="8.5-x-14-inch"/>
|
580
|
+
<xsd:enumeration value="11-x-17-inch"/>
|
581
|
+
<xsd:enumeration value="17-x-22-inch"/>
|
582
|
+
<xsd:enumeration value="22-x-34-inch"/>
|
583
|
+
<xsd:enumeration value="34-x-44-inch"/>
|
584
|
+
</xsd:restriction>
|
585
|
+
</xsd:simpleType>
|
586
|
+
</xsd:schema>
|