信封用于將所有其他數(shù)據(jù)與消息級(jí)協(xié)議數(shù)據(jù)包裝在一起。信封由一個(gè)標(biāo)題、一條或多條消息(每一條消息都包含特定的數(shù)據(jù)對(duì)象)組成。雖然一個(gè)信封可以包含多條消息,但是同一信封內(nèi)的每條消息的類型都必須與由消息類型元素指定的類型相同。
信封用于將所有其他數(shù)據(jù)與消息級(jí)協(xié)議數(shù)據(jù)包裝在一起。信封由一個(gè)標(biāo)題、一條或多條消息(每一條消息都包含特定的數(shù)據(jù)對(duì)象)組成。雖然一個(gè)信封可以包含多條消息,但是同一信封內(nèi)的每條消息的類型都必須與由消息類型元素指定的類型相同。
https://images-na.ssl-images-amazon.com/images/G/01/rainier/help/xsd/release_1_9/amzn-envelope.xsd
<?xml version="1.0" encoding="UTF-8"?>Envelope Schema
Description
The envelope is used to wrap all other data with message-level protocol data. The envelope consists of a header and one or more messages, each of which contains the specified data object. While an envelope may contain more than one message, each message in the same envelope must be of the same type, as specified by the message type element.
Dictionary
XSD
https://images-na.ssl-images-amazon.com/images/G/01/rainier/help/xsd/release_1_9/amzn-envelope.xsd
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified">
<xsd:include schemaLocation="amzn-base.xsd"/>
<xsd:include schemaLocation="amzn-header.xsd"/>
<xsd:include schemaLocation="FulfillmentCenter.xsd"/>
<xsd:include schemaLocation="Inventory.xsd"/>
<xsd:include schemaLocation="OrderAcknowledgment.xsd"/>
<xsd:include schemaLocation="OrderAdjustment.xsd"/>
<xsd:include schemaLocation="OrderFulfillment.xsd"/>
<xsd:include schemaLocation="OrderReport.xsd"/>
<xsd:include schemaLocation="Override.xsd"/>
<xsd:include schemaLocation="Price.xsd"/>
<xsd:include schemaLocation="ProcessingReport.xsd"/>
<xsd:include schemaLocation="Product.xsd"/>
<xsd:include schemaLocation="ProductImage.xsd"/>
<xsd:include schemaLocation="Relationship.xsd"/>
<xsd:include schemaLocation="SettlementReport.xsd"/>
<xsd:element name="AmazonEnvelope" />
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="Header"/>
<xsd:element name="MessageType">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="FulfillmentCenter"/>
<xsd:enumeration value="Inventory"/>
<xsd:enumeration value="OrderAcknowledgment"/>
<xsd:enumeration value="OrderAdjustment"/>
<xsd:enumeration value="OrderFulfillment"/>
<xsd:enumeration value="OrderReport"/>
<xsd:enumeration value="Override"/>
<xsd:enumeration value="Price"/>
<xsd:enumeration value="ProcessingReport"/>
<xsd:enumeration value="Product"/>
<xsd:enumeration value="ProductImage"/>
<xsd:enumeration value="Relationship"/>
<xsd:enumeration value="SettlementReport"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="PurgeAndReplace" type="xsd:boolean" minOccurs="0"/>
<xsd:element name="EffectiveDate" type="xsd:dateTime" minOccurs="0"/>
<xsd:element name="Message" maxOccurs="unbounded" />
<xsd:complexType>
<xsd:sequence>
<xsd:element name="MessageID" type="IDNumber"/>
<xsd:element name="OperationType" minOccurs="0">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Update"/>
<xsd:enumeration value="Delete"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:choice>
<xsd:element ref="FulfillmentCenter"/>
<xsd:element ref="Inventory"/>
<xsd:element ref="OrderAcknowledgment"/>
<xsd:element ref="OrderAdjustment"/>
<xsd:element ref="OrderFulfillment"/>
<xsd:element ref="OrderReport"/>
<xsd:element ref="Override"/>
<xsd:element ref="Price"/>
<xsd:element ref="ProcessingReport"/>
<xsd:element ref="Product"/>
<xsd:element ref="ProductImage"/>
<xsd:element ref="Relationship"/>
<xsd:element ref="SettlementReport"/>
</xsd:choice>
</xsd:sequence>
</xsd:complexType>
</xsd:sequence>
</xsd:complexType>
</xs:schema>
點(diǎn)擊咨詢現(xiàn)在有哪些新興平臺(tái)值得關(guān)注 >>>
特別聲明:以上文章內(nèi)容僅代表作者本人觀點(diǎn),不代表ESG跨境電商觀點(diǎn)或立場(chǎng)。如有關(guān)于作品內(nèi)容、版權(quán)或其它問題請(qǐng)于作品發(fā)表后的30日內(nèi)與ESG跨境電商聯(lián)系。
二維碼加載中...
使用微信掃一掃登錄
使用賬號(hào)密碼登錄
平臺(tái)顧問
微信掃一掃
馬上聯(lián)系在線顧問
小程序
ESG跨境小程序
手機(jī)入駐更便捷
返回頂部