<!--
Copyright © 2004 Chemical Industry Data Exchange. All rights reserved.
This schema and its use are subject to the statement appearing on
Page 1 of the Chem eStandards v4.0 Introduction, and to the license
agreement available during the Chem eStandards download process.
-->
<xsd:schema targetNamespace="urn:cidx:names:specification:ces:schema:all:4:0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:cidx:names:specification:ces:schema:all:4:0">
<xsd:include schemaLocation="CIDX_CeS_v4.0_CommonComponents.xsd"/>
<xsd:element name="PostingAccept" type="PostingAcceptType">
<xsd:annotation>
<xsd:documentation>
<Documentation>
<Description/>
</Documentation>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="PostingAcceptType">
<xsd:sequence>
<xsd:element ref="Header"/>
<xsd:element ref="PostingAcceptBody"/>
</xsd:sequence>
<xsd:attribute name="Version" type="cidxToken" use="required" fixed="4.0"/>
</xsd:complexType>
<xsd:element name="PostingAcceptBody" type="PostingAcceptBodyType">
<xsd:annotation>
<xsd:documentation>
<Documentation>
<Description>Body of the PostingAccept transaction.</Description>
</Documentation>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="PostingAcceptBodyType">
<xsd:sequence>
<xsd:element ref="PostingAcceptProperties"/>
<xsd:element ref="PostingAcceptPartners"/>
<xsd:element ref="PostingAcceptDetails"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="PostingAcceptDetails" type="PostingAcceptDetailsType">
<xsd:annotation>
<xsd:documentation>
<Documentation>
<Description>Detail section that contains the offer to accept a posting.</Description>
</Documentation>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="PostingAcceptDetailsType">
<xsd:sequence>
<xsd:element ref="PostingAcceptLineItem" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="PostingAcceptLineItem" type="PostingAcceptLineItemType">
<xsd:annotation>
<xsd:documentation>
<Documentation>
<Description>The details of the line items that are being accepted.</Description>
<Comments>Can't assume that the current version of a line item is being accepted. By forcing the accepting party to send the data belonging to the line item, the originating marketplace can make sure that the current version is being accepted.</Comments>
</Documentation>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="PostingAcceptLineItemType">
<xsd:sequence>
<xsd:element ref="LineNumber"/>
<xsd:element ref="ProductIdentification"/>
<xsd:element ref="ProductSpecification" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="PackagingInformation" minOccurs="0"/>
<xsd:element ref="CountryOfOriginCode" minOccurs="0"/>
<xsd:element ref="MarketingName" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="ManufacturerInformation" minOccurs="0"/>
<xsd:element ref="ProductQuantity"/>
<xsd:element ref="PriceInformation" minOccurs="0"/>
<xsd:choice>
<xsd:element ref="ShippingAvailabilityDate"/>
<xsd:element ref="RequestedDeliveryDateTime"/>
</xsd:choice>
<xsd:element ref="SpecialInstructions" minOccurs="0" maxOccurs="unbounded"/>
<xsd:sequence minOccurs="0" maxOccurs="unbounded">
<xsd:element ref="ShipFrom"/>
<xsd:element ref="ShipTo"/>
</xsd:sequence>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="PostingAcceptPartners" type="PostingAcceptPartnersType">
<xsd:annotation>
<xsd:documentation>
<Documentation>
<Description>Identifies the buyer or seller who is initiating the acceptance.</Description>
<Comments>Note: This is required. In the response it will be optional. This is the official definition of Posting Partners, all other posting transactions should follow this definition.</Comments>
</Documentation>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="PostingAcceptPartnersType">
<xsd:choice>
<xsd:element ref="Seller"/>
<xsd:element ref="Buyer"/>
<xsd:element ref="OtherPartner" minOccurs="0" maxOccurs="unbounded"/>
</xsd:choice>
</xsd:complexType>
<xsd:element name="PostingAcceptProperties" type="PostingAcceptPropertiesType">
<xsd:annotation>
<xsd:documentation>
<Documentation>
<Description>Properties for the PostingAccept transaction.</Description>
<Comments>This is the official definition of Posting Properties, all other posting transactions should follow this definition.</Comments>
</Documentation>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="PostingAcceptPropertiesType">
<xsd:sequence>
<xsd:element ref="PostingNumber"/>
<xsd:element ref="EffectiveDates"/>
<xsd:element ref="LanguageCode" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
|