<!--
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="DeliveryPerformanceIncident" type="DeliveryPerformanceIncidentType">
<xsd:annotation>
<xsd:documentation>
<Documentation>
<Description>Structure containing the properties related to Delivery Performance Incidents.</Description>
</Documentation>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="DeliveryPerformanceIncidentType">
<xsd:sequence>
<xsd:element ref="PartOfSupplyChainCode"/>
<xsd:element ref="IncidentCategoryCode"/>
<xsd:element ref="IncidentAccountabilityCode"/>
<xsd:element ref="IncidentCauseCode"/>
<xsd:element ref="DateTime"/>
<xsd:element ref="Comment" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="HandlingDescription" type="HandlingDescriptionType">
<xsd:annotation>
<xsd:documentation>
<Documentation>
<Description>Identifies the activity associated with the handling of materials, generally occurring during pick-up/loading, or unloading/discharge at delivery.</Description>
</Documentation>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:simpleType name="HandlingDescriptionType">
<xsd:restriction base="cidxToken"/>
</xsd:simpleType>
<xsd:element name="HandlingEndDateTime" type="HandlingEndDateTimeType">
<xsd:annotation>
<xsd:documentation>
<Documentation>
<Description>Structure that defines the date and/or time that the activity, (e.g.: loading or unloading/discharge) was completed.</Description>
<Comments>The duration of an activity, either actual or estimated, can be determined by calculating the time elapsed between the HandlingStartDateTime and the HandlingEndDateTime.</Comments>
</Documentation>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="HandlingEndDateTimeType">
<xsd:sequence>
<xsd:element ref="DateTime"/>
</xsd:sequence>
<xsd:attribute name="PerformanceIndicator" type="cidxListHandlingDateTimePerformanceIndicator"/>
</xsd:complexType>
<xsd:element name="HandlingException" type="HandlingExceptionType">
<xsd:annotation>
<xsd:documentation>
<Documentation>
<Description>Identifies an incident associated with the handling of materials that occurred during pick-up/loading, or unloading/discharge at delivery.</Description>
</Documentation>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:simpleType name="HandlingExceptionType">
<xsd:restriction base="cidxToken"/>
</xsd:simpleType>
<xsd:element name="HandlingInformation" type="HandlingInformationType">
<xsd:annotation>
<xsd:documentation>
<Documentation>
<Description>Structure that defines information about the performance of activities (e.g.: pick up or delivery of goods) that relate to the status of the shipment being reported by a carrier.</Description>
</Documentation>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="HandlingInformationType">
<xsd:sequence>
<xsd:element ref="HandlingStartDateTime" minOccurs="0"/>
<xsd:element ref="HandlingEndDateTime" minOccurs="0"/>
<xsd:element ref="HandlingDescription"/>
<xsd:element ref="HandlingException" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="HandlingStartDateTime" type="HandlingStartDateTimeType">
<xsd:annotation>
<xsd:documentation>
<Documentation>
<Description>Structure that defines the date and/or time that the activity, (e.g.: loading or unloading/discharge) began.</Description>
</Documentation>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="HandlingStartDateTimeType">
<xsd:sequence>
<xsd:element ref="DateTime"/>
</xsd:sequence>
<xsd:attribute name="PerformanceIndicator" type="cidxListHandlingDateTimePerformanceIndicator"/>
</xsd:complexType>
<xsd:element name="IncidentAccountabilityCode" type="IncidentAccountabilityCodeType">
<xsd:annotation>
<xsd:documentation>
<Documentation>
<Description>Code used to specify who is responsible for the cause of an incident.</Description>
<SampleData>C</SampleData>
<CodeListName>Accountability Code</CodeListName>
<CodeList>Joint ECTA-EPCA-CEFIC Guidelines for Standardized Delivery Performance Measurement</CodeList>
</Documentation>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:simpleType name="IncidentAccountabilityCodeType">
<xsd:restriction base="cidxToken"/>
</xsd:simpleType>
<xsd:element name="IncidentCategoryCode" type="IncidentCategoryCodeType">
<xsd:annotation>
<xsd:documentation>
<Documentation>
<Description>Code used to define the type of incident.</Description>
<SampleData>EQ</SampleData>
<CodeListName>Incident Category Code</CodeListName>
<CodeList>Joint ECTA-EPCA-CEFIC Guidelines for Standardized Delivery Performance Measurement</CodeList>
</Documentation>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:simpleType name="IncidentCategoryCodeType">
<xsd:restriction base="cidxToken"/>
</xsd:simpleType>
<xsd:element name="IncidentCauseCode" type="IncidentCauseCodeType">
<xsd:annotation>
<xsd:documentation>
<Documentation>
<Description>Code used to specify why the incident occurred.</Description>
<SampleData>12</SampleData>
<CodeListName>Cause Code</CodeListName>
<CodeList>Joint ECTA-EPCA-CEFIC Guidelines for Standardized Delivery Performance Measurement</CodeList>
</Documentation>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:simpleType name="IncidentCauseCodeType">
<xsd:restriction base="cidxToken"/>
</xsd:simpleType>
<xsd:element name="LocationIdentifier" type="LocationIdentifierType">
<xsd:annotation>
<xsd:documentation>
<Documentation>
<Description>Designates a specific geographical location by use of latitude and longitude (and optionally, altitude) per ISO 6709 specification.</Description>
<CodeList>ISO 6709</CodeList>
<Synonyms>COMMENT:
The ISO 6709 specification provides a format designed for expressions of latitude and longitude in degrees and decimal degrees, with provisions for a minute/second representation as well as a decimal fraction representation. Prefix with + north of and on equator, and with - south of equator. Prefix with + east of and on prime meridian (Greenwich), and with - west of Greenwich up to the 180th meridian. Leading zeros are required for latitude and longitude. If a termination character is needed in the format, the forward slash (/) is recommended.</Synonyms>
</Documentation>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:simpleType name="LocationIdentifierType">
<xsd:restriction base="cidxToken"/>
</xsd:simpleType>
<xsd:element name="PartOfSupplyChainCode" type="PartOfSupplyChainCodeType">
<xsd:annotation>
<xsd:documentation>
<Documentation>
<Description>Code specifying the part of the supply chain where performance incident occurs.</Description>
<SampleData>L</SampleData>
<CodeListName>Supply Chain Part Code</CodeListName>
<CodeList>Joint ECTA-EPCA-CEFIC Guidelines for Standardized Delivery Performance Measurement</CodeList>
</Documentation>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:simpleType name="PartOfSupplyChainCodeType">
<xsd:restriction base="cidxToken"/>
</xsd:simpleType>
<xsd:element name="SeverityLevel" type="SeverityLevelType">
<xsd:annotation>
<xsd:documentation>
<Documentation>
<Description/>
</Documentation>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:simpleType name="SeverityLevelType">
<xsd:restriction base="cidxToken"/>
</xsd:simpleType>
<xsd:element name="ShipmentDateTime" type="ShipmentDateTimeType">
<xsd:annotation>
<xsd:documentation>
<Documentation>
<Description/>
</Documentation>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="ShipmentDateTimeType">
<xsd:sequence>
<xsd:element ref="DateTime"/>
</xsd:sequence>
<xsd:attribute name="ShipmentDateQualifier" type="cidxListShipmentDateQualifier" use="required"/>
</xsd:complexType>
<xsd:element name="ShipmentStatus" type="ShipmentStatusType">
<xsd:annotation>
<xsd:documentation>
<Documentation>
<Description/>
</Documentation>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="ShipmentStatusType">
<xsd:sequence>
<xsd:element ref="Header"/>
<xsd:element ref="ShipmentStatusBody"/>
</xsd:sequence>
<xsd:attribute name="Version" type="cidxToken" use="required" fixed="4.0"/>
</xsd:complexType>
<xsd:element name="ShipmentStatusBody" type="ShipmentStatusBodyType">
<xsd:annotation>
<xsd:documentation>
<Documentation>
<Description>Structure containing the body related to the ShipmentStatus message.</Description>
</Documentation>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="ShipmentStatusBodyType">
<xsd:sequence>
<xsd:element ref="ShipmentStatusProperties"/>
<xsd:element ref="ShipmentStatusPartners"/>
<xsd:element ref="ShipmentStatusDetails" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="ShipmentStatusCode" type="ShipmentStatusCodeType">
<xsd:annotation>
<xsd:documentation>
<Documentation>
<Description>Code specifying the status or progress of shipments.</Description>
<SampleData>101</SampleData>
<CodeListName>UN/CEFACT Recommendation 24</CodeListName>
<Comments>In the sample data, code 101 is the UN/CEFACT Recommendation 24 code for 'Delayed In Transit'.</Comments>
</Documentation>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="ShipmentStatusCodeType">
<xsd:simpleContent>
<xsd:extension base="cidxToken">
<xsd:attribute name="Domain" type="cidxToken" use="required" fixed="UN-Rec-24"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:element name="ShipmentStatusCodeDescription" type="ShipmentStatusCodeDescriptionType">
<xsd:annotation>
<xsd:documentation>
<Documentation>
<Description>The description of the status or progress of shipments.</Description>
<SampleData>Arrive</SampleData>
</Documentation>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:simpleType name="ShipmentStatusCodeDescriptionType">
<xsd:restriction base="cidxToken"/>
</xsd:simpleType>
<xsd:element name="ShipmentStatusDateTime" type="ShipmentStatusDateTimeType">
<xsd:annotation>
<xsd:documentation>
<Documentation>
<Description>Date and time of the associated ShipmentStatusCode</Description>
</Documentation>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="ShipmentStatusDateTimeType">
<xsd:sequence>
<xsd:element ref="DateTime"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="ShipmentStatusDetails" type="ShipmentStatusDetailsType">
<xsd:annotation>
<xsd:documentation>
<Documentation>
<Description>The details supporting the ShipmentStatus message.</Description>
</Documentation>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="ShipmentStatusDetailsType">
<xsd:sequence>
<xsd:element ref="EquipmentIdentifier"/>
<xsd:element ref="ShipmentStatusCode"/>
<xsd:element ref="ShipmentStatusCodeDescription" minOccurs="0"/>
<xsd:element ref="ShipmentStatusReasonCode" minOccurs="0"/>
<xsd:element ref="ShipmentStatusReasonCodeDescription" minOccurs="0"/>
<xsd:element ref="ShipmentStatusDateTime"/>
<xsd:element ref="DeliveryPerformanceIncident" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="LocationCode" minOccurs="0"/>
<xsd:element ref="LocationIdentifier" minOccurs="0"/>
<xsd:element ref="RoutingInstructions" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="Comment" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="EquipmentLoadEmptyStatus" minOccurs="0"/>
<xsd:element ref="ShipmentDateTime" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="SeverityLevel" minOccurs="0"/>
<xsd:element ref="TransportMethodCode" minOccurs="0"/>
<xsd:element ref="HandlingInformation" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="ShipmentStatusPartners" type="ShipmentStatusPartnersType">
<xsd:annotation>
<xsd:documentation>
<Documentation>
<Description>Structure containing the partners related to the ShipmentStatus message.</Description>
</Documentation>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="ShipmentStatusPartnersType">
<xsd:sequence>
<xsd:choice>
<xsd:element ref="Shipper"/>
<xsd:element ref="Carrier"/>
</xsd:choice>
<xsd:element ref="OtherPartner" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="ShipmentStatusProperties" type="ShipmentStatusPropertiesType">
<xsd:annotation>
<xsd:documentation>
<Documentation>
<Description/>
</Documentation>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="ShipmentStatusPropertiesType">
<xsd:sequence>
<xsd:element ref="LoadTenderInformation" minOccurs="0"/>
<xsd:element ref="ReferenceInformation" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="MarketPlaceInformation" minOccurs="0"/>
<xsd:element ref="LanguageCode"/>
<xsd:element ref="SpecialInstructions" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="ConveyanceInformation" minOccurs="0"/>
<xsd:element ref="RequestedDocument" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="ShipmentStatusReasonCode" type="ShipmentStatusReasonCodeType">
<xsd:annotation>
<xsd:documentation>
<Documentation>
<Description>Code specifying the reason for a status of a shipment.</Description>
<SampleData>222</SampleData>
<CodeListName>UN/CEFACT Recommendation 24</CodeListName>
</Documentation>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="ShipmentStatusReasonCodeType">
<xsd:simpleContent>
<xsd:extension base="cidxToken">
<xsd:attribute name="Domain" type="cidxToken" use="required" fixed="UN-Rec-24"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:element name="ShipmentStatusReasonCodeDescription" type="ShipmentStatusReasonCodeDescriptionType">
<xsd:annotation>
<xsd:documentation>
<Documentation>
<Description>The description of the reason for a status of a shipment.</Description>
<SampleData>Equipment not available</SampleData>
</Documentation>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:simpleType name="ShipmentStatusReasonCodeDescriptionType">
<xsd:restriction base="cidxToken"/>
</xsd:simpleType>
</xsd:schema>
|