Schema Name: CIDX_CeS_v4.0_Message_ShipNotice.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="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="InvoiceQuantity" type="InvoiceQuantityType">
    <xsd:annotation>
      <xsd:documentation>
        <Documentation>
          <Description>The weight or count of product in a given unit of measure being billed or accounted for in this message.</Description>
        </Documentation>
      </xsd:documentation>
    </xsd:annotation>
  </xsd:element>
  <xsd:complexType name="InvoiceQuantityType">
    <xsd:sequence>
      <xsd:element ref="Measurement"/>
    </xsd:sequence>
  </xsd:complexType>
  <xsd:element name="ShipNotice" type="ShipNoticeType">
    <xsd:annotation>
      <xsd:documentation>
        <Documentation>
          <Description/>
        </Documentation>
      </xsd:documentation>
    </xsd:annotation>
  </xsd:element>
  <xsd:complexType name="ShipNoticeType">
    <xsd:sequence>
      <xsd:element ref="Header"/>
      <xsd:element ref="ShipNoticeBody"/>
    </xsd:sequence>
    <xsd:attribute name="Version" type="cidxToken" use="required" fixed="4.0"/>
  </xsd:complexType>
  <xsd:element name="ShipNoticeBody" type="ShipNoticeBodyType">
    <xsd:annotation>
      <xsd:documentation>
        <Documentation>
          <Description>Structure containing the body related to the ShipNotice message.</Description>
        </Documentation>
      </xsd:documentation>
    </xsd:annotation>
  </xsd:element>
  <xsd:complexType name="ShipNoticeBodyType">
    <xsd:sequence>
      <xsd:element ref="ShipNoticeProperties"/>
      <xsd:element ref="ShipNoticePartners"/>
      <xsd:element ref="ShipNoticeDetails"/>
    </xsd:sequence>
  </xsd:complexType>
  <xsd:element name="ShipNoticeDate" type="ShipNoticeDateType">
    <xsd:annotation>
      <xsd:documentation>
        <Documentation>
          <Description>The date of creation for the ShipNotice message.</Description>
        </Documentation>
      </xsd:documentation>
    </xsd:annotation>
  </xsd:element>
  <xsd:complexType name="ShipNoticeDateType">
    <xsd:sequence>
      <xsd:element ref="DateTime"/>
    </xsd:sequence>
  </xsd:complexType>
  <xsd:element name="ShipNoticeDetails" type="ShipNoticeDetailsType">
    <xsd:annotation>
      <xsd:documentation>
        <Documentation>
          <Description>Structure containing the details related to the ShipNotice message.</Description>
        </Documentation>
      </xsd:documentation>
    </xsd:annotation>
  </xsd:element>
  <xsd:complexType name="ShipNoticeDetailsType">
    <xsd:sequence>
      <xsd:element ref="EquipmentDetails" minOccurs="0" maxOccurs="unbounded"/>
      <xsd:element ref="ShipNoticeProductLineItem" maxOccurs="unbounded"/>
      <xsd:element ref="ShipmentPackaging" minOccurs="0" maxOccurs="unbounded"/>
    </xsd:sequence>
  </xsd:complexType>
  <xsd:element name="ShipNoticePartners" type="ShipNoticePartnersType">
    <xsd:annotation>
      <xsd:documentation>
        <Documentation>
          <Description>Structure containing the partners related to the ShipNotice message.</Description>
        </Documentation>
      </xsd:documentation>
    </xsd:annotation>
  </xsd:element>
  <xsd:complexType name="ShipNoticePartnersType">
    <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="ShipNoticeProductLineItem" type="ShipNoticeProductLineItemType">
    <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="ShipNoticeProductLineItemType">
    <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="InvoiceQuantity" minOccurs="0"/>
      <xsd:element ref="PurchaseOrderInformation" minOccurs="0"/>
      <xsd:element ref="CumulativeTotalQuantity" minOccurs="0"/>
      <xsd:element ref="ShipmentMethodOfPaymentCode" minOccurs="0"/>
      <xsd:element ref="DeliveryTerms" 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:element ref="ShippingServiceLevelCode" minOccurs="0"/>
    </xsd:sequence>
  </xsd:complexType>
  <xsd:element name="ShipNoticeProperties" type="ShipNoticePropertiesType">
    <xsd:annotation>
      <xsd:documentation>
        <Documentation>
          <Description>Structure containing the properties related to the ShipNotice message.</Description>
        </Documentation>
      </xsd:documentation>
    </xsd:annotation>
  </xsd:element>
  <xsd:complexType name="ShipNoticePropertiesType">
    <xsd:sequence>
      <xsd:element ref="ShipmentIdentification"/>
      <xsd:element ref="ShipDate"/>
      <xsd:element ref="LoadTenderInformation" minOccurs="0"/>
      <xsd:element ref="PurchaseOrderInformation" minOccurs="0"/>
      <xsd:element ref="TransportMethodCode"/>
      <xsd:element ref="MarketPlaceInformation" minOccurs="0"/>
      <xsd:element ref="RoutingInstructions" minOccurs="0"/>
      <xsd:element ref="ReferenceInformation" minOccurs="0" maxOccurs="unbounded"/>
      <xsd:element ref="ShipmentMethodOfPaymentCode" minOccurs="0"/>
      <xsd:element ref="DeliveryTerms" minOccurs="0"/>
      <xsd:element ref="ConveyanceInformation" minOccurs="0"/>
      <xsd:element ref="PortOfLoadingCode" minOccurs="0"/>
      <xsd:element ref="MovementType" minOccurs="0"/>
      <xsd:element ref="PortOfDischargeCode" minOccurs="0"/>
      <xsd:element ref="SpecialInstructions" minOccurs="0" maxOccurs="unbounded"/>
      <xsd:element ref="ShipNoticeDate"/>
      <xsd:element ref="ShipNoticeStatus" minOccurs="0"/>
      <xsd:element ref="RequestedDocument" minOccurs="0" maxOccurs="unbounded"/>
      <xsd:element ref="LanguageCode" minOccurs="0"/>
      <xsd:element ref="ShipmentStopType" minOccurs="0"/>
    </xsd:sequence>
  </xsd:complexType>
  <xsd:element name="ShipNoticeStatus" type="ShipNoticeStatusType">
    <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 ShipNoticeStatus</CodeListName>
          <CodeList>Cancel
Change
Original
Replace</CodeList>
          <Synonyms>FreightBillStatus, ShipmentInstructionsStatus, LoadTenderStatus</Synonyms>
          <Comments>Definitions for CIDX ShipNoticeStatus codes:
Cancel - Indicates a cancellation of the ShipNotice, 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="ShipNoticeStatusType">
    <xsd:restriction base="cidxToken"/>
  </xsd:simpleType>
</xsd:schema>
Collapse ComplexTypes:
Collapse Elements:
Collapse SimpleTypes: