<!--
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="urn:cidx:names:specification:ces:schema:all:4:0" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:include schemaLocation="CIDX_CeS_v4.0_CommonComponents.xsd" />
<xsd:element name="PostingChange" type="PostingChangeType">
<xsd:annotation>
<xsd:documentation>
<Documentation>
<Description />
</Documentation>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="PostingChangeType">
<xsd:sequence minOccurs="1" maxOccurs="1">
<xsd:element ref="Header" minOccurs="1" maxOccurs="1" />
<xsd:element ref="PostingChangeBody" minOccurs="1" maxOccurs="1" />
</xsd:sequence>
<xsd:attribute name="Version" use="required" type="cidxToken" fixed="4.0" />
</xsd:complexType>
<xsd:element name="PostingChangeBody" type="PostingChangeBodyType">
<xsd:annotation>
<xsd:documentation>
<Documentation>
<Description>Transaction-specific data for the PostingChange transaction.</Description>
</Documentation>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="PostingChangeBodyType">
<xsd:sequence minOccurs="1" maxOccurs="1">
<xsd:element ref="PostingChangeProperties" minOccurs="1" maxOccurs="1" />
<xsd:element ref="PostingChangePartners" minOccurs="1" maxOccurs="1" />
<xsd:element ref="PostingChangeDetails" minOccurs="1" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
<xsd:element name="PostingChangeDetails" type="PostingChangeDetailsType">
<xsd:annotation>
<xsd:documentation>
<Documentation>
<Description>A structure containing the line-item details in a posting change.</Description>
</Documentation>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="PostingChangeDetailsType">
<xsd:sequence minOccurs="1" maxOccurs="1">
<xsd:element ref="PostingChangeLineItem" minOccurs="1" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
<xsd:element name="PostingChangeLineItem" type="PostingChangeLineItemType">
<xsd:annotation>
<xsd:documentation>
<Documentation>
<Description>The line items that belong to the posting being changed.</Description>
<Comments>Note: it is the responsibility of the marketplace to make sure that the correct line items are being updated.</Comments>
</Documentation>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="PostingChangeLineItemType">
<xsd:sequence minOccurs="1" maxOccurs="1">
<xsd:element ref="LineNumber" minOccurs="1" maxOccurs="1" />
<xsd:element ref="LineItemRequestedAction" minOccurs="1" maxOccurs="1" />
<xsd:element ref="ProductIdentification" minOccurs="1" maxOccurs="1" />
<xsd:element ref="ProductSpecification" minOccurs="0" maxOccurs="unbounded" />
<xsd:element ref="PackagingInformation" minOccurs="0" maxOccurs="1" />
<xsd:element ref="CountryOfOriginCode" minOccurs="0" maxOccurs="1" />
<xsd:element ref="MarketingName" minOccurs="0" maxOccurs="unbounded" />
<xsd:element ref="ManufacturerInformation" minOccurs="0" maxOccurs="1" />
<xsd:element ref="ProductQuantity" minOccurs="1" maxOccurs="1" />
<xsd:element ref="PriceInformation" minOccurs="0" maxOccurs="1" />
<xsd:choice minOccurs="1" maxOccurs="1">
<xsd:element ref="ShippingAvailabilityDate" minOccurs="1" maxOccurs="1" />
<xsd:element ref="RequestedDeliveryDateTime" minOccurs="1" maxOccurs="1" />
</xsd:choice>
<xsd:element ref="SpecialInstructions" minOccurs="0" maxOccurs="unbounded" />
<xsd:sequence minOccurs="0" maxOccurs="unbounded">
<xsd:element ref="ShipFrom" minOccurs="1" maxOccurs="1" />
<xsd:element ref="ShipTo" minOccurs="1" maxOccurs="1" />
</xsd:sequence>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="PostingChangePartners" type="PostingChangePartnersType">
<xsd:annotation>
<xsd:documentation>
<Documentation>
<Description>Partners for the change posting transaction.</Description>
<Comments>A posting's originator cannot be added or changed once the posting is created. 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="PostingChangePartnersType">
<xsd:sequence minOccurs="1" maxOccurs="1">
<xsd:element ref="Originator" minOccurs="1" maxOccurs="1" />
<xsd:element ref="Audience" minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
<xsd:element name="PostingChangeProperties" type="PostingChangePropertiesType">
<xsd:annotation>
<xsd:documentation>
<Documentation>
<Description>Transaction-specific properties of a posting for the PostingChange 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="PostingChangePropertiesType">
<xsd:sequence minOccurs="1" maxOccurs="1">
<xsd:element ref="PostingNumber" minOccurs="1" maxOccurs="1" />
<xsd:element ref="EffectiveDates" minOccurs="0" maxOccurs="1" />
<xsd:element ref="LanguageCode" minOccurs="0" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
|