<!--
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="AllowExportFlag" type="AllowExportFlagType">
<xsd:annotation>
<xsd:documentation>
<Documentation>
<Description>Indicates whether a marketplace can export the posting to other marketplaces.</Description>
<SampleData>Yes</SampleData>
<CodeListName>CIDX AllowExportFlag</CodeListName>
<CodeList>Yes
No
Restricted</CodeList>
<Comments>'Restricted' implies that export shall be governed by pre-existing trading partner agreements.</Comments>
</Documentation>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:simpleType name="AllowExportFlagType">
<xsd:restriction base="cidxToken" />
</xsd:simpleType>
<xsd:element name="AnonymityFlag" type="AnonymityFlagType">
<xsd:annotation>
<xsd:documentation>
<Documentation>
<Description>Indicates if posting should be made anonymous or not so that marketplace roles cannot determine identity of transacting entity.</Description>
<SampleData>Yes</SampleData>
<CodeList>Yes
No
Restricted</CodeList>
<Synonyms>COMMENT
"Restricted" means that anonymity shall be governed by pre-existing trading partner agreements. It is assumed that anonymity will be uniform across marketplaces.</Synonyms>
</Documentation>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:simpleType name="AnonymityFlagType">
<xsd:restriction base="cidxToken" />
</xsd:simpleType>
<xsd:element name="PostingCreate" type="PostingCreateType">
<xsd:annotation>
<xsd:documentation>
<Documentation>
<Description />
</Documentation>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="PostingCreateType">
<xsd:sequence minOccurs="1" maxOccurs="1">
<xsd:element ref="Header" minOccurs="1" maxOccurs="1" />
<xsd:element ref="PostingCreateBody" minOccurs="1" maxOccurs="1" />
</xsd:sequence>
<xsd:attribute name="Version" use="required" type="cidxToken" fixed="4.0" />
</xsd:complexType>
<xsd:element name="PostingCreateBody" type="PostingCreateBodyType">
<xsd:annotation>
<xsd:documentation>
<Documentation>
<Description>Transaction-specific data for the PostingCreate transaction.</Description>
</Documentation>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="PostingCreateBodyType">
<xsd:sequence minOccurs="1" maxOccurs="1">
<xsd:element ref="PostingCreateProperties" minOccurs="1" maxOccurs="1" />
<xsd:element ref="PostingCreatePartners" minOccurs="1" maxOccurs="1" />
<xsd:element ref="PostingCreateDetails" minOccurs="1" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
<xsd:element name="PostingCreateDetails" type="PostingCreateDetailsType">
<xsd:annotation>
<xsd:documentation>
<Documentation>
<Description>A structure containing the line-item details in a posting.</Description>
</Documentation>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="PostingCreateDetailsType">
<xsd:sequence minOccurs="1" maxOccurs="1">
<xsd:element ref="PostingCreateLineItem" minOccurs="1" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
<xsd:element name="PostingCreateLineItem" type="PostingCreateLineItemType">
<xsd:annotation>
<xsd:documentation>
<Documentation>
<Description>The line items that belong to the posting being created.</Description>
</Documentation>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="PostingCreateLineItemType">
<xsd:sequence minOccurs="1" maxOccurs="1">
<xsd:element ref="LineNumber" 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="ShipTo" minOccurs="1" maxOccurs="1" />
<xsd:element ref="ShipFrom" minOccurs="1" maxOccurs="1" />
</xsd:sequence>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="PostingCreatePartners" type="PostingCreatePartnersType">
<xsd:annotation>
<xsd:documentation>
<Documentation>
<Description>Partner information in addition to the 'to' and 'from' information that is contained in the Header element.</Description>
</Documentation>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="PostingCreatePartnersType">
<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="PostingCreateProperties" type="PostingCreatePropertiesType">
<xsd:annotation>
<xsd:documentation>
<Documentation>
<Description>Properties for the create posting 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="PostingCreatePropertiesType">
<xsd:sequence minOccurs="1" maxOccurs="1">
<xsd:element ref="PostingNumber" minOccurs="1" maxOccurs="1" />
<xsd:element ref="EffectiveDates" minOccurs="1" maxOccurs="1" />
<xsd:element ref="PostingInstructions" minOccurs="1" maxOccurs="1" />
<xsd:element ref="LanguageCode" minOccurs="0" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
<xsd:element name="PostingInstructions" type="PostingInstructionsType">
<xsd:annotation>
<xsd:documentation>
<Documentation>
<Description>Information that helps to govern the behavior of a marketplace with regard to a posting.</Description>
</Documentation>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="PostingInstructionsType">
<xsd:sequence minOccurs="1" maxOccurs="1">
<xsd:element ref="PostingType" minOccurs="0" maxOccurs="1" />
<xsd:element ref="AllowExportFlag" minOccurs="0" maxOccurs="1" />
<xsd:element ref="AnonymityFlag" minOccurs="0" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
<xsd:element name="PostingType" type="PostingTypeType">
<xsd:annotation>
<xsd:documentation>
<Documentation>
<Description>An indicator that can be used to communicate the default properties and behaviors of the posting.</Description>
<SampleData>auction</SampleData>
<Comments>The values in this field would be marketplace-specific.</Comments>
</Documentation>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:simpleType name="PostingTypeType">
<xsd:restriction base="cidxToken" />
</xsd:simpleType>
</xsd:schema>
|