amazon-mws 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) hide show
  1. data/.gitignore +1 -0
  2. data/README.markdown +31 -0
  3. data/Rakefile +14 -0
  4. data/VERSION +1 -0
  5. data/amazon-mws.gemspec +164 -0
  6. data/examples/xml/cancel_feed_submissions.xml +16 -0
  7. data/examples/xml/cancel_report_requests.xml +18 -0
  8. data/examples/xml/error.xml +10 -0
  9. data/examples/xml/get_feed_submission_count.xml +10 -0
  10. data/examples/xml/get_feed_submission_list.xml +16 -0
  11. data/examples/xml/get_feed_submission_list_by_next_token.xml +16 -0
  12. data/examples/xml/get_feed_submission_result.xml +30 -0
  13. data/examples/xml/get_report_count.xml +9 -0
  14. data/examples/xml/get_report_list.xml +17 -0
  15. data/examples/xml/get_report_request_count.xml +8 -0
  16. data/examples/xml/get_report_request_list.xml +120 -0
  17. data/examples/xml/get_report_request_list_by_next_token.xml +20 -0
  18. data/examples/xml/get_report_schedule_count.xml +10 -0
  19. data/examples/xml/get_report_schedule_list.xml +15 -0
  20. data/examples/xml/get_report_schedule_list_by_next_token.xml +15 -0
  21. data/examples/xml/manage_report_schedule.xml +14 -0
  22. data/examples/xml/request_report.xml +17 -0
  23. data/examples/xml/submit_feed.xml +14 -0
  24. data/examples/xml/update_report_acknowledgements.xml +18 -0
  25. data/examples/xsd/Inventory.xsd +49 -0
  26. data/examples/xsd/Item.xsd +285 -0
  27. data/examples/xsd/Listings.xsd +32 -0
  28. data/examples/xsd/OrderAcknowledgement.xsd +55 -0
  29. data/examples/xsd/OrderAdjustment.xsd +94 -0
  30. data/examples/xsd/OrderFulfillment.xsd +57 -0
  31. data/examples/xsd/Override.xsd +48 -0
  32. data/examples/xsd/Price.xsd +59 -0
  33. data/examples/xsd/ProcessingReport.xsd +87 -0
  34. data/examples/xsd/Product.xsd +220 -0
  35. data/examples/xsd/Product/AutoAccessory.xsd +807 -0
  36. data/examples/xsd/Product/Beauty.xsd +114 -0
  37. data/examples/xsd/Product/CE.xsd +544 -0
  38. data/examples/xsd/Product/CameraPhoto.xsd +2410 -0
  39. data/examples/xsd/Product/FoodAndBeverages.xsd +270 -0
  40. data/examples/xsd/Product/Gourmet.xsd +85 -0
  41. data/examples/xsd/Product/Health.xsd +189 -0
  42. data/examples/xsd/Product/Home.xsd +654 -0
  43. data/examples/xsd/Product/Jewelry.xsd +603 -0
  44. data/examples/xsd/Product/Miscellaneous.xsd +157 -0
  45. data/examples/xsd/Product/MusicalInstruments.xsd +853 -0
  46. data/examples/xsd/Product/Office.xsd +550 -0
  47. data/examples/xsd/Product/PetSupplies.xsd +40 -0
  48. data/examples/xsd/Product/ProductClothing.xsd +197 -0
  49. data/examples/xsd/Product/SWVG.xsd +238 -0
  50. data/examples/xsd/Product/Sports.xsd +308 -0
  51. data/examples/xsd/Product/TiresAndWheels.xsd +159 -0
  52. data/examples/xsd/Product/Tools.xsd +66 -0
  53. data/examples/xsd/Product/ToysBaby.xsd +241 -0
  54. data/examples/xsd/Product/Wireless.xsd +77 -0
  55. data/examples/xsd/ProductImage.xsd +39 -0
  56. data/examples/xsd/Relationship.xsd +47 -0
  57. data/examples/xsd/SettlementReport.xsd +158 -0
  58. data/examples/xsd/amzn-base.xsd +1601 -0
  59. data/examples/xsd/amzn-envelope.xsd +98 -0
  60. data/examples/xsd/amzn-header.xsd +45 -0
  61. data/lib/amazon/mws.rb +86 -0
  62. data/lib/amazon/mws/authentication.rb +9 -0
  63. data/lib/amazon/mws/authentication/query_string.rb +28 -0
  64. data/lib/amazon/mws/authentication/signature.rb +43 -0
  65. data/lib/amazon/mws/base.rb +61 -0
  66. data/lib/amazon/mws/connection.rb +99 -0
  67. data/lib/amazon/mws/connection/management.rb +94 -0
  68. data/lib/amazon/mws/connection/request_builder.rb +67 -0
  69. data/lib/amazon/mws/exceptions.rb +80 -0
  70. data/lib/amazon/mws/feed.rb +223 -0
  71. data/lib/amazon/mws/feed_builder.rb +67 -0
  72. data/lib/amazon/mws/feed_enumerations.rb +46 -0
  73. data/lib/amazon/mws/feed_submission.rb +14 -0
  74. data/lib/amazon/mws/lib/extensions.rb +162 -0
  75. data/lib/amazon/mws/lib/memoizable.rb +10 -0
  76. data/lib/amazon/mws/orders.rb +9 -0
  77. data/lib/amazon/mws/report.rb +310 -0
  78. data/lib/amazon/mws/report_enumerations.rb +44 -0
  79. data/lib/amazon/mws/report_info.rb +16 -0
  80. data/lib/amazon/mws/report_request.rb +19 -0
  81. data/lib/amazon/mws/report_schedule.rb +13 -0
  82. data/lib/amazon/mws/response.rb +32 -0
  83. data/lib/amazon/mws/response/cancel_feed_submissions_response.rb +14 -0
  84. data/lib/amazon/mws/response/cancel_report_requests_response.rb +14 -0
  85. data/lib/amazon/mws/response/get_feed_submission_count_response.rb +13 -0
  86. data/lib/amazon/mws/response/get_feed_submission_list_by_next_token_response.rb +15 -0
  87. data/lib/amazon/mws/response/get_feed_submission_list_response.rb +15 -0
  88. data/lib/amazon/mws/response/get_feed_submission_result_response.rb +54 -0
  89. data/lib/amazon/mws/response/get_report_count_response.rb +13 -0
  90. data/lib/amazon/mws/response/get_report_list_response.rb +15 -0
  91. data/lib/amazon/mws/response/get_report_request_count_response.rb +13 -0
  92. data/lib/amazon/mws/response/get_report_request_list_by_next_token_response.rb +15 -0
  93. data/lib/amazon/mws/response/get_report_request_list_response.rb +15 -0
  94. data/lib/amazon/mws/response/get_report_schedule_count_response.rb +13 -0
  95. data/lib/amazon/mws/response/get_report_schedule_list_by_next_token_response.rb +15 -0
  96. data/lib/amazon/mws/response/get_report_schedule_list_response.rb +15 -0
  97. data/lib/amazon/mws/response/manage_report_schedule_response.rb +14 -0
  98. data/lib/amazon/mws/response/request_report_response.rb +14 -0
  99. data/lib/amazon/mws/response/response_error.rb +15 -0
  100. data/lib/amazon/mws/response/submit_feed_response.rb +13 -0
  101. data/lib/amazon/mws/response/update_reports_acknowledgements_response.rb +14 -0
  102. data/lib/amazon/mws/version.rb +12 -0
  103. data/pkg/amazon-mws-0.1.0.gem +0 -0
  104. data/test/authentication_test.rb +15 -0
  105. data/test/connection_test.rb +5 -0
  106. data/test/feed_builder_test.rb +15 -0
  107. data/test/feed_submission_test.rb +32 -0
  108. data/test/feed_test.rb +64 -0
  109. data/test/query_string_test.rb +21 -0
  110. data/test/report_test.rb +29 -0
  111. data/test/request_test.rb +18 -0
  112. data/test/response_test.rb +197 -0
  113. data/test/signature_test.rb +30 -0
  114. data/test/test_config.yml +5 -0
  115. data/test/test_helper.rb +22 -0
  116. metadata +179 -0
@@ -0,0 +1,20 @@
1
+ <?xml version="1.0"?>
2
+ <GetReportRequestListByNextTokenResponse xmlns="http://mws.amazonaws.com/doc/2009-01-01/">
3
+ <GetReportRequestListByNextTokenResult>
4
+ <NextToken>none</NextToken>
5
+ <HasNext>false</HasNext>
6
+ <ReportRequestInfo>
7
+ <ReportRequestId>2291326454</ReportRequestId>
8
+ <ReportType>_GET_MERCHANT_LISTINGS_DATA_</ReportType>
9
+ <StartDate>2009-01-21T02:10:39+00:00</StartDate>
10
+ <EndDate>2009-02-13T02:10:39+00:00</EndDate>
11
+ <Scheduled>false</Scheduled>
12
+ <SubmittedDate>2009-02-20T02:10:39+00:00</SubmittedDate>
13
+ <ReportProcessingStatus>_SUBMITTED_
14
+ </ReportProcessingStatus>
15
+ </ReportRequestInfo>
16
+ </GetReportRequestListByNextTokenResult>
17
+ <ResponseMetadata>
18
+ <RequestId>732480cb-84a8-4c15-9084-a46bd9a0889b</RequestId>
19
+ </ResponseMetadata>
20
+ </GetReportRequestListByNextTokenResponse>
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0"?>
2
+ <GetReportScheduleCountResponse
3
+ xmlns="http://mws.amazonaws.com/doc/2009-01-01/">
4
+ <GetReportScheduleCountResult>
5
+ <Count>18</Count>
6
+ </GetReportScheduleCountResult>
7
+ <ResponseMetadata>
8
+ <RequestId>21e482a8-15c7-4da3-91a4-424995ed0756</RequestId>
9
+ </ResponseMetadata>
10
+ </GetReportScheduleCountResponse>
@@ -0,0 +1,15 @@
1
+ <?xml version="1.0"?>
2
+ <GetReportScheduleListResponse xmlns="http://mws.amazonaws.com/doc/2009-01-01/">
3
+ <GetReportScheduleListResult>
4
+ <NextToken>4XgYW55IPQhcm5hbCBwbGVhc3VyZS4=</NextToken>
5
+ <HasNext>true</HasNext>
6
+ <ReportSchedule>
7
+ <ReportType>_GET_ORDERS_DATA_</ReportType>
8
+ <Schedule>_30_DAYS_</Schedule>
9
+ <ScheduledDate>2009-02-20T02:10:42+00:00</ScheduledDate>
10
+ </ReportSchedule>
11
+ </GetReportScheduleListResult>
12
+ <ResponseMetadata>
13
+ <RequestId>c0464157-b74f-4e52-bd1a-4ebf4bc7e5aa</RequestId>
14
+ </ResponseMetadata>
15
+ </GetReportScheduleListResponse>
@@ -0,0 +1,15 @@
1
+ <?xml version="1.0"?>
2
+ <GetReportScheduleListByNextTokenResponse xmlns="http://mws.amazonaws.com/doc/2009-01-01/">
3
+ <GetReportScheduleListByNextTokenResult>
4
+ <NextToken>none</NextToken>
5
+ <HasNext>false</HasNext>
6
+ <ReportSchedule>
7
+ <ReportType>_GET_ORDERS_DATA_</ReportType>
8
+ <Schedule>_30_DAYS_</Schedule>
9
+ <ScheduledDate>2009-02-20T02:10:42+00:00</ScheduledDate>
10
+ </ReportSchedule>
11
+ </GetReportScheduleListByNextTokenResult>
12
+ <ResponseMetadata>
13
+ <RequestId>c0464157-b74f-4e52-bd1a-4ebf4bc7e5aa</RequestId>
14
+ </ResponseMetadata>
15
+ </GetReportScheduleListByNextTokenResponse>
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0"?>
2
+ <ManageReportScheduleResponse xmlns="http://mws.amazonaws.com/doc/2009-01-01/">
3
+ <ManageReportScheduleResult>
4
+ <Count>1</Count>
5
+ <ReportSchedule>
6
+ <ReportType>_GET_ORDERS_DATA_</ReportType>
7
+ <Schedule>_30_DAYS_</Schedule>
8
+ <ScheduledDate>2009-02-20T02:10:42+00:00</ScheduledDate>
9
+ </ReportSchedule>
10
+ </ManageReportScheduleResult>
11
+ <ResponseMetadata>
12
+ <RequestId>7ee1bc50-5a13-4db1-afd7-1386e481984e</RequestId>
13
+ </ResponseMetadata>
14
+ </ManageReportScheduleResponse>
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0"?>
2
+ <RequestReportResponse xmlns="http://mws.amazonaws.com/doc/2009-01-01/">
3
+ <RequestReportResult>
4
+ <ReportRequestInfo>
5
+ <ReportRequestId>2291326454</ReportRequestId>
6
+ <ReportType>_GET_MERCHANT_LISTINGS_DATA_</ReportType>
7
+ <StartDate>2009-01-21T02:10:39+00:00</StartDate>
8
+ <EndDate>2009-02-13T02:10:39+00:00</EndDate>
9
+ <Scheduled>false</Scheduled>
10
+ <SubmittedDate>2009-02-20T02:10:39+00:00</SubmittedDate>
11
+ <ReportProcessingStatus>_SUBMITTED_</ReportProcessingStatus>
12
+ </ReportRequestInfo>
13
+ </RequestReportResult>
14
+ <ResponseMetadata>
15
+ <RequestId>88faca76-b600-46d2-b53c-0c8c4533e43a</RequestId>
16
+ </ResponseMetadata>
17
+ </RequestReportResponse>
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0"?>
2
+ <SubmitFeedResponse xmlns="http://mws.amazonaws.com/doc/2009-01-01/">
3
+ <SubmitFeedResult>
4
+ <FeedSubmissionInfo>
5
+ <FeedSubmissionId>2291326430</FeedSubmissionId>
6
+ <FeedType>_POST_PRODUCT_DATA_</FeedType>
7
+ <SubmittedDate>2009-02-20T02:10:35+00:00</SubmittedDate>
8
+ <FeedProcessingStatus>_SUBMITTED_</FeedProcessingStatus>
9
+ </FeedSubmissionInfo>
10
+ </SubmitFeedResult>
11
+ <ResponseMetadata>
12
+ <RequestId>75424a38-f333-4105-98f0-2aa9592d665c</RequestId>
13
+ </ResponseMetadata>
14
+ </SubmitFeedResponse>
@@ -0,0 +1,18 @@
1
+ <?xml version="1.0"?>
2
+ <UpdateReportAcknowledgementsResponse
3
+ xmlns="http://mws.amazonaws.com/doc/2009-01-01/">
4
+ <UpdateReportAcknowledgementsResult>
5
+ <Count>1</Count>
6
+ <ReportInfo>
7
+ <ReportId>841997483</ReportId>
8
+ <ReportType>_GET_MERCHANT_LISTINGS_DATA_</ReportType>
9
+ <ReportRequestId>2234038326</ReportRequestId>
10
+ <AvailableDate>2009-01-06T03:48:36+00:00</AvailableDate>
11
+ <Acknowledged>true</Acknowledged>
12
+ <AcknowledgedDate>2009-02-20T02:10:41+00:00</AcknowledgedDate>
13
+ </ReportInfo>
14
+ </UpdateReportAcknowledgementsResult>
15
+ <ResponseMetadata>
16
+ <RequestId>42a578a7-ed92-486b-ac67-5de7464fcdfa</RequestId>
17
+ </ResponseMetadata>
18
+ </UpdateReportAcknowledgementsResponse>
@@ -0,0 +1,49 @@
1
+ <?xml version="1.0"?>
2
+ <!-- Revision="$Revision: #3 $" -->
3
+ <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
4
+ <!--
5
+ $Date: 2006/11/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="Inventory">
15
+ <xsd:complexType>
16
+ <xsd:sequence>
17
+ <xsd:element ref="SKU"/>
18
+ <xsd:element ref="FulfillmentCenterID" minOccurs="0"/>
19
+ <xsd:choice>
20
+ <xsd:element name="Available" type="xsd:boolean"/>
21
+ <xsd:element name="Quantity" type="xsd:nonNegativeInteger"/>
22
+ <xsd:element name="Lookup">
23
+ <xsd:simpleType>
24
+ <xsd:restriction base="xsd:string">
25
+ <xsd:enumeration value="FulfillmentNetwork"/>
26
+ </xsd:restriction>
27
+ </xsd:simpleType>
28
+ </xsd:element>
29
+ </xsd:choice>
30
+ <xsd:element name="RestockDate" type="xsd:date" minOccurs="0"/>
31
+ <xsd:element name="FulfillmentLatency" type="xsd:positiveInteger" minOccurs="0"/>
32
+ <xsd:element name="SwitchFulfillmentTo" minOccurs="0">
33
+ <!-- Use this element if you are switching the
34
+ fulfillment method for your item.
35
+ If you are switching from AFN to MFN, use "MFN"
36
+ If you are switching from MFN to AFN, use "AFN"
37
+ -->
38
+ <xsd:simpleType>
39
+ <xsd:restriction base="xsd:string">
40
+ <xsd:enumeration value="MFN"/>
41
+ <xsd:enumeration value="AFN"/>
42
+ </xsd:restriction>
43
+ </xsd:simpleType>
44
+ </xsd:element>
45
+ </xsd:sequence>
46
+ </xsd:complexType>
47
+ </xsd:element>
48
+ </xsd:schema>
49
+
@@ -0,0 +1,285 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Revision="$Revision: #6 $" -->
3
+ <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
4
+ <!-- Include the data type primitives -->
5
+ <xsd:include schemaLocation="TypeDefinitions.xsd"/>
6
+ <xsd:include schemaLocation="ProductAttributes.xsd"/>
7
+ <xsd:include schemaLocation="AttributeGroups.xsd"/>
8
+ <!-- Start of the item schema -->
9
+ <xsd:element name="Item">
10
+ <xsd:complexType>
11
+ <xsd:sequence>
12
+ <xsd:element name="sku">
13
+ <xsd:complexType>
14
+ <xsd:sequence>
15
+ <xsd:element name="value" type="ItemFortyStringNotNull"/>
16
+ </xsd:sequence>
17
+ </xsd:complexType>
18
+ </xsd:element>
19
+ <xsd:element name="product_type_name" type="StringValue" minOccurs="0"/>
20
+ <xsd:element name="MarketplaceData" minOccurs="0" maxOccurs="unbounded">
21
+ <xsd:complexType>
22
+ <xsd:all>
23
+ <xsd:element name="contribution_margin" type="PriceUnitValue" minOccurs="0"/>
24
+ <xsd:element name="discontinue_date" type="DateValue" minOccurs="0"/>
25
+ <xsd:element name="free_shipping" type="BooleanValue" minOccurs="0"/>
26
+ <xsd:element name="launch_date" type="DateValue" minOccurs="0"/>
27
+ <xsd:element name="max_ordering_quantity" type="IntegerValue" minOccurs="0"/>
28
+ <xsd:element name="msrp" type="PriceUnitValue" minOccurs="0"/>
29
+ <xsd:element name="offering_can_ship_in_original_container" type="BooleanValue" minOccurs="0"/>
30
+ <xsd:element name="release_date" type="DateValue" minOccurs="0"/>
31
+ </xsd:all>
32
+ <xsd:attribute name="market_name" type="ItemStringNotNull" use="required"/>
33
+ </xsd:complexType>
34
+ </xsd:element>
35
+ <xsd:element name="DescriptionData" minOccurs="0">
36
+ <xsd:complexType>
37
+ <xsd:sequence>
38
+ <xsd:element name="brand_name" type="StringValue" minOccurs="0"/>
39
+ <xsd:element name="bullet_point" minOccurs="0">
40
+ <xsd:complexType>
41
+ <xsd:sequence>
42
+ <xsd:element name="value" type="ItemLongStringNotNull" minOccurs="0" maxOccurs="30"/>
43
+ </xsd:sequence>
44
+ <xsd:attribute name="language" type="LanguageType" use="optional"/>
45
+ <xsd:attribute name="delete" type="BooleanType" use="optional"/>
46
+ </xsd:complexType>
47
+ </xsd:element>
48
+ <xsd:element name="can_be_giftmessaged" type="BooleanValue" minOccurs="0"/>
49
+ <xsd:element name="can_be_giftwrapped" type="BooleanValue" minOccurs="0"/>
50
+ <xsd:element name="ean" minOccurs="0">
51
+ <xsd:complexType>
52
+ <xsd:sequence>
53
+ <xsd:element name="value" type="StandardIdString" maxOccurs="unbounded"/>
54
+ </xsd:sequence>
55
+ <xsd:attribute name="delete" type="BooleanType" use="optional"/>
56
+ </xsd:complexType>
57
+ </xsd:element>
58
+ <xsd:element name="ean8" minOccurs="0">
59
+ <xsd:complexType>
60
+ <xsd:sequence>
61
+ <xsd:element name="value" maxOccurs="unbounded">
62
+ <xsd:simpleType>
63
+ <xsd:restriction base="xsd:normalizedString">
64
+ <xsd:minLength value="8"/>
65
+ <xsd:maxLength value="8"/>
66
+ </xsd:restriction>
67
+ </xsd:simpleType>
68
+ </xsd:element>
69
+ </xsd:sequence>
70
+ <xsd:attribute name="delete" type="BooleanType" use="optional"/>
71
+ </xsd:complexType>
72
+ </xsd:element>
73
+ <xsd:element name="gtin" minOccurs="0">
74
+ <xsd:complexType>
75
+ <xsd:sequence>
76
+ <xsd:element name="value" maxOccurs="unbounded">
77
+ <xsd:simpleType>
78
+ <xsd:restriction base="xsd:normalizedString">
79
+ <xsd:minLength value="14"/>
80
+ <xsd:maxLength value="14"/>
81
+ </xsd:restriction>
82
+ </xsd:simpleType>
83
+ </xsd:element>
84
+ </xsd:sequence>
85
+ <xsd:attribute name="delete" type="BooleanType" use="optional"/>
86
+ </xsd:complexType>
87
+ </xsd:element>
88
+ <xsd:element name="isbn" minOccurs="0">
89
+ <xsd:complexType>
90
+ <xsd:sequence>
91
+ <xsd:element name="value">
92
+ <xsd:simpleType>
93
+ <xsd:restriction base="xsd:normalizedString">
94
+ <xsd:minLength value="10"/>
95
+ <xsd:maxLength value="13"/>
96
+ </xsd:restriction>
97
+ </xsd:simpleType>
98
+ </xsd:element>
99
+ </xsd:sequence>
100
+ <xsd:attribute name="delete" type="BooleanType" use="optional"/>
101
+ </xsd:complexType>
102
+ </xsd:element>
103
+ <xsd:element name="ItemDimensions" minOccurs="0">
104
+ <xsd:complexType>
105
+ <xsd:sequence>
106
+ <xsd:element name="item_height" type="DimensionValue"/>
107
+ <xsd:element name="item_length" type="DimensionValue"/>
108
+ <xsd:element name="item_width" type="DimensionValue"/>
109
+ </xsd:sequence>
110
+ </xsd:complexType>
111
+ </xsd:element>
112
+ <xsd:element name="item_name" minOccurs="0" maxOccurs="unbounded">
113
+ <xsd:complexType>
114
+ <xsd:sequence>
115
+ <xsd:element name="value" type="ItemLongStringNotNull" minOccurs="0"/>
116
+ </xsd:sequence>
117
+ <xsd:attribute name="language" type="LanguageType" use="optional"/>
118
+ <xsd:attribute name="delete" type="BooleanType" use="optional"/>
119
+ </xsd:complexType>
120
+ </xsd:element>
121
+ <xsd:element name="item_weight" type="WeightValue" minOccurs="0"/>
122
+ <xsd:element name="manufacturer" type="LongStringValue" minOccurs="0"/>
123
+ <xsd:element name="offering_condition" minOccurs="0">
124
+ <xsd:complexType>
125
+ <xsd:sequence>
126
+ <xsd:element name="value" minOccurs="0">
127
+ <xsd:simpleType>
128
+ <xsd:restriction base="xsd:normalizedString">
129
+ <xsd:enumeration value="New"/>
130
+ <xsd:enumeration value="Used"/>
131
+ <xsd:enumeration value="Collectible"/>
132
+ <xsd:enumeration value="Refurbished"/>
133
+ <xsd:enumeration value="Club"/>
134
+ </xsd:restriction>
135
+ </xsd:simpleType>
136
+ </xsd:element>
137
+ </xsd:sequence>
138
+ <xsd:attribute name="delete" type="BooleanType" use="optional"/>
139
+ </xsd:complexType>
140
+ </xsd:element>
141
+ <xsd:element name="offering_subcondition" minOccurs="0">
142
+ <xsd:complexType>
143
+ <xsd:sequence>
144
+ <xsd:element name="value" minOccurs="0">
145
+ <xsd:simpleType>
146
+ <xsd:restriction base="xsd:normalizedString">
147
+ <xsd:enumeration value="New"/>
148
+ <xsd:enumeration value="LikeNew"/>
149
+ <xsd:enumeration value="VeryGood"/>
150
+ <xsd:enumeration value="Good"/>
151
+ <xsd:enumeration value="Acceptable"/>
152
+ <xsd:enumeration value="Refurbished"/>
153
+ </xsd:restriction>
154
+ </xsd:simpleType>
155
+ </xsd:element>
156
+ </xsd:sequence>
157
+ <xsd:attribute name="delete" type="BooleanType" use="optional"/>
158
+ </xsd:complexType>
159
+ </xsd:element>
160
+ <xsd:element name="package_weight" type="WeightValue" minOccurs="0"/>
161
+ <xsd:element name="part_number" minOccurs="0">
162
+ <xsd:complexType>
163
+ <xsd:sequence>
164
+ <xsd:element name="value" type="ItemFortyStringNotNull" minOccurs="0"/>
165
+ </xsd:sequence>
166
+ <xsd:attribute name="delete" type="BooleanType" use="optional"/>
167
+ </xsd:complexType>
168
+ </xsd:element>
169
+ <xsd:element name="product_description" minOccurs="0" maxOccurs="unbounded">
170
+ <xsd:complexType>
171
+ <xsd:sequence>
172
+ <xsd:element name="value" minOccurs="0">
173
+ <xsd:simpleType>
174
+ <xsd:restriction base="xsd:normalizedString">
175
+ <xsd:minLength value="1"/>
176
+ <xsd:maxLength value="2000"/>
177
+ </xsd:restriction>
178
+ </xsd:simpleType>
179
+ </xsd:element>
180
+ </xsd:sequence>
181
+ <xsd:attribute name="language" type="LanguageType" use="optional"/>
182
+ <xsd:attribute name="delete" type="BooleanType" use="optional"/>
183
+ </xsd:complexType>
184
+ </xsd:element>
185
+ <xsd:element name="product_tax_code" type="StringValue" minOccurs="0"/>
186
+ <xsd:element name="upc" minOccurs="0">
187
+ <xsd:complexType>
188
+ <xsd:sequence>
189
+ <xsd:element name="value" type="StandardIdString" maxOccurs="unbounded"/>
190
+ </xsd:sequence>
191
+ <xsd:attribute name="delete" type="BooleanType" use="optional"/>
192
+ </xsd:complexType>
193
+ </xsd:element>
194
+ </xsd:sequence>
195
+ </xsd:complexType>
196
+ </xsd:element>
197
+ <xsd:element name="SearchAndBrowseData" minOccurs="0">
198
+ <xsd:complexType>
199
+ <xsd:all>
200
+ <xsd:element name="browse_suppressed" type="BooleanValue" minOccurs="0"/>
201
+ <xsd:element name="catalog_number" minOccurs="0">
202
+ <xsd:complexType>
203
+ <xsd:sequence>
204
+ <xsd:element name="value" type="ItemFortyStringNotNull" minOccurs="0"/>
205
+ </xsd:sequence>
206
+ <xsd:attribute name="delete" type="BooleanType" use="optional"/>
207
+ </xsd:complexType>
208
+ </xsd:element>
209
+ <xsd:element name="generic_keywords" minOccurs="0">
210
+ <xsd:complexType>
211
+ <xsd:sequence>
212
+ <xsd:element name="value" type="ItemStringNotNull" minOccurs="0" maxOccurs="5"/>
213
+ </xsd:sequence>
214
+ <xsd:attribute name="delete" type="BooleanType" use="optional"/>
215
+ </xsd:complexType>
216
+ </xsd:element>
217
+ <xsd:element name="item_type_keyword" minOccurs="0">
218
+ <xsd:complexType>
219
+ <xsd:sequence>
220
+ <xsd:element name="value" type="ItemLongStringNotNull" minOccurs="0"/>
221
+ </xsd:sequence>
222
+ <xsd:attribute name="delete" type="BooleanType" use="optional"/>
223
+ </xsd:complexType>
224
+ </xsd:element>
225
+ <xsd:element name="platinum_keywords" minOccurs="0">
226
+ <xsd:complexType>
227
+ <xsd:sequence>
228
+ <xsd:element name="value" type="ItemStringNotNull" minOccurs="0" maxOccurs="20"/>
229
+ </xsd:sequence>
230
+ <xsd:attribute name="delete" type="BooleanType" use="optional"/>
231
+ </xsd:complexType>
232
+ </xsd:element>
233
+ <xsd:element name="recommendation_suppressed" type="BooleanValue" minOccurs="0"/>
234
+ <xsd:element name="specific_uses_keywords" minOccurs="0">
235
+ <xsd:complexType>
236
+ <xsd:sequence>
237
+ <xsd:element name="value" type="ItemStringNotNull" minOccurs="0" maxOccurs="5"/>
238
+ </xsd:sequence>
239
+ <xsd:attribute name="delete" type="BooleanType" use="optional"/>
240
+ </xsd:complexType>
241
+ </xsd:element>
242
+ <xsd:element name="target_audience_keywords" minOccurs="0">
243
+ <xsd:complexType>
244
+ <xsd:sequence>
245
+ <xsd:element name="value" type="ItemStringNotNull" minOccurs="0" maxOccurs="3"/>
246
+ </xsd:sequence>
247
+ <xsd:attribute name="delete" type="BooleanType" use="optional"/>
248
+ </xsd:complexType>
249
+ </xsd:element>
250
+ <xsd:element name="thesaurus_attribute_keywords" minOccurs="0">
251
+ <xsd:complexType>
252
+ <xsd:sequence>
253
+ <xsd:element name="value" type="ItemStringNotNull" minOccurs="0" maxOccurs="5"/>
254
+ </xsd:sequence>
255
+ <xsd:attribute name="delete" type="BooleanType" use="optional"/>
256
+ </xsd:complexType>
257
+ </xsd:element>
258
+ <xsd:element name="thesaurus_subject_keywords" minOccurs="0">
259
+ <xsd:complexType>
260
+ <xsd:sequence>
261
+ <xsd:element name="value" type="ItemStringNotNull" minOccurs="0" maxOccurs="5"/>
262
+ </xsd:sequence>
263
+ <xsd:attribute name="delete" type="BooleanType" use="optional"/>
264
+ </xsd:complexType>
265
+ </xsd:element>
266
+ </xsd:all>
267
+ </xsd:complexType>
268
+ </xsd:element>
269
+ <xsd:element name="AdditionalData" minOccurs="0">
270
+ <xsd:complexType>
271
+ <xsd:sequence>
272
+ <xsd:any processContents="lax" maxOccurs="unbounded"/>
273
+ </xsd:sequence>
274
+ </xsd:complexType>
275
+ </xsd:element>
276
+ <!-- SKU and Product Type -->
277
+ <!-- Marketplace specific data -->
278
+ <!-- Core data about the item that is the same for all product types -->
279
+ <!-- Attributes used for indexing the data for search & browse -->
280
+ <!-- This group holds all of the product type specific attributes -->
281
+ </xsd:sequence>
282
+ </xsd:complexType>
283
+ </xsd:element>
284
+ </xsd:schema>
285
+