Schema Name: CIDX_CeS_v4.0_Message_ReceiptNotice.xsd
Target Namespace: urn:cidx:names:specification:ces:schema:all:4:0
Collapse XSD Schema Code:

<!--
  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="DeliveryReceiptIdentification" type="DeliveryReceiptIdentificationType">
    <xsd:annotation>
      <xsd:documentation>
        <Documentation>
          <Description>Unique identifier assigned to a delivery receipt.</Description>
          <SampleData>A1201</SampleData>
        </Documentation>
      </xsd:documentation>
    </xsd:annotation>
  </xsd:element>
  <xsd:complexType name="DeliveryReceiptIdentificationType">
    <xsd:sequence>
      <xsd:element ref="DocumentReference"/>
    </xsd:sequence>
  </xsd:complexType>
  <xsd:element name="ReceiptCondition" type="ReceiptConditionType">
    <xsd:annotation>
      <xsd:documentation>
        <Documentation>
          <Description>This element identifies to the recipient the condition of the receipt.</Description>
          <SampleData>Shortage</SampleData>
          <CodeListName>CIDXReceiptConditionCode</CodeListName>
          <CodeList>ReceivedAsShipped
Damaged
Shortage
Overage
NotAsOrdered
OffSpec
ToBeReturnedForCredit</CodeList>
        </Documentation>
      </xsd:documentation>
    </xsd:annotation>
  </xsd:element>
  <xsd:simpleType name="ReceiptConditionType">
    <xsd:restriction base="cidxToken"/>
  </xsd:simpleType>
  <xsd:element name="ReceiptNotice" type="ReceiptNoticeType">
    <xsd:annotation>
      <xsd:documentation>
        <Documentation>
          <Description/>
        </Documentation>
      </xsd:documentation>
    </xsd:annotation>
  </xsd:element>
  <xsd:complexType name="ReceiptNoticeType">
    <xsd:sequence>
      <xsd:element ref="Header"/>
      <xsd:element ref="ReceiptNoticeBody"/>
    </xsd:sequence>
    <xsd:attribute name="Version" type="cidxToken" use="required" fixed="4.0"/>
  </xsd:complexType>
  <xsd:element name="ReceiptNoticeBody" type="ReceiptNoticeBodyType">
    <xsd:annotation>
      <xsd:documentation>
        <Documentation>
          <Description>Structure containing the body related to the ReceiptNotice message.</Description>
        </Documentation>
      </xsd:documentation>
    </xsd:annotation>
  </xsd:element>
  <xsd:complexType name="ReceiptNoticeBodyType">
    <xsd:sequence>
      <xsd:element ref="ReceiptNoticeProperties"/>
      <xsd:element ref="ReceiptNoticePartners"/>
      <xsd:element ref="ReceiptNoticeDetails"/>
    </xsd:sequence>
  </xsd:complexType>
  <xsd:element name="ReceiptNoticeDetails" type="ReceiptNoticeDetailsType">
    <xsd:annotation>
      <xsd:documentation>
        <Documentation>
          <Description>Structure containing the details related to the ReceiptNotice message.</Description>
        </Documentation>
      </xsd:documentation>
    </xsd:annotation>
  </xsd:element>
  <xsd:complexType name="ReceiptNoticeDetailsType">
    <xsd:sequence>
      <xsd:element ref="EquipmentDetails" minOccurs="0" maxOccurs="unbounded"/>
      <xsd:element ref="ReceiptNoticeProductLineItem" maxOccurs="unbounded"/>
      <xsd:sequence minOccurs="0" maxOccurs="unbounded">
        <xsd:element ref="ShipmentPackaging"/>
        <xsd:element ref="ReceiptCondition" minOccurs="0" maxOccurs="unbounded"/>
      </xsd:sequence>
    </xsd:sequence>
  </xsd:complexType>
  <xsd:element name="ReceiptNoticePartners" type="ReceiptNoticePartnersType">
    <xsd:annotation>
      <xsd:documentation>
        <Documentation>
          <Description>Structure containing the partners related to the ReceiptNotice message.</Description>
        </Documentation>
      </xsd:documentation>
    </xsd:annotation>
  </xsd:element>
  <xsd:complexType name="ReceiptNoticePartnersType">
    <xsd:sequence>
      <xsd:element ref="Buyer"/>
      <xsd:element ref="Seller"/>
      <xsd:element ref="OtherPartner" minOccurs="0" maxOccurs="unbounded"/>
    </xsd:sequence>
  </xsd:complexType>
  <xsd:element name="ReceiptNoticeProductLineItem" type="ReceiptNoticeProductLineItemType">
    <xsd:annotation>
      <xsd:documentation>
        <Documentation>
          <Description>Individual products per line number on a document.</Description>
        </Documentation>
      </xsd:documentation>
    </xsd:annotation>
  </xsd:element>
  <xsd:complexType name="ReceiptNoticeProductLineItemType">
    <xsd:sequence>
      <xsd:element ref="LineNumber"/>
      <xsd:element ref="EquipmentDetailsLineNumber" minOccurs="0" maxOccurs="unbounded"/>
      <xsd:element ref="ProductIdentification" maxOccurs="unbounded"/>
      <xsd:element ref="ShippedQuantity"/>
      <xsd:element ref="ReceivedQuantity"/>
      <xsd:element ref="ReceiptCondition" minOccurs="0" maxOccurs="unbounded"/>
      <xsd:element ref="PurchaseOrderInformation" minOccurs="0"/>
      <xsd:element ref="CumulativeTotalQuantity" minOccurs="0"/>
      <xsd:element ref="ReferenceInformation" minOccurs="0" maxOccurs="unbounded"/>
      <xsd:element ref="ShipmentIndicatorCode" minOccurs="0"/>
      <xsd:element ref="PercentActive" minOccurs="0"/>
      <xsd:element ref="SpecialInstructions" minOccurs="0" maxOccurs="unbounded"/>
      <xsd:element ref="InventoryLocation" minOccurs="0"/>
      <xsd:element ref="ProductSubLineItems" minOccurs="0" maxOccurs="unbounded"/>
    </xsd:sequence>
  </xsd:complexType>
  <xsd:element name="ReceiptNoticeProperties" type="ReceiptNoticePropertiesType">
    <xsd:annotation>
      <xsd:documentation>
        <Documentation>
          <Description>Structure containing the properties related to the ReceiptNotice message.</Description>
        </Documentation>
      </xsd:documentation>
    </xsd:annotation>
  </xsd:element>
  <xsd:complexType name="ReceiptNoticePropertiesType">
    <xsd:sequence>
      <xsd:element ref="DeliveryReceiptIdentification"/>
      <xsd:element ref="PurchaseOrderInformation"/>
      <xsd:element ref="ReferenceInformation" minOccurs="0" maxOccurs="unbounded"/>
      <xsd:element ref="ReceiptCondition" minOccurs="0"/>
      <xsd:element ref="SpecialInstructions" minOccurs="0" maxOccurs="unbounded"/>
      <xsd:element ref="ReceiptNoticeStatus" minOccurs="0"/>
      <xsd:element ref="ReceiptNoticeReason" minOccurs="0"/>
      <xsd:element ref="LanguageCode" minOccurs="0"/>
    </xsd:sequence>
  </xsd:complexType>
  <xsd:element name="ReceiptNoticeReason" type="ReceiptNoticeReasonType">
    <xsd:annotation>
      <xsd:documentation>
        <Documentation>
          <Description>Identifies the functional routing of this message, which indicates to the recipient whether there is a need to forward this notice to another party.</Description>
          <SampleData>Original</SampleData>
          <CodeListName>CIDX ReceiptNoticeReason</CodeListName>
          <CodeList>3PLToDepositor
BuyerToSeller
ConsigneeToBuyer</CodeList>
          <Comments>Definitions for CIDX ReceiptNoticeReason codes:
3PLToDepositor - 
BuyerToSeller - 
ConsigneeToBuyer -</Comments>
        </Documentation>
      </xsd:documentation>
    </xsd:annotation>
  </xsd:element>
  <xsd:simpleType name="ReceiptNoticeReasonType">
    <xsd:restriction base="cidxToken"/>
  </xsd:simpleType>
  <xsd:element name="ReceiptNoticeStatus" type="ReceiptNoticeStatusType">
    <xsd:annotation>
      <xsd:documentation>
        <Documentation>
          <Description>This element identifies to the recipient the nature of the message - if this has been sent before and if so, what should the recipient do with this message.</Description>
          <SampleData>Original</SampleData>
          <CodeListName>CIDX ReceiptNoticeStatus</CodeListName>
          <CodeList>Cancel
Change
Original
Replace</CodeList>
          <Synonyms>FreightBillStatus, ShipmentInstructionsStatus, LoadTenderStatus</Synonyms>
          <Comments>Definitions for CIDX ReceiptNoticeStatus codes:
Cancel - Indicates a cancellation of the ReceiptNotice, implies a resend with a status of Original may follow.
Change - Indicates a partial update
Original - Indicates a new message
Replace - Indicates a full overlay of the entire message</Comments>
        </Documentation>
      </xsd:documentation>
    </xsd:annotation>
  </xsd:element>
  <xsd:simpleType name="ReceiptNoticeStatusType">
    <xsd:restriction base="cidxToken"/>
  </xsd:simpleType>
  <xsd:element name="ReceivedQuantity" type="ReceivedQuantityType">
    <xsd:annotation>
      <xsd:documentation>
        <Documentation>
          <Description>The weight or count of product in a given unit of measure being received in this message.</Description>
        </Documentation>
      </xsd:documentation>
    </xsd:annotation>
  </xsd:element>
  <xsd:complexType name="ReceivedQuantityType">
    <xsd:sequence>
      <xsd:element ref="Measurement"/>
    </xsd:sequence>
  </xsd:complexType>
</xsd:schema>
Collapse ComplexTypes:
Collapse Elements:
Collapse SimpleTypes: