You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DS7/DSWeb/EDIFiles/EFTManifestOcean.xsd

1067 lines
47 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
2020-06-01/shawn
change EFTDateType, EFTDateTimeType
add UNPortCodeTypeOrEmpty
-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:simpleType name="WeightType" >
<xs:restriction base="xs:decimal">
<xs:fractionDigits value="2"/>
<xs:totalDigits value="10"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="CBMType">
<xs:restriction base="xs:decimal">
<xs:fractionDigits value="3"/>
<xs:totalDigits value="10"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="CountryCodeType">
<xs:restriction base="xs:string">
<xs:pattern value="[A-Z]{2}"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="CarrierCodeType">
<xs:restriction base="xs:string">
<xs:pattern value="[A-Z]{4}"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="PartyRefCodeType">
<xs:restriction base="xs:string">
<xs:maxLength value="25"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="UNPortCodeTypeOrEmpty">
<xs:union memberTypes="UNPortCodeType empty-string" />
</xs:simpleType>
<xs:simpleType name="UNPortCodeType">
<xs:restriction base="xs:string">
<xs:pattern value="[A-Z]{5}"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="PortNameType">
<xs:restriction base="xs:string">
<xs:maxLength value="25"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="OPType">
<xs:restriction base="xs:string">
<xs:enumeration value="OE"/>
<xs:enumeration value="OI"/>
<xs:enumeration value="AE"/>
<xs:enumeration value="AI"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="LoadType">
<xs:restriction base="xs:string">
<xs:enumeration value="FCL"/>
<xs:enumeration value="CONSOL"/>
<xs:enumeration value="LCL"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="PayType">
<xs:restriction base="xs:string">
<xs:enumeration value="PP">
<xs:annotation>
<xs:documentation>Freight Prepaid</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="CC">
<xs:annotation>
<xs:documentation>Freight Collect</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="PartyType">
<xs:annotation>
<xs:documentation>CU - Customer (Include Shipper, Consignee,Notify Party) </xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:enumeration value="SH">
<xs:annotation>
<xs:documentation>SH: Shipper</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="CN">
<xs:annotation>
<xs:documentation>CN: Consignee</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="AG">
<xs:annotation>
<xs:documentation>AG: Agent</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="NP">
<xs:annotation>
<xs:documentation>NP: Notify Party</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="CU">
<xs:annotation>
<xs:documentation>Customer (Include Shipper, Consignee,Notify Party)</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="FD">
<xs:annotation>
<xs:documentation>Forwarder</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="EFTDateType">
<xs:union memberTypes="xs:date empty-string" />
</xs:simpleType>
<xs:simpleType name="EFTDateTimeType">
<xs:union memberTypes="xs:dateTime empty-string" />
</xs:simpleType>
<xs:simpleType name="empty-string">
<xs:restriction base="xs:string">
<xs:enumeration value="" />
</xs:restriction>
</xs:simpleType>
<xs:element name="Manifest">
<xs:complexType>
<xs:sequence>
<xs:element name="Header">
<xs:complexType>
<xs:sequence>
<xs:element type="xs:string" name="MessageID">
<xs:annotation>
<xs:documentation>Required, AN(20), Unique Transmission Number</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="ActionCode" fixed="A" >
<xs:annotation>
<xs:documentation>Required, ALPHA(1), (A - ADD)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="SenderCode">
<xs:annotation>
<xs:documentation>Required, ALPHA(3), EDI Sendor Code</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="MessageType" fixed="EDI">
<xs:annotation>
<xs:documentation>EDI Type, ALPHA(3), Value (EDI)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="CompanyCode">
<xs:annotation>
<xs:documentation>Required, ALPHA(4), EDI Group Code</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="BranchCode">
<xs:annotation>
<xs:documentation>Required, AN(3)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="SendDateTime">
<xs:annotation>
<xs:documentation>Required, YYYYMMDDHHMMSS</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="Version" default="1.4">
<xs:annotation>
<xs:documentation>Required, AN(3) "C" ===&gt; for data check only, "T" ===&gt; "Test" data</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Master">
<xs:complexType>
<xs:sequence>
<xs:element type="xs:string" name="MBLNumber">
<xs:annotation>
<xs:documentation>Required, AN(25), Master Bill of Lading Number</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="MasterFileNumber">
<xs:annotation>
<xs:documentation>Required, AN(20), Unique File Number from sender's system</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="OPType" name="OPType">
<xs:annotation>
<xs:documentation>Required, ALPHA(02) OE: Ocean Export, OI: Ocean Import</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="PartyRefCodeType" name="MBLOriginAgentCode" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, ALPHA(25), PartyType = AG</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="PartyRefCodeType" name="MBLDestAgentCode" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, ALPHA(25), PartyType = AG</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="PartyRefCodeType" name="MBLDestBillingAgentCode" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, ALPHA(25), PartyType = AG</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="PartyRefCodeType" name="MBLColoadAgentCode" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, ALPHA(25), PartyType = AG</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="CarrierCodeType" name="CarrierCode" minOccurs="0">
</xs:element>
<xs:element type="xs:string" name="CarrierName" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, AN(60)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="MasterServiceCode" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, ALPHA(02), (PP, DD, DP, PD)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="LoadType" name="MBLLoadType" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, ALPHA(06), (FCL, CONSOL, LCL)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="TypeOfMove" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, AN(10) (CY/CY, CFS/CFS, CY/CFS, CFS/CY, CY/RAMP) (DOOR/DOOR, CY/DOOR, CFS/DOOR, DOOR/CY, DOOR/CFS)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="PayType" name="MBLPayType" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, ALPHA(02), (CC, PP)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="MBLBLTypeCode" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, ALPHA(03), OBL (Original Bill), SEA (Sea Way Bill), SBL (Surrender Bill)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:boolean" name="MBLDirectIndicator" minOccurs="0" default="false">
<xs:annotation>
<xs:documentation>Optional, BOOLEAN, true,false</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="MBLBookingNo" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, AN(25), (Required for Service Type CY)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="EFTDateType" name="MBLBookingDate" minOccurs="0" nillable="true" >
<xs:annotation>
<xs:documentation>Conditional, YYYY-MM-DD, (Required for Service Type CY)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:int" name="MBLTotalPackage" default="0" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, N(09)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="MBLMarking" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, NTEXT</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="MBLDescription" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, NTEXT</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="WeightType" name="MBLWeightKg" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, N(8.2)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="CBMType" name="MBLVolumnCBM" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, N(7.3)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="SubMasterNo" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, AN(25)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:boolean" name="SeawayBLIndicator" minOccurs="0" default="false">
<xs:annotation>
<xs:documentation>Optional, AN(1) BOOLEAN, true,false</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="SCACCode" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, AN(4)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="ContractNo" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, AN(35)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="EFTDateTimeType" name="CutoffDate" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, YYYY-MM-DD HH:MM:SS</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Routing">
<xs:complexType>
<xs:sequence>
<xs:element type="xs:string" name="DepartVesselName" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, AN(25)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="DepartVoyageNo" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, AN(10)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="ArrivalVesselName" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, AN(25)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="ArrivalVoyageNo" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, AN(10)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="EFTDateTimeType" name="ETD" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, YYYY-MM-DD HH:MM:SS</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="EFTDateTimeType" name="ETA" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, YYYY-MM-DD HH:MM:SS</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="UNPortCodeType" name="LoadingPortCode" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, ALPHA(05)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="PortNameType" name="LoadingPortName" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, ALPHA(25)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="UNPortCodeType" name="TranshipPortCode" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, ALPHA(05)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="PortNameType" name="TranshipPortName" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, ALPHA(25)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="EFTDateType" name="TranshipDate" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, YYYY-MM-DD</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="UNPortCodeType" name="DischargePortCode" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, ALPHA(5)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="PortNameType" name="DischargePortName" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, ALPHA(25)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="UNPortCodeTypeOrEmpty" name="CarrierPlaceReceiptCode" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, ALPHA(5)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="PortNameType" name="CarrierPlaceReceipt" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, ALPHA(25)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="UNPortCodeTypeOrEmpty" name="CarrierPlaceDeliveryCode" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, ALPHA(5)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="EFTDateType" name="CarrierDateReceipt" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, YYYY-MM-DD</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="PortNameType" name="CarrierPlaceDelivery" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, ALPHA(25)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="EFTDateTimeType" name="CarrierDateDelivery" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, YYYY-MM-DD HH:MM:SS</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="EFTDateTimeType" name="ATD" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, YYYY-MM-DD HH:MM:SS</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="EFTDateTimeType" name="ATA" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, YYYY-MM-DD HH:MM:SS</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Containers" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="Container" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element type="xs:string" name="ContianerNumber">
<xs:annotation>
<xs:documentation>Required, AN(14)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="ContainerType">
<xs:annotation>
<xs:documentation>Required, AN(04), ISO 6346 http://en.wikipedia.org/wiki/ISO_6346</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="SealNumber">
<xs:annotation>
<xs:documentation>Optional, AN(15)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="SecondSealNo" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, AN(15)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:int" name="PieceCount" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, INT</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="WeightType" name="WeightKg" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, N(8.2)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="CBMType" name="CBM" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, N(7.3)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="UnitMeasureCode" minOccurs="0">
<xs:annotation>
<xs:documentation>Required, AN(03), http://www.aesdirect.gov/support/tables/odtc_uom.txt</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:boolean" name="ReeferIndicator" minOccurs="0" default="false">
<xs:annotation>
<xs:documentation>Conditional, BOOLEAN</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Reefer" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element type="xs:string" name="ReeferTemperature" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, AN(04), Conditions: ReeferIndicator = true, it is required</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="ReeferTemperatureUnit" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, ALPHA(02), (FA, CE), Conditions: ReeferIndicator = true, it is required</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="ReeferHumidityPercent" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, N(03),</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="ReeferAirCBMQuantity" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, AN(02), The number of Air Exchanges per Hour, Conditions: ReeferIndicator = true</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:boolean" name="ReeferGenSetIndicator" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, BOOLEAN, True if Genset is required</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:boolean" name="ReeferVentIndicator" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, BOOLEAN, True if Vent is required</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element type="xs:boolean" name="DGIndicator" minOccurs="0" default="false">
<xs:annotation>
<xs:documentation>Optional, BOOLEAN</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DangerousGoods" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element type="xs:string" name="DGMaterialCode" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, AN(10)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="DGMaterrialClass" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, AN(04)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="DGmaterialCodeQualifier" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, AN(01), I - Intergovernmental Maritime Organization (IMO) IMDG Code</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="DGMaterialDesc" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, AN(30), Hazardous Material Description</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="DGContact" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, AN(25), Hazardous Material Contact Person</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:int" name="DGUNPage" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, INT, UN Hazardous Material Page Number</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="DGLevel" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, AN(01), (1 - Very Danger, 2 - Medium Danger, 3 - Minor Danger)</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element type="xs:string" name="ImportContainerPickupNumber" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, AN(15), For Ocean Import CY Shipment, Container Pickup Number</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="EFTDateTimeType" name="ImportContainerLastFreeDate" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, YYYY-MM-DD HH:MM:SS, For Ocean Import CY Shipment, Last Free Date for each container</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Houses" >
<xs:complexType>
<xs:sequence>
<xs:element name="House" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element type="xs:string" name="HBLNumber">
<xs:annotation>
<xs:documentation>Required, AN(20)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="HBLDocNumber">
<xs:annotation>
<xs:documentation>Required, AN(20), Unique House Document Number from sender's system</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="PartyRefCodeType" name="ShipperCode">
<xs:annotation>
<xs:documentation>Required, ALPHA(25), PartyType = SH</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="PartyRefCodeType" name="ConsigneeCode">
<xs:annotation>
<xs:documentation>Required, ALPHA(25), PartyType = CN</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="PartyRefCodeType" name="NotifyPartyCode" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, ALPHA(25), PartyType = NP</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="HBLBookingNumber" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, ALPHA(20)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="EFTDateType" name="HBLBookingDate" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, YYYY-MM-DD</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="HBLServiceCode" minOccurs="0">
<xs:annotation>
<xs:documentation>Required, AN(10) (CY/CY, CFS/CFS, CY/CFS, CFS/CY, CY/RAMP) (DOOR/DOOR, CY/DOOR, CFS/DOOR, DOOR/CY, DOOR/CFS)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="PayType" name="HBLPayType" minOccurs="0">
<xs:annotation>
<xs:documentation>Required, AN(02), (PP: Prepaid, CC: Collect)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="HBLBLTypeCode" minOccurs="0">
<xs:annotation>
<xs:documentation>Required, ALPHA(03), E (Express HBL), O (Original HBL), T (Telex HBL)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="EFTDateType" name="FCRDate" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, YYYY-MM-DD, Freight Receipt Date / Place Receipt Date</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="UNPortCodeType" name="PlaceReceiptPortCode" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, AN(05), UN Port Code</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="PortNameType" name="PlaceReceipt" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, AN(25)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="UNPortCodeType" name="PlaceDeliveryPortCode" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, AN(05), UN Port Code</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="PortNameType" name="PlaceDelivery" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, AN(25)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="EFTDateTimeType" name="DateOfDelivery" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, YYYY-MM-DD HH:MM:SS</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="CountryCodeType" name="CountryOriginCode" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, AN(02), ISO 3166</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="CountryCodeType" name="UltimateCountryCode" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, AN(02), ISO 3166</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="HBLMarking" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, NTEXT</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="HBLDescription" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, NTEXT</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="HBLManifestDesc" minOccurs="0">
<xs:annotation>
<xs:documentation>Required, AN(60), Brief Merchandize Description</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:int" name="HBLTotalPackage" minOccurs="0" default="0">
<xs:annotation>
<xs:documentation>Optional, N(09)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="UnitMeasureCode" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, AN(3)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="WeightType" name="HBLWeightKg" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, Gross Weight N(8.2)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="CBMType" name="HBLCBM" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, N(7.3)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="WeightType" name="HBLManifestWeightKg" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, N(8.2)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="CBMType" name="HBLManifestCBM" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, N(7.3)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="HBLPacking" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, AN(35), Packing Description</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="HBLPacking1" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, AN(35), Packing Description</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:boolean" name="TelexReleaseIndicator" default="false" minOccurs="0">
<xs:annotation>
<xs:documentation>Optioal, BOOLEAN, true,false</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="PartyRefCodeType" name="FreightForwarderCode" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, ALPHA(25), PartyType = AG</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="PartyRefCodeType" name="HBLOriginAgentCode" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, ALPHA(25), PartyType = AG</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="PartyRefCodeType" name="HBLDestAgentCode" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, ALPHA(25), PartyType = AG</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="PartyRefCodeType" name="HBLColoadAgentCode" minOccurs="0">
<xs:annotation>
<xs:documentation>Required, ALPHA(25), PartyType = AG</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="PartyRefCodeType" name="HBLColoadNotifyAgentCode" minOccurs="0">
<xs:annotation>
<xs:documentation>Required, ALPHA(25), PartyType = AG</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="CustomerRefNo" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, ALPHA(30), Commercial Invoice Number</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="EFTDateType" name="ExportHoldDate" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, YYYY-MM-DD</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="EFTDateType" name="ExportClearDate" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, YYYY-MM-DD</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="HouseRemark" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, ALPHA(250), In Track &amp; Trace, this is Tracking Remark</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:boolean" name="ShipperHoldIndicator" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, AN(01) BOOLEAN, Indicate Shipper asked Hold on Release this shipment</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:boolean" name="ConsolMultiContainerIndicator" default="false" minOccurs="0">
<xs:annotation>
<xs:documentation>AN(01) BOOLEAN, default(false)
This is only for Consolidation Shipment,
true =&gt; One House is loaded to multiple containers
Type of Move is CFS, and Number of Containers is greater than 1</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="HouseContainers" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="HouseContainer">
<xs:complexType>
<xs:sequence>
<xs:element type="xs:string" name="MasterContianerNumber">
<xs:annotation>
<xs:documentation>Required, AN(14)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:int" name="Package" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, N(8.2)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="UnitMeasureCode" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, AN(03), http://www.aesdirect.gov/support/tables/odtc_uom.txt</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="WeightType" name="GrossWeight" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, N(8.2)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="CBMType" name="CBM" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, N(7.3)</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PurchaseOrders" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element type="xs:string" name="PONumber" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Optional, ALPHA(30)</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element type="xs:string" name="ACIDeliverytoCode" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, ALPHA(25), PartyType = CN</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ImportData" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element type="PartyRefCodeType" name="FreightLocationCode" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, ALPHA(25), PartyType = FL</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="ITNumber" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, ALPHA(20), Immediate Transport Number</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="ITIssueCityCode" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, AN(05), UN Port Code</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="EFTDateType" name="ITDate" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, YYYY-MM-DD</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="ITDestinationCityCode" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, AN(05), UN Port Code</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="EFTDateType" name="ITETA" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, YYYY-MM-DD</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="EFTDateType" name="InlandETA" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, ETA for CY &amp; CFS shipment YYYY-MM-DD</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="EFTDateType" name="InlandArrivalDate" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, ETA for CY &amp; CFS shipment YYYY-MM-DD</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="EFTDateType" name="ImportHoldDate" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, YYYY-MM-DD</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="EFTDateType" name="ImportClearDate" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, YYYY-MM-DD</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="EFTDateTimeType" name="CargoReleaseDate" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, YYYY-MM-DD HH:MM:SS, Required for CY Shipment</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="EFTDateTimeType" name="CargoAvailableDate" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, YYYY-MM-DD HH:MM:SS</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="DeliveryAppointmentNo" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, AN(05)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="EFTDateTimeType" name="DeliveryAppointmentDate" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, YYYY-MM-DD HH:MM:SS</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="EFTDateTimeType" name="TruckDepartedATD" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, YYYY-MM-DD HH:MM:SS</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="EFTDateType" name="LastFreeDate" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, YYYY-MM-DD </xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute type="xs:boolean" name="SplitIndicator" default="false"/>
</xs:complexType>
</xs:element>
<xs:element name="ShippingParties" >
<xs:complexType>
<xs:sequence>
<xs:element name="ShippingParty" minOccurs="2" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element type="PartyRefCodeType" name="PartyCode">
<xs:annotation>
<xs:documentation>Required, AN(25), Unique Idendifier for Shipping Party</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="PartyType">
<xs:annotation>
<xs:documentation>Required, ALPHA (2) SH: Shipper, CN: Consignee, NP: Notify Party, FL: Freight Location AG: Agent, BR: Broker, FD: Forwarder</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="PartyName">
<xs:annotation>
<xs:documentation>Required, AN(60), Company Name</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="CustomerOverride" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, AN(1000),Customer Override</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PartyAddress">
<xs:complexType>
<xs:sequence>
<xs:element type="CountryCodeType" name="CountryCode">
<xs:annotation>
<xs:documentation>Required, AN(02), ISO 3166</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="AddressLine1">
<xs:annotation>
<xs:documentation>Required, AN(60), Address Line 1</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="AddressLine2" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, AN(60), Address Line 2</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="City" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, AN(25)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="Region" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, AN(20), State or Province</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="SubDivisionCode" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, AN(04), UN Sub Division Code</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="PostalCode" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, AN(15)</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ContactPersons" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="Person">
<xs:complexType>
<xs:sequence>
<xs:element type="xs:string" name="ContactName" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, AN(25)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="ContactMail" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, AN(60)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="PhoneArea" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, AN(04)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="Phone" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, AN(20)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="FaxArea" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, AN(04)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="Fax" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional, AN(20)</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>