amazon-mws 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/README.markdown +31 -0
- data/Rakefile +14 -0
- data/VERSION +1 -0
- data/amazon-mws.gemspec +164 -0
- data/examples/xml/cancel_feed_submissions.xml +16 -0
- data/examples/xml/cancel_report_requests.xml +18 -0
- data/examples/xml/error.xml +10 -0
- data/examples/xml/get_feed_submission_count.xml +10 -0
- data/examples/xml/get_feed_submission_list.xml +16 -0
- data/examples/xml/get_feed_submission_list_by_next_token.xml +16 -0
- data/examples/xml/get_feed_submission_result.xml +30 -0
- data/examples/xml/get_report_count.xml +9 -0
- data/examples/xml/get_report_list.xml +17 -0
- data/examples/xml/get_report_request_count.xml +8 -0
- data/examples/xml/get_report_request_list.xml +120 -0
- data/examples/xml/get_report_request_list_by_next_token.xml +20 -0
- data/examples/xml/get_report_schedule_count.xml +10 -0
- data/examples/xml/get_report_schedule_list.xml +15 -0
- data/examples/xml/get_report_schedule_list_by_next_token.xml +15 -0
- data/examples/xml/manage_report_schedule.xml +14 -0
- data/examples/xml/request_report.xml +17 -0
- data/examples/xml/submit_feed.xml +14 -0
- data/examples/xml/update_report_acknowledgements.xml +18 -0
- data/examples/xsd/Inventory.xsd +49 -0
- data/examples/xsd/Item.xsd +285 -0
- data/examples/xsd/Listings.xsd +32 -0
- data/examples/xsd/OrderAcknowledgement.xsd +55 -0
- data/examples/xsd/OrderAdjustment.xsd +94 -0
- data/examples/xsd/OrderFulfillment.xsd +57 -0
- data/examples/xsd/Override.xsd +48 -0
- data/examples/xsd/Price.xsd +59 -0
- data/examples/xsd/ProcessingReport.xsd +87 -0
- data/examples/xsd/Product.xsd +220 -0
- data/examples/xsd/Product/AutoAccessory.xsd +807 -0
- data/examples/xsd/Product/Beauty.xsd +114 -0
- data/examples/xsd/Product/CE.xsd +544 -0
- data/examples/xsd/Product/CameraPhoto.xsd +2410 -0
- data/examples/xsd/Product/FoodAndBeverages.xsd +270 -0
- data/examples/xsd/Product/Gourmet.xsd +85 -0
- data/examples/xsd/Product/Health.xsd +189 -0
- data/examples/xsd/Product/Home.xsd +654 -0
- data/examples/xsd/Product/Jewelry.xsd +603 -0
- data/examples/xsd/Product/Miscellaneous.xsd +157 -0
- data/examples/xsd/Product/MusicalInstruments.xsd +853 -0
- data/examples/xsd/Product/Office.xsd +550 -0
- data/examples/xsd/Product/PetSupplies.xsd +40 -0
- data/examples/xsd/Product/ProductClothing.xsd +197 -0
- data/examples/xsd/Product/SWVG.xsd +238 -0
- data/examples/xsd/Product/Sports.xsd +308 -0
- data/examples/xsd/Product/TiresAndWheels.xsd +159 -0
- data/examples/xsd/Product/Tools.xsd +66 -0
- data/examples/xsd/Product/ToysBaby.xsd +241 -0
- data/examples/xsd/Product/Wireless.xsd +77 -0
- data/examples/xsd/ProductImage.xsd +39 -0
- data/examples/xsd/Relationship.xsd +47 -0
- data/examples/xsd/SettlementReport.xsd +158 -0
- data/examples/xsd/amzn-base.xsd +1601 -0
- data/examples/xsd/amzn-envelope.xsd +98 -0
- data/examples/xsd/amzn-header.xsd +45 -0
- data/lib/amazon/mws.rb +86 -0
- data/lib/amazon/mws/authentication.rb +9 -0
- data/lib/amazon/mws/authentication/query_string.rb +28 -0
- data/lib/amazon/mws/authentication/signature.rb +43 -0
- data/lib/amazon/mws/base.rb +61 -0
- data/lib/amazon/mws/connection.rb +99 -0
- data/lib/amazon/mws/connection/management.rb +94 -0
- data/lib/amazon/mws/connection/request_builder.rb +67 -0
- data/lib/amazon/mws/exceptions.rb +80 -0
- data/lib/amazon/mws/feed.rb +223 -0
- data/lib/amazon/mws/feed_builder.rb +67 -0
- data/lib/amazon/mws/feed_enumerations.rb +46 -0
- data/lib/amazon/mws/feed_submission.rb +14 -0
- data/lib/amazon/mws/lib/extensions.rb +162 -0
- data/lib/amazon/mws/lib/memoizable.rb +10 -0
- data/lib/amazon/mws/orders.rb +9 -0
- data/lib/amazon/mws/report.rb +310 -0
- data/lib/amazon/mws/report_enumerations.rb +44 -0
- data/lib/amazon/mws/report_info.rb +16 -0
- data/lib/amazon/mws/report_request.rb +19 -0
- data/lib/amazon/mws/report_schedule.rb +13 -0
- data/lib/amazon/mws/response.rb +32 -0
- data/lib/amazon/mws/response/cancel_feed_submissions_response.rb +14 -0
- data/lib/amazon/mws/response/cancel_report_requests_response.rb +14 -0
- data/lib/amazon/mws/response/get_feed_submission_count_response.rb +13 -0
- data/lib/amazon/mws/response/get_feed_submission_list_by_next_token_response.rb +15 -0
- data/lib/amazon/mws/response/get_feed_submission_list_response.rb +15 -0
- data/lib/amazon/mws/response/get_feed_submission_result_response.rb +54 -0
- data/lib/amazon/mws/response/get_report_count_response.rb +13 -0
- data/lib/amazon/mws/response/get_report_list_response.rb +15 -0
- data/lib/amazon/mws/response/get_report_request_count_response.rb +13 -0
- data/lib/amazon/mws/response/get_report_request_list_by_next_token_response.rb +15 -0
- data/lib/amazon/mws/response/get_report_request_list_response.rb +15 -0
- data/lib/amazon/mws/response/get_report_schedule_count_response.rb +13 -0
- data/lib/amazon/mws/response/get_report_schedule_list_by_next_token_response.rb +15 -0
- data/lib/amazon/mws/response/get_report_schedule_list_response.rb +15 -0
- data/lib/amazon/mws/response/manage_report_schedule_response.rb +14 -0
- data/lib/amazon/mws/response/request_report_response.rb +14 -0
- data/lib/amazon/mws/response/response_error.rb +15 -0
- data/lib/amazon/mws/response/submit_feed_response.rb +13 -0
- data/lib/amazon/mws/response/update_reports_acknowledgements_response.rb +14 -0
- data/lib/amazon/mws/version.rb +12 -0
- data/pkg/amazon-mws-0.1.0.gem +0 -0
- data/test/authentication_test.rb +15 -0
- data/test/connection_test.rb +5 -0
- data/test/feed_builder_test.rb +15 -0
- data/test/feed_submission_test.rb +32 -0
- data/test/feed_test.rb +64 -0
- data/test/query_string_test.rb +21 -0
- data/test/report_test.rb +29 -0
- data/test/request_test.rb +18 -0
- data/test/response_test.rb +197 -0
- data/test/signature_test.rb +30 -0
- data/test/test_config.yml +5 -0
- data/test/test_helper.rb +22 -0
- metadata +179 -0
@@ -0,0 +1,550 @@
|
|
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="ProductType">
|
18
|
+
<xsd:complexType>
|
19
|
+
<xsd:choice>
|
20
|
+
<xsd:element ref="ArtSupplies"/>
|
21
|
+
<xsd:element ref="EducationalSupplies"/>
|
22
|
+
<xsd:element ref="OfficeProducts"/>
|
23
|
+
<xsd:element ref="PaperProducts"/>
|
24
|
+
<xsd:element ref="WritingInstruments"/>
|
25
|
+
</xsd:choice>
|
26
|
+
</xsd:complexType>
|
27
|
+
</xsd:element>
|
28
|
+
<xsd:element name="Size" type="StringNotNull" minOccurs="0"/>
|
29
|
+
</xsd:sequence>
|
30
|
+
</xsd:complexType>
|
31
|
+
</xsd:element>
|
32
|
+
<!--
|
33
|
+
###############################################################
|
34
|
+
# ArtSupplies Classification Data
|
35
|
+
###############################################################
|
36
|
+
-->
|
37
|
+
<xsd:element name="ArtSupplies">
|
38
|
+
<xsd:complexType>
|
39
|
+
<xsd:sequence>
|
40
|
+
<xsd:element name="VariationData" minOccurs="0">
|
41
|
+
<xsd:complexType>
|
42
|
+
<xsd:sequence>
|
43
|
+
<xsd:element name="Parentage">
|
44
|
+
<xsd:simpleType>
|
45
|
+
<xsd:restriction base="xsd:string">
|
46
|
+
<xsd:enumeration value="parent"/>
|
47
|
+
<xsd:enumeration value="child"/>
|
48
|
+
</xsd:restriction>
|
49
|
+
</xsd:simpleType>
|
50
|
+
</xsd:element>
|
51
|
+
<xsd:element name="VariationTheme" minOccurs="0">
|
52
|
+
<xsd:simpleType>
|
53
|
+
<xsd:restriction base="xsd:string">
|
54
|
+
<xsd:enumeration value="Color"/>
|
55
|
+
<xsd:enumeration value="PaperSize"/>
|
56
|
+
<xsd:enumeration value="Color-PaperSize"/>
|
57
|
+
<xsd:enumeration value="MaximumExpandableSize"/>
|
58
|
+
<xsd:enumeration value="LineSize"/>
|
59
|
+
</xsd:restriction>
|
60
|
+
</xsd:simpleType>
|
61
|
+
</xsd:element>
|
62
|
+
</xsd:sequence>
|
63
|
+
</xsd:complexType>
|
64
|
+
</xsd:element>
|
65
|
+
<xsd:element name="ColorSpecification" minOccurs="0">
|
66
|
+
<xsd:complexType>
|
67
|
+
<xsd:sequence>
|
68
|
+
<xsd:element name="Color" type="StringNotNull"/>
|
69
|
+
<xsd:element name="ColorMap" type="StringNotNull"/>
|
70
|
+
</xsd:sequence>
|
71
|
+
</xsd:complexType>
|
72
|
+
</xsd:element>
|
73
|
+
<xsd:element name="ItemPackageQuantity" type="xsd:positiveInteger" default="1" minOccurs="0"/>
|
74
|
+
<xsd:element name="NumberOfItems" type="xsd:positiveInteger" minOccurs="0"/>
|
75
|
+
<xsd:element name="DisplayLength" type="LengthDimension" minOccurs="0"/>
|
76
|
+
<xsd:element name="DisplayWeight" type="WeightDimension" minOccurs="0"/>
|
77
|
+
<xsd:element name="DisplayVolume" type="VolumeDimension" minOccurs="0"/>
|
78
|
+
<xsd:element name="UnitCount" minOccurs="0">
|
79
|
+
<xsd:complexType>
|
80
|
+
<xsd:simpleContent>
|
81
|
+
<xsd:extension base="xsd:positiveInteger">
|
82
|
+
<xsd:attribute name="unitOfMeasure" type="StringNotNull" use="required"/>
|
83
|
+
</xsd:extension>
|
84
|
+
</xsd:simpleContent>
|
85
|
+
</xsd:complexType>
|
86
|
+
</xsd:element>
|
87
|
+
<xsd:element name="MaterialType" type="StringNotNull" minOccurs="0" maxOccurs="2"/>
|
88
|
+
<xsd:element name="PaintType" type="StringNotNull" minOccurs="0" maxOccurs="3"/>
|
89
|
+
<xsd:element name="RecycledContentPercentage" type="PercentageType" minOccurs="0"/>
|
90
|
+
<xsd:element name="PreConsumerRecycledContent" type="PercentageType" minOccurs="0"/>
|
91
|
+
<xsd:element name="PostConsumerRecycledContent" type="PercentageType" minOccurs="0"/>
|
92
|
+
<xsd:element name="Diameter" type="LengthDimension" minOccurs="0"/>
|
93
|
+
<xsd:element name="MaximumExpandableSize" type="LengthDimension" minOccurs="0"/>
|
94
|
+
<xsd:element name="CoreDiameter" type="LengthDimension" minOccurs="0"/>
|
95
|
+
<xsd:element name="InkColor" type="String" minOccurs="0" maxOccurs="20"/>
|
96
|
+
<xsd:element name="BallpointPenType" type="StringNotNull" minOccurs="0"/>
|
97
|
+
<xsd:element name="TipDescription" type="String" minOccurs="0" maxOccurs="20"/>
|
98
|
+
<xsd:element name="PencilLeadHardness" type="StringNotNull" minOccurs="0"/>
|
99
|
+
<xsd:element name="PointType" type="String" minOccurs="0"/>
|
100
|
+
<xsd:element name="LineSize" type="LengthDimension" minOccurs="0"/>
|
101
|
+
<xsd:element name="NumberOfFasteners" type="xsd:positiveInteger" minOccurs="0"/>
|
102
|
+
<xsd:element name="FastenerCapacity" type="LengthDimension" minOccurs="0"/>
|
103
|
+
<xsd:element name="Binding" type="BindingType" minOccurs="0"/>
|
104
|
+
<xsd:element name="BindingLocation" type="String" minOccurs="0"/>
|
105
|
+
<xsd:element name="ClosureType" type="String" minOccurs="0"/>
|
106
|
+
<xsd:element name="NumberOfHoles" type="xsd:positiveInteger" minOccurs="0"/>
|
107
|
+
<xsd:element name="CoverMaterial" type="String" minOccurs="0"/>
|
108
|
+
<xsd:element name="TabCutType" type="String" minOccurs="0"/>
|
109
|
+
<xsd:element name="TabPosition" type="String" minOccurs="0"/>
|
110
|
+
<xsd:element name="IsPrePrinted" type="xsd:boolean" minOccurs="0"/>
|
111
|
+
<xsd:element name="CoatingDescription" type="TwoFiftyStringNotNull" minOccurs="0"/>
|
112
|
+
<xsd:element name="PaperCornerType" type="String" minOccurs="0"/>
|
113
|
+
<xsd:element name="PaperFinish" type="StringNotNull" minOccurs="0"/>
|
114
|
+
<xsd:element name="PaperSize" type="StringNotNull" minOccurs="0"/>
|
115
|
+
<xsd:element name="BrightnessRating" type="IntegerPercentageType" minOccurs="0"/>
|
116
|
+
<xsd:element name="MediaStorageCapacity" type="String" minOccurs="0"/>
|
117
|
+
<xsd:element name="SpecialFeatures" type="StringNotNull" minOccurs="0"/>
|
118
|
+
</xsd:sequence>
|
119
|
+
</xsd:complexType>
|
120
|
+
</xsd:element>
|
121
|
+
<!--
|
122
|
+
###############################################################
|
123
|
+
# EducationalSupplies Classification Data
|
124
|
+
###############################################################
|
125
|
+
-->
|
126
|
+
<xsd:element name="EducationalSupplies">
|
127
|
+
<xsd:complexType>
|
128
|
+
<xsd:sequence>
|
129
|
+
<xsd:element name="VariationData" minOccurs="0">
|
130
|
+
<xsd:complexType>
|
131
|
+
<xsd:sequence>
|
132
|
+
<xsd:element name="Parentage">
|
133
|
+
<xsd:simpleType>
|
134
|
+
<xsd:restriction base="xsd:string">
|
135
|
+
<xsd:enumeration value="parent"/>
|
136
|
+
<xsd:enumeration value="child"/>
|
137
|
+
</xsd:restriction>
|
138
|
+
</xsd:simpleType>
|
139
|
+
</xsd:element>
|
140
|
+
<xsd:element name="VariationTheme" minOccurs="0">
|
141
|
+
<xsd:simpleType>
|
142
|
+
<xsd:restriction base="xsd:string">
|
143
|
+
<xsd:enumeration value="Color"/>
|
144
|
+
<xsd:enumeration value="PaperSize"/>
|
145
|
+
<xsd:enumeration value="Color-PaperSize"/>
|
146
|
+
<xsd:enumeration value="MaximumExpandableSize"/>
|
147
|
+
<xsd:enumeration value="LineSize"/>
|
148
|
+
</xsd:restriction>
|
149
|
+
</xsd:simpleType>
|
150
|
+
</xsd:element>
|
151
|
+
</xsd:sequence>
|
152
|
+
</xsd:complexType>
|
153
|
+
</xsd:element>
|
154
|
+
<xsd:element name="ColorSpecification" minOccurs="0">
|
155
|
+
<xsd:complexType>
|
156
|
+
<xsd:sequence>
|
157
|
+
<xsd:element name="Color" type="StringNotNull"/>
|
158
|
+
<xsd:element name="ColorMap" type="StringNotNull"/>
|
159
|
+
</xsd:sequence>
|
160
|
+
</xsd:complexType>
|
161
|
+
</xsd:element>
|
162
|
+
<xsd:element name="ItemPackageQuantity" type="xsd:positiveInteger" default="1" minOccurs="0"/>
|
163
|
+
<xsd:element name="NumberOfItems" type="xsd:positiveInteger" minOccurs="0"/>
|
164
|
+
<xsd:element name="DisplayLength" type="LengthDimension" minOccurs="0"/>
|
165
|
+
<xsd:element name="DisplayWeight" type="WeightDimension" minOccurs="0"/>
|
166
|
+
<xsd:element name="DisplayVolume" type="VolumeDimension" minOccurs="0"/>
|
167
|
+
<xsd:element name="UnitCount" minOccurs="0">
|
168
|
+
<xsd:complexType>
|
169
|
+
<xsd:simpleContent>
|
170
|
+
<xsd:extension base="xsd:positiveInteger">
|
171
|
+
<xsd:attribute name="unitOfMeasure" type="StringNotNull" use="required"/>
|
172
|
+
</xsd:extension>
|
173
|
+
</xsd:simpleContent>
|
174
|
+
</xsd:complexType>
|
175
|
+
</xsd:element>
|
176
|
+
<xsd:element name="RecycledContentPercentage" type="PercentageType" minOccurs="0"/>
|
177
|
+
<xsd:element name="PreConsumerRecycledContent" type="PercentageType" minOccurs="0"/>
|
178
|
+
<xsd:element name="PostConsumerRecycledContent" type="PercentageType" minOccurs="0"/>
|
179
|
+
<xsd:element name="Diameter" type="LengthDimension" minOccurs="0"/>
|
180
|
+
<xsd:element name="MaximumExpandableSize" type="LengthDimension" minOccurs="0"/>
|
181
|
+
<xsd:element name="CoreDiameter" type="LengthDimension" minOccurs="0"/>
|
182
|
+
<xsd:element name="InkColor" type="String" minOccurs="0" maxOccurs="20"/>
|
183
|
+
<xsd:element name="BallpointPenType" type="StringNotNull" minOccurs="0"/>
|
184
|
+
<xsd:element name="TipDescription" type="String" minOccurs="0" maxOccurs="20"/>
|
185
|
+
<xsd:element name="PencilLeadHardness" type="StringNotNull" minOccurs="0"/>
|
186
|
+
<xsd:element name="PointType" type="String" minOccurs="0"/>
|
187
|
+
<xsd:element name="LineSize" type="LengthDimension" minOccurs="0"/>
|
188
|
+
<xsd:element name="NumberOfFasteners" type="xsd:positiveInteger" minOccurs="0"/>
|
189
|
+
<xsd:element name="FastenerCapacity" type="LengthDimension" minOccurs="0"/>
|
190
|
+
<xsd:element name="Binding" type="BindingType" minOccurs="0"/>
|
191
|
+
<xsd:element name="BindingLocation" type="String" minOccurs="0"/>
|
192
|
+
<xsd:element name="ClosureType" type="String" minOccurs="0"/>
|
193
|
+
<xsd:element name="NumberOfHoles" type="xsd:positiveInteger" minOccurs="0"/>
|
194
|
+
<xsd:element name="CoverMaterial" type="String" minOccurs="0"/>
|
195
|
+
<xsd:element name="TabCutType" type="String" minOccurs="0"/>
|
196
|
+
<xsd:element name="TabPosition" type="String" minOccurs="0"/>
|
197
|
+
<xsd:element name="IsPrePrinted" type="xsd:boolean" minOccurs="0"/>
|
198
|
+
<xsd:element name="CoatingDescription" type="TwoFiftyStringNotNull" minOccurs="0"/>
|
199
|
+
<xsd:element name="PaperCornerType" type="String" minOccurs="0"/>
|
200
|
+
<xsd:element name="PaperFinish" type="StringNotNull" minOccurs="0"/>
|
201
|
+
<xsd:element name="PaperSize" type="StringNotNull" minOccurs="0"/>
|
202
|
+
<xsd:element name="BrightnessRating" type="IntegerPercentageType" minOccurs="0"/>
|
203
|
+
<xsd:element name="MediaStorageCapacity" type="String" minOccurs="0"/>
|
204
|
+
<xsd:element name="SpecialFeatures" type="StringNotNull" minOccurs="0"/>
|
205
|
+
</xsd:sequence>
|
206
|
+
</xsd:complexType>
|
207
|
+
</xsd:element>
|
208
|
+
<!--
|
209
|
+
###############################################################
|
210
|
+
# OfficeProducts Classification Data
|
211
|
+
###############################################################
|
212
|
+
-->
|
213
|
+
<xsd:element name="OfficeProducts">
|
214
|
+
<xsd:complexType>
|
215
|
+
<xsd:sequence>
|
216
|
+
<xsd:element name="VariationData" minOccurs="0">
|
217
|
+
<xsd:complexType>
|
218
|
+
<xsd:sequence>
|
219
|
+
<xsd:element name="Parentage">
|
220
|
+
<xsd:simpleType>
|
221
|
+
<xsd:restriction base="xsd:string">
|
222
|
+
<xsd:enumeration value="parent"/>
|
223
|
+
<xsd:enumeration value="child"/>
|
224
|
+
</xsd:restriction>
|
225
|
+
</xsd:simpleType>
|
226
|
+
</xsd:element>
|
227
|
+
<xsd:element name="VariationTheme" minOccurs="0">
|
228
|
+
<xsd:simpleType>
|
229
|
+
<xsd:restriction base="xsd:string">
|
230
|
+
<xsd:enumeration value="Color"/>
|
231
|
+
<xsd:enumeration value="PaperSize"/>
|
232
|
+
<xsd:enumeration value="Color-PaperSize"/>
|
233
|
+
<xsd:enumeration value="MaximumExpandableSize"/>
|
234
|
+
<xsd:enumeration value="LineSize"/>
|
235
|
+
</xsd:restriction>
|
236
|
+
</xsd:simpleType>
|
237
|
+
</xsd:element>
|
238
|
+
</xsd:sequence>
|
239
|
+
</xsd:complexType>
|
240
|
+
</xsd:element>
|
241
|
+
<xsd:element name="ColorSpecification" minOccurs="0">
|
242
|
+
<xsd:complexType>
|
243
|
+
<xsd:sequence>
|
244
|
+
<xsd:element name="Color" type="StringNotNull"/>
|
245
|
+
<xsd:element name="ColorMap" type="StringNotNull"/>
|
246
|
+
</xsd:sequence>
|
247
|
+
</xsd:complexType>
|
248
|
+
</xsd:element>
|
249
|
+
<xsd:element name="ItemPackageQuantity" type="xsd:positiveInteger" default="1" minOccurs="0"/>
|
250
|
+
<xsd:element name="NumberOfItems" type="xsd:positiveInteger" minOccurs="0"/>
|
251
|
+
<xsd:element name="DisplayLength" type="LengthDimension" minOccurs="0"/>
|
252
|
+
<xsd:element name="DisplayWeight" type="WeightDimension" minOccurs="0"/>
|
253
|
+
<xsd:element name="DisplayVolume" type="VolumeDimension" minOccurs="0"/>
|
254
|
+
<xsd:element name="UnitCount" minOccurs="0">
|
255
|
+
<xsd:complexType>
|
256
|
+
<xsd:simpleContent>
|
257
|
+
<xsd:extension base="xsd:positiveInteger">
|
258
|
+
<xsd:attribute name="unitOfMeasure" type="StringNotNull" use="required"/>
|
259
|
+
</xsd:extension>
|
260
|
+
</xsd:simpleContent>
|
261
|
+
</xsd:complexType>
|
262
|
+
</xsd:element>
|
263
|
+
<xsd:element name="MaterialType" type="StringNotNull" minOccurs="0" maxOccurs="2"/>
|
264
|
+
<xsd:element name="RecycledContentPercentage" type="PercentageType" minOccurs="0"/>
|
265
|
+
<xsd:element name="PreConsumerRecycledContent" type="PercentageType" minOccurs="0"/>
|
266
|
+
<xsd:element name="PostConsumerRecycledContent" type="PercentageType" minOccurs="0"/>
|
267
|
+
<xsd:element name="Diameter" type="LengthDimension" minOccurs="0"/>
|
268
|
+
<xsd:element name="MaximumExpandableSize" type="LengthDimension" minOccurs="0"/>
|
269
|
+
<xsd:element name="CoreDiameter" type="LengthDimension" minOccurs="0"/>
|
270
|
+
<xsd:element name="InkColor" type="String" minOccurs="0" maxOccurs="20"/>
|
271
|
+
<xsd:element name="BallpointPenType" type="StringNotNull" minOccurs="0"/>
|
272
|
+
<xsd:element name="TipDescription" type="String" minOccurs="0" maxOccurs="20"/>
|
273
|
+
<xsd:element name="PencilLeadHardness" type="StringNotNull" minOccurs="0"/>
|
274
|
+
<xsd:element name="PointType" type="String" minOccurs="0"/>
|
275
|
+
<xsd:element name="LineSize" type="LengthDimension" minOccurs="0"/>
|
276
|
+
<xsd:element name="NumberOfFasteners" type="xsd:positiveInteger" minOccurs="0"/>
|
277
|
+
<xsd:element name="FastenerCapacity" type="LengthDimension" minOccurs="0"/>
|
278
|
+
<xsd:element name="Binding" type="BindingType" minOccurs="0"/>
|
279
|
+
<xsd:element name="BindingLocation" type="String" minOccurs="0"/>
|
280
|
+
<xsd:element name="ClosureType" type="String" minOccurs="0"/>
|
281
|
+
<xsd:element name="NumberOfHoles" type="xsd:positiveInteger" minOccurs="0"/>
|
282
|
+
<xsd:element name="CoverMaterial" type="String" minOccurs="0"/>
|
283
|
+
<xsd:element name="TabCutType" type="String" minOccurs="0"/>
|
284
|
+
<xsd:element name="TabPosition" type="String" minOccurs="0"/>
|
285
|
+
<xsd:element name="IsPrePrinted" type="xsd:boolean" minOccurs="0"/>
|
286
|
+
<xsd:element name="CoatingDescription" type="TwoFiftyStringNotNull" minOccurs="0"/>
|
287
|
+
<xsd:element name="PaperCornerType" type="String" minOccurs="0"/>
|
288
|
+
<xsd:element name="PaperFinish" type="StringNotNull" minOccurs="0"/>
|
289
|
+
<xsd:element name="PaperSize" type="StringNotNull" minOccurs="0"/>
|
290
|
+
<xsd:element name="BrightnessRating" type="IntegerPercentageType" minOccurs="0"/>
|
291
|
+
<xsd:element name="MediaStorageCapacity" type="String" minOccurs="0"/>
|
292
|
+
<xsd:element name="SpecialFeatures" type="StringNotNull" minOccurs="0"/>
|
293
|
+
</xsd:sequence>
|
294
|
+
</xsd:complexType>
|
295
|
+
</xsd:element>
|
296
|
+
<!--
|
297
|
+
###############################################################
|
298
|
+
# PaperProducts Classification Data
|
299
|
+
###############################################################
|
300
|
+
-->
|
301
|
+
<xsd:element name="PaperProducts">
|
302
|
+
<xsd:complexType>
|
303
|
+
<xsd:sequence>
|
304
|
+
<xsd:element name="VariationData" minOccurs="0">
|
305
|
+
<xsd:complexType>
|
306
|
+
<xsd:sequence>
|
307
|
+
<xsd:element name="Parentage">
|
308
|
+
<xsd:simpleType>
|
309
|
+
<xsd:restriction base="xsd:string">
|
310
|
+
<xsd:enumeration value="parent"/>
|
311
|
+
<xsd:enumeration value="child"/>
|
312
|
+
</xsd:restriction>
|
313
|
+
</xsd:simpleType>
|
314
|
+
</xsd:element>
|
315
|
+
<xsd:element name="VariationTheme" minOccurs="0">
|
316
|
+
<xsd:simpleType>
|
317
|
+
<xsd:restriction base="xsd:string">
|
318
|
+
<xsd:enumeration value="Color"/>
|
319
|
+
<xsd:enumeration value="PaperSize"/>
|
320
|
+
<xsd:enumeration value="Color-PaperSize"/>
|
321
|
+
<xsd:enumeration value="MaximumExpandableSize"/>
|
322
|
+
</xsd:restriction>
|
323
|
+
</xsd:simpleType>
|
324
|
+
</xsd:element>
|
325
|
+
</xsd:sequence>
|
326
|
+
</xsd:complexType>
|
327
|
+
</xsd:element>
|
328
|
+
<xsd:element name="ColorSpecification" minOccurs="0">
|
329
|
+
<xsd:complexType>
|
330
|
+
<xsd:sequence>
|
331
|
+
<xsd:element name="Color" type="StringNotNull"/>
|
332
|
+
<xsd:element name="ColorMap" type="StringNotNull"/>
|
333
|
+
</xsd:sequence>
|
334
|
+
</xsd:complexType>
|
335
|
+
</xsd:element>
|
336
|
+
<xsd:element name="ItemPackageQuantity" type="xsd:positiveInteger" default="1" minOccurs="0"/>
|
337
|
+
<xsd:element name="NumberOfItems" type="xsd:positiveInteger" minOccurs="0"/>
|
338
|
+
<xsd:element name="DisplayLength" type="LengthDimension" minOccurs="0"/>
|
339
|
+
<xsd:element name="DisplayWeight" type="WeightDimension" minOccurs="0"/>
|
340
|
+
<xsd:element name="DisplayVolume" type="VolumeDimension" minOccurs="0"/>
|
341
|
+
<xsd:element name="UnitCount" minOccurs="0">
|
342
|
+
<xsd:complexType>
|
343
|
+
<xsd:simpleContent>
|
344
|
+
<xsd:extension base="xsd:positiveInteger">
|
345
|
+
<xsd:attribute name="unitOfMeasure" type="StringNotNull" use="required"/>
|
346
|
+
</xsd:extension>
|
347
|
+
</xsd:simpleContent>
|
348
|
+
</xsd:complexType>
|
349
|
+
</xsd:element>
|
350
|
+
<xsd:element name="RecycledContentPercentage" type="PercentageType" minOccurs="0"/>
|
351
|
+
<xsd:element name="PreConsumerRecycledContent" type="PercentageType" minOccurs="0"/>
|
352
|
+
<xsd:element name="PostConsumerRecycledContent" type="PercentageType" minOccurs="0"/>
|
353
|
+
<xsd:element name="Diameter" type="LengthDimension" minOccurs="0"/>
|
354
|
+
<xsd:element name="MaximumExpandableSize" type="LengthDimension" minOccurs="0"/>
|
355
|
+
<xsd:element name="CoreDiameter" type="LengthDimension" minOccurs="0"/>
|
356
|
+
<xsd:element name="NumberOfFasteners" type="xsd:positiveInteger" minOccurs="0"/>
|
357
|
+
<xsd:element name="FastenerCapacity" type="LengthDimension" minOccurs="0"/>
|
358
|
+
<xsd:element name="Binding" type="BindingType" minOccurs="0"/>
|
359
|
+
<xsd:element name="BindingLocation" type="String" minOccurs="0"/>
|
360
|
+
<xsd:element name="ClosureType" type="String" minOccurs="0"/>
|
361
|
+
<xsd:element name="NumberOfHoles" type="xsd:positiveInteger" minOccurs="0"/>
|
362
|
+
<xsd:element name="CoverMaterial" type="String" minOccurs="0"/>
|
363
|
+
<xsd:element name="TabCutType" type="String" minOccurs="0"/>
|
364
|
+
<xsd:element name="TabPosition" type="String" minOccurs="0"/>
|
365
|
+
<xsd:element name="IsPrePrinted" type="xsd:boolean" minOccurs="0"/>
|
366
|
+
<xsd:element name="CoatingDescription" type="TwoFiftyStringNotNull" minOccurs="0"/>
|
367
|
+
<xsd:element name="PaperCornerType" type="String" minOccurs="0"/>
|
368
|
+
<xsd:element name="PaperFinish" type="StringNotNull" minOccurs="0"/>
|
369
|
+
<xsd:element name="PaperSize" type="StringNotNull" minOccurs="0"/>
|
370
|
+
<xsd:element name="BrightnessRating" type="IntegerPercentageType" minOccurs="0"/>
|
371
|
+
<xsd:element name="SpecialFeatures" type="StringNotNull" minOccurs="0"/>
|
372
|
+
</xsd:sequence>
|
373
|
+
</xsd:complexType>
|
374
|
+
</xsd:element>
|
375
|
+
<!--
|
376
|
+
###############################################################
|
377
|
+
# WritingInstruments Classification Data
|
378
|
+
###############################################################
|
379
|
+
-->
|
380
|
+
<xsd:element name="WritingInstruments">
|
381
|
+
<xsd:complexType>
|
382
|
+
<xsd:sequence>
|
383
|
+
<xsd:element name="VariationData" minOccurs="0">
|
384
|
+
<xsd:complexType>
|
385
|
+
<xsd:sequence>
|
386
|
+
<xsd:element name="Parentage">
|
387
|
+
<xsd:simpleType>
|
388
|
+
<xsd:restriction base="xsd:string">
|
389
|
+
<xsd:enumeration value="parent"/>
|
390
|
+
<xsd:enumeration value="child"/>
|
391
|
+
</xsd:restriction>
|
392
|
+
</xsd:simpleType>
|
393
|
+
</xsd:element>
|
394
|
+
<xsd:element name="VariationTheme" minOccurs="0">
|
395
|
+
<xsd:simpleType>
|
396
|
+
<xsd:restriction base="xsd:string">
|
397
|
+
<xsd:enumeration value="Color"/>
|
398
|
+
<xsd:enumeration value="LineSize"/>
|
399
|
+
</xsd:restriction>
|
400
|
+
</xsd:simpleType>
|
401
|
+
</xsd:element>
|
402
|
+
</xsd:sequence>
|
403
|
+
</xsd:complexType>
|
404
|
+
</xsd:element>
|
405
|
+
<xsd:element name="ColorSpecification" minOccurs="0">
|
406
|
+
<xsd:complexType>
|
407
|
+
<xsd:sequence>
|
408
|
+
<xsd:element name="Color" type="StringNotNull"/>
|
409
|
+
<xsd:element name="ColorMap" type="StringNotNull"/>
|
410
|
+
</xsd:sequence>
|
411
|
+
</xsd:complexType>
|
412
|
+
</xsd:element>
|
413
|
+
<xsd:element name="ItemPackageQuantity" type="xsd:positiveInteger" default="1" minOccurs="0"/>
|
414
|
+
<xsd:element name="NumberOfItems" type="xsd:positiveInteger" minOccurs="0"/>
|
415
|
+
<xsd:element name="DisplayLength" type="LengthDimension" minOccurs="0"/>
|
416
|
+
<xsd:element name="DisplayWeight" type="WeightDimension" minOccurs="0"/>
|
417
|
+
<xsd:element name="DisplayVolume" type="VolumeDimension" minOccurs="0"/>
|
418
|
+
<xsd:element name="UnitCount" minOccurs="0">
|
419
|
+
<xsd:complexType>
|
420
|
+
<xsd:simpleContent>
|
421
|
+
<xsd:extension base="xsd:positiveInteger">
|
422
|
+
<xsd:attribute name="unitOfMeasure" type="StringNotNull" use="required"/>
|
423
|
+
</xsd:extension>
|
424
|
+
</xsd:simpleContent>
|
425
|
+
</xsd:complexType>
|
426
|
+
</xsd:element>
|
427
|
+
<xsd:element name="RecycledContentPercentage" type="PercentageType" minOccurs="0"/>
|
428
|
+
<xsd:element name="PreConsumerRecycledContent" type="PercentageType" minOccurs="0"/>
|
429
|
+
<xsd:element name="PostConsumerRecycledContent" type="PercentageType" minOccurs="0"/>
|
430
|
+
<xsd:element name="Diameter" type="LengthDimension" minOccurs="0"/>
|
431
|
+
<xsd:element name="InkColor" type="String" minOccurs="0" maxOccurs="20"/>
|
432
|
+
<xsd:element name="BallpointPenType" type="StringNotNull" minOccurs="0"/>
|
433
|
+
<xsd:element name="TipDescription" type="String" minOccurs="0" maxOccurs="20"/>
|
434
|
+
<xsd:element name="PencilLeadHardness" type="StringNotNull" minOccurs="0"/>
|
435
|
+
<xsd:element name="PointType" type="String" minOccurs="0"/>
|
436
|
+
<xsd:element name="LineSize" type="LengthDimension" minOccurs="0"/>
|
437
|
+
<xsd:element name="SpecialFeatures" type="StringNotNull" minOccurs="0"/>
|
438
|
+
</xsd:sequence>
|
439
|
+
</xsd:complexType>
|
440
|
+
</xsd:element>
|
441
|
+
<!--
|
442
|
+
##############################################################
|
443
|
+
# Office Data Types
|
444
|
+
##############################################################
|
445
|
+
-->
|
446
|
+
<xsd:simpleType name="PercentageType">
|
447
|
+
<xsd:restriction base="xsd:decimal">
|
448
|
+
<xsd:fractionDigits value="2"/>
|
449
|
+
<xsd:minExclusive value="0"/>
|
450
|
+
<xsd:maxInclusive value="100"/>
|
451
|
+
</xsd:restriction>
|
452
|
+
</xsd:simpleType>
|
453
|
+
<xsd:simpleType name="IntegerPercentageType">
|
454
|
+
<xsd:restriction base="xsd:positiveInteger">
|
455
|
+
<xsd:minInclusive value="1"/>
|
456
|
+
<xsd:maxInclusive value="100"/>
|
457
|
+
</xsd:restriction>
|
458
|
+
</xsd:simpleType>
|
459
|
+
<xsd:simpleType name="BallpointPenTypes">
|
460
|
+
<xsd:restriction base="xsd:string">
|
461
|
+
<xsd:enumeration value="Retractable"/>
|
462
|
+
<xsd:enumeration value="Stick"/>
|
463
|
+
</xsd:restriction>
|
464
|
+
</xsd:simpleType>
|
465
|
+
<xsd:simpleType name="PencilLeadHardnessType">
|
466
|
+
<xsd:restriction base="xsd:string">
|
467
|
+
<xsd:enumeration value="6B"/>
|
468
|
+
<xsd:enumeration value="4B"/>
|
469
|
+
<xsd:enumeration value="2B"/>
|
470
|
+
<xsd:enumeration value="B"/>
|
471
|
+
<xsd:enumeration value="HB"/>
|
472
|
+
<xsd:enumeration value="F"/>
|
473
|
+
<xsd:enumeration value="H"/>
|
474
|
+
<xsd:enumeration value="2H"/>
|
475
|
+
</xsd:restriction>
|
476
|
+
</xsd:simpleType>
|
477
|
+
<xsd:simpleType name="PaperFinishType">
|
478
|
+
<xsd:restriction base="xsd:string">
|
479
|
+
<xsd:enumeration value="coated"/>
|
480
|
+
<xsd:enumeration value="embossed"/>
|
481
|
+
<xsd:enumeration value="glossy"/>
|
482
|
+
<xsd:enumeration value="high_gloss"/>
|
483
|
+
<xsd:enumeration value="matte"/>
|
484
|
+
<xsd:enumeration value="metallic"/>
|
485
|
+
<xsd:enumeration value="satin"/>
|
486
|
+
<xsd:enumeration value="semi-gloss"/>
|
487
|
+
<xsd:enumeration value="smooth"/>
|
488
|
+
<xsd:enumeration value="soft_gloss"/>
|
489
|
+
<xsd:enumeration value="specially_coated"/>
|
490
|
+
<xsd:enumeration value="texture_laid"/>
|
491
|
+
<xsd:enumeration value="tracing"/>
|
492
|
+
<xsd:enumeration value="translucent"/>
|
493
|
+
<xsd:enumeration value="ultra_smooth"/>
|
494
|
+
<xsd:enumeration value="uncoated"/>
|
495
|
+
<xsd:enumeration value="watercolor"/>
|
496
|
+
<xsd:enumeration value="wove"/>
|
497
|
+
</xsd:restriction>
|
498
|
+
</xsd:simpleType>
|
499
|
+
<xsd:simpleType name="OfficeSpecialFeatures">
|
500
|
+
<xsd:restriction base="xsd:string">
|
501
|
+
<xsd:enumeration value="refillable"/>
|
502
|
+
</xsd:restriction>
|
503
|
+
</xsd:simpleType>
|
504
|
+
<xsd:simpleType name="BindingType">
|
505
|
+
<xsd:restriction base="xsd:string">
|
506
|
+
<xsd:enumeration value="perfect"/>
|
507
|
+
<xsd:enumeration value="saddle_stitch"/>
|
508
|
+
<xsd:enumeration value="side_stitch"/>
|
509
|
+
<xsd:enumeration value="case"/>
|
510
|
+
<xsd:enumeration value="plastic_comb"/>
|
511
|
+
<xsd:enumeration value="three_ring"/>
|
512
|
+
</xsd:restriction>
|
513
|
+
</xsd:simpleType>
|
514
|
+
<xsd:simpleType name="PaperSizeType">
|
515
|
+
<xsd:restriction base="xsd:string">
|
516
|
+
<xsd:enumeration value="A0"/>
|
517
|
+
<xsd:enumeration value="A1"/>
|
518
|
+
<xsd:enumeration value="A2"/>
|
519
|
+
<xsd:enumeration value="A3"/>
|
520
|
+
<xsd:enumeration value="A4"/>
|
521
|
+
<xsd:enumeration value="A5"/>
|
522
|
+
<xsd:enumeration value="A6"/>
|
523
|
+
<xsd:enumeration value="A7"/>
|
524
|
+
<xsd:enumeration value="A8"/>
|
525
|
+
<xsd:enumeration value="A9"/>
|
526
|
+
<xsd:enumeration value="A10"/>
|
527
|
+
<xsd:enumeration value="33.125-x-46.25-inch"/>
|
528
|
+
<xsd:enumeration value="23.375-x-33.125-inch"/>
|
529
|
+
<xsd:enumeration value="16.5-x-23.375-inch"/>
|
530
|
+
<xsd:enumeration value="11.75-x-16.5-inch"/>
|
531
|
+
<xsd:enumeration value="8.25-x-11.75-inch"/>
|
532
|
+
<xsd:enumeration value="5.875-x-8.25-inch"/>
|
533
|
+
<xsd:enumeration value="4.125-x-5.875-inch"/>
|
534
|
+
<xsd:enumeration value="2.875-x-4.125-inch"/>
|
535
|
+
<xsd:enumeration value="2-x-2.875-inch"/>
|
536
|
+
<xsd:enumeration value="1.5-x-2-inch"/>
|
537
|
+
<xsd:enumeration value="1-x-1.5-inch"/>
|
538
|
+
<xsd:enumeration value="2-x-3-inch"/>
|
539
|
+
<xsd:enumeration value="3-x-5-inch"/>
|
540
|
+
<xsd:enumeration value="4.125-x-5.83-inch"/>
|
541
|
+
<xsd:enumeration value="5-x-8-inch"/>
|
542
|
+
<xsd:enumeration value="8.5-x-11-inch"/>
|
543
|
+
<xsd:enumeration value="8.5-x-14-inch"/>
|
544
|
+
<xsd:enumeration value="11-x-17-inch"/>
|
545
|
+
<xsd:enumeration value="17-x-22-inch"/>
|
546
|
+
<xsd:enumeration value="22-x-34-inch"/>
|
547
|
+
<xsd:enumeration value="34-x-44-inch"/>
|
548
|
+
</xsd:restriction>
|
549
|
+
</xsd:simpleType>
|
550
|
+
</xsd:schema>
|