Pass Thru Connector XML Database Schema (XSD)

 

This section features an example XML database schema for a full order upload using the Pass Thru Connector. This information provides field type and sizes needed for accurate input using one of the Pass Thru Connector Requests.

 

Download this XSD file

 

 

<?xml version="1.0" encoding="utf-8"?>

<xs:schema

   attributeFormDefault="unqualified"

   elementFormDefault="qualified"

   targetNamespace="http://www.moversconnect.net/1.01"

   xmlns:xs="http://www.w3.org/2001/XMLSchema"

   xmlns="http://www.moversconnect.net/1.01"

   id="Order">

   <!--

       This is the schema for a single order.  We also accept multiple orders.  Just supply

       an outer <Orders> element around one or more <Order></Order> elements.  However, there

       is a size limit on the total message length (~250K) so that is one reason to avoid

       multiple orders per request (the request will fail if it is too long).

       <Orders>

          (Order>...</Order>

          (Order>...</Order>

          (Order>...</Order>

          ...

          (Order>...</Order>

       <Orders>

   -->

   <xs:element name="Order" type="Order" />

   <xs:simpleType name="autoMakeType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="64" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="autoModelType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="12" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="externalVanlineCodeType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="32" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="firstNameType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="16" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="lastNameType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="26" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="driverNameType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="50" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="zipcodeType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="10" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="addressType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="60" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="cityType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="26" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="agentNumberType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="8" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="orderSegType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="16" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="ratingImportType">

       <xs:restriction base="xs:string">

          <xs:enumeration value="Rating" />

          <xs:enumeration value="Distribution" />

          <xs:enumeration value="TechMate" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="estimateNoType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="32" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="distributionCodeType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="10" />

      </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="cartonCodeType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="50" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="description50Type">

       <xs:restriction base="xs:string">

          <xs:maxLength value="50" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="description64Type">

       <xs:restriction base="xs:string">

          <xs:maxLength value="64" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="description128Type">

       <xs:restriction base="xs:string">

          <xs:maxLength value="128" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="varchar1Type">

       <xs:restriction base="xs:string">

          <xs:maxLength value="1" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="stateType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="2" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="revenueTypeType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="2" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="countyType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="32" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="countryType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="3" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="externalAddressLocationType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="32" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="accountType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="15" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="purchaseOrderNoType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="30" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="commodityType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="4" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="ratePlanType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="16" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="sectionType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="4" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="SubjectType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="256" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="vanLineCodeType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="10" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="vanLinePayMethodCodeType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="64" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="externalIdType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="60" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="emailType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="120" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="vanNumType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="12" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="cartonType">

       <xs:restriction base="xs:string">

          <xs:enumeration value="Container" />

          <xs:enumeration value="Packing" />

          <xs:enumeration value="Unpacking" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="bitType">

       <xs:restriction base="xs:string">

          <xs:enumeration value="1" />

          <xs:enumeration value="0" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="phoneAreaCodeType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="4" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="phoneLocalNumberType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="20" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="phoneExtensionType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="10" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="phoneCountryCode">

       <xs:restriction base="xs:string">

          <xs:enumeration value="CAN" />

          <xs:enumeration value="USA" />

          <xs:enumeration value="UNKNOWN" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="phoneXtraStopPhoneType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="50" />

          <xs:enumeration value="HOME" />

          <xs:enumeration value="WORK" />

          <xs:enumeration value="CONTACT" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="orderAddressType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="50" />

          <xs:enumeration value="ORIG" />

          <xs:enumeration value="DEST" />

          <xs:enumeration value="MOV2" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="phoneOrderPhoneType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="50" />

          <!-- These are supported shortcut values.  You can, however, supply any of

          the TypeName values in the OrderPhoneType table that are shipper phone types.

          These are also found in the admin tool under the "Shipper Phone Type" screen.

          You can utilize mapping feature to map your values to the MoversSuite values.

          <xs:enumeration value="ORIGHOME" />

          <xs:enumeration value="ORIGOTHR" />

          <xs:enumeration value="ORIGWORK" />

          <xs:enumeration value="DESTHOME" />

          <xs:enumeration value="DESTOTHR" />

          <xs:enumeration value="DESTWORK" />

          <xs:enumeration value="MOV2HOME" />

          <xs:enumeration value="MOV2WORK" />

          -->

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="employeeType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="21" />

          <xs:enumeration value="Coordinator" />

          <xs:enumeration value="Salesperson" />

          <xs:enumeration value="Order Creator" />

          <xs:enumeration value="Logistics Coordinator" />

          <xs:enumeration value="OA Coordinator" />

          <xs:enumeration value="OA Surveyor" />

          <xs:enumeration value="Revenue Clerk" />

          <xs:enumeration value="Driver" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="employeeNumberType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="8" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="driverNumberType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="15" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="userIDType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="256" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="valuationNameType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="40" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="vanLineNameType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="30" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="serviceDescriptionType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="64" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="shipmentDescriptionType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="64" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="registrationAuthType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="32" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="storageReqType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="64" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="payType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="20" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="leadVanLineCodeType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="32" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="payMethodType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="64" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="consignType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="4" />

          <xs:enumeration value="ORIG" />

          <xs:enumeration value="DEST" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="consignDescriptionType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="50" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="consignContactType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="50" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="originBaseCodeType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="5" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="destinationBaseCodeType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="5" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="gblNumberType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="16" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="rankGradeType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="10" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="ssnNumberType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="11" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="militaryBaseNameType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="32" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="shipmentStatusType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="32" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="internationalDirectionType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="32" />

          <xs:enumeration value="In" />

          <xs:enumeration value="Out" />

          <xs:enumeration value="ThirdCountry" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="internationalTransportationModeType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="128" />

          <xs:enumeration value="Full Container" />

          <xs:enumeration value="Lift Van" />

          <xs:enumeration value="Air" />

          <xs:enumeration value="Vehicle" />

          <xs:enumeration value="Overland" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="internationalTransportationType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="16" />

          <xs:enumeration value="Air" />

          <xs:enumeration value="Sea" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="internationalVoyageInfoType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="64" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="internationalPortCodeType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="15" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="reductionType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="128" />

          <xs:enumeration value="Percentage" />

          <xs:enumeration value="Flat Rate" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="reductionBasisType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="128" />

          <xs:enumeration value="Gross Amount" />

          <xs:enumeration value="Invoice Amount" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="contractCode">

       <xs:restriction base="xs:string">

          <xs:maxLength value="10" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="contractDescriptionType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="30" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="blDiscountType">

       <xs:restriction base="xs:decimal">

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="isLocalType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="1" />

          <xs:enumeration value="0" />

          <xs:enumeration value="1" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="cageCodeType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="6" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="sitLocationType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="32" />

          <xs:enumeration value="ORIG" />

          <xs:enumeration value="DEST" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="militaryCarrierType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="64" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="vendorNumberType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="15" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="selfHaulType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="1" />

          <xs:enumeration value="T" />

          <xs:enumeration value="F" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="rateTypeType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="16" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="pointOfServiceType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="16" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="militaryItemCodeType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="32" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="militaryItemCodeQualifierType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="32" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="branchOfServiceType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="32" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="codeOfServiceType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="32" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="scacNumberType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="4" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="militaryChannelType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="32" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="serviceOrderNumberType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="16" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="errorDataDescriptionType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="1024" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="externalMemoIdentifier">

       <xs:restriction base="xs:string">

          <xs:maxLength value="32" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="agentIDMssOrderID">

       <xs:restriction base="xs:string">

          <xs:maxLength value="21" />

       </xs:restriction>

   </xs:simpleType>

 

   <xs:simpleType name="agentType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="4" />

          <xs:enumeration value="BOOK" />

          <xs:enumeration value="ORIG" />

          <xs:enumeration value="HAUL" />

          <xs:enumeration value="DEST" />

          <xs:enumeration value="SURV" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="agentNameType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="30" />

       </xs:restriction>

   </xs:simpleType>

   <xs:simpleType name="extraStopType">

       <xs:restriction base="xs:string">

          <xs:maxLength value="4" />

          <xs:enumeration value="PICK" />

          <xs:enumeration value="DEL" />

       </xs:restriction>

   </xs:simpleType>

 

   <!--

Make sure you follow the order of elements as listed here. Our Xml processor is very   particular.

 

Your supplied data fields will get skipped if you change the order of the elements. For example, if you were to send the following INCORRECT address xml as part of your order:

 

   <Address>

       <Address1>111 Las Vegas Blvd</Address1>

       <Address2>Suite 1</Address2>

       <Address3>Room 111</Address3>

       <City>Las Vegas</City>

       <Country>USA</Country>

       <County>067</County>

       <Postal>89147-7812</Postal>

       <State>NV</State>

       <Type>ORIG</Type>

   </Address>

 

You will be dismayed to discover that the City, Country, County, Postal and State fields would get IGNORED.

   -->

   <xs:complexType name="Order">

       <xs:sequence>

          <xs:element minOccurs="0" maxOccurs="1" name="Addresses">

              <xs:complexType>

                 <xs:sequence>

                     <xs:element maxOccurs="unbounded" name="Address">

                        <xs:complexType>

                           <xs:sequence>

<xs:element minOccurs="0" maxOccurs="1" name="Address1" type="addressType" />

<xs:element minOccurs="0" maxOccurs="1" name="City" type="cityType" />

<xs:element minOccurs="0" maxOccurs="1" name="Country" type="countryType" />

<xs:element minOccurs="0" maxOccurs="1" name="County" type="xs:string" />

<xs:element minOccurs="0" maxOccurs="1" name="Postal" type="zipcodeType" />

<xs:element minOccurs="0" maxOccurs="1" name="State" type="stateType" />

<xs:element minOccurs="0" maxOccurs="1" name="Address2" type="addressType" />

<xs:element minOccurs="0" maxOccurs="1" name="Address3" type="addressType" />

<xs:element minOccurs="0" maxOccurs="1" name="Type" type="orderAddressType" />

                           </xs:sequence>

                        </xs:complexType>

                     </xs:element>

                 </xs:sequence>

              </xs:complexType>

          </xs:element>

          <xs:element minOccurs="0" maxOccurs="1" name="Agents">

              <xs:complexType>

                 <xs:sequence>

                     <xs:element minOccurs="0" maxOccurs="unbounded" name="Agent">

                        <xs:complexType>

                           <xs:sequence>

<xs:element minOccurs="0" maxOccurs="1" name="AgentID" type="agentNumberType" />

<xs:element minOccurs="0" maxOccurs="1" name="AgentName" type="agentNameType" />

<xs:element minOccurs="0" maxOccurs="1" name="Type" type="agentType" />

                           </xs:sequence>

                        </xs:complexType>

                     </xs:element>

                 </xs:sequence>

              </xs:complexType>

          </xs:element>

          <!-- AllowEmptyOrderCreate must be true if the order has no order number. -->

          <xs:element name="AllowEmptyOrderCreate" type="xs:boolean" />

          <xs:element minOccurs="0" maxOccurs="1" name="AssignedOn" type="xs:date" />

          <xs:element minOccurs="0" maxOccurs="1" name="Automobile">

              <xs:complexType>

                 <xs:sequence>

<xs:element minOccurs="0" maxOccurs="1" name="Make" type="autoMakeType" />

<xs:element minOccurs="0" maxOccurs="1" name="Model" type="autoModelType" />

<xs:element minOccurs="0" maxOccurs="1" name="Weight" type="xs:unsignedShort" />

<xs:element minOccurs="0" maxOccurs="1" name="WithShipment" type="xs:boolean" />

<xs:element minOccurs="0" maxOccurs="1" name="Year" type="xs:unsignedShort" />

                 </xs:sequence>

              </xs:complexType>

          </xs:element>

          <xs:element minOccurs="0" maxOccurs="1" name="Commodity" type="commodityType" />

          <xs:element minOccurs="0" maxOccurs="1" name="Consigns">

              <xs:complexType>

                 <xs:sequence>

                     <xs:element maxOccurs="unbounded" name="Consign">

                        <xs:complexType>

                           <xs:sequence>

<xs:element minOccurs="0" maxOccurs="1"  name="EMail" type="xs:string" />

<xs:element minOccurs="0" maxOccurs="1"  name="Description" type="consignDescriptionType" />

<xs:element minOccurs="0" maxOccurs="1" name="Name" type="xs:string" />

                               <xs:element minOccurs="0" maxOccurs="1" name="Phone">

                                  <xs:complexType>

                                      <xs:sequence>

<xs:element minOccurs="0" maxOccurs="1" name="Area" type="phoneAreaCodeType" />

<xs:element minOccurs="0" maxOccurs="1" name="Country" type="countryType" />

<xs:element minOccurs="0" maxOccurs="1" name="Ext" type="phoneExtensionType" />

<xs:element minOccurs="0" maxOccurs="1" name="Local" type="phoneLocalNumberType" />

                                      </xs:sequence>

                                  </xs:complexType>

                               </xs:element>

<xs:element minOccurs="1" maxOccurs="1" name="Type" type="consignType" />

                           </xs:sequence>

                        </xs:complexType>

                     </xs:element>

                 </xs:sequence>

              </xs:complexType>

          </xs:element>

          <xs:element minOccurs="0" maxOccurs="1" name="DelvActual" type="xs:date" />

          <xs:element minOccurs="0" maxOccurs="1" name="DelvEarly" type="xs:date" />

          <xs:element minOccurs="0" maxOccurs="1" name="DelvLate" type="xs:date" />

          <xs:element minOccurs="0" maxOccurs="1" name="DelvPref" type="xs:date" />

          <xs:element minOccurs="0" maxOccurs="1" name="DriverInfo">

              <xs:complexType>

                 <xs:sequence>

<xs:element minOccurs="0" maxOccurs="1" name="Agent" type="xs:unsignedShort" />

<xs:element minOccurs="0" maxOccurs="1" name="AgentCode" type="xs:string" />

<xs:element minOccurs="0" maxOccurs="1" name="Email" type="xs:string" />

<xs:element minOccurs="0" maxOccurs="1" name="FirstName" type="xs:string" />

<xs:element minOccurs="0" maxOccurs="1" name="LastName" type="xs:string" />

                     <xs:element minOccurs="0" maxOccurs="1" name="Phone">

                        <xs:complexType>

                           <xs:sequence>

<xs:element minOccurs="0" maxOccurs="1" name="Area" type="xs:unsignedShort" />

<xs:element minOccurs="0" maxOccurs="1" name="Country" type="xs:unsignedByte" />

<xs:element minOccurs="0" maxOccurs="1" name="Ext" type="xs:unsignedByte" />

<xs:element minOccurs="0" maxOccurs="1" name="Local" type="xs:string" />

                           </xs:sequence>

                        </xs:complexType>

                     </xs:element>

<xs:element minOccurs="0" maxOccurs="1" name="UserId" type="xs:string" />

                     <xs:element minOccurs="0" maxOccurs="1" name="Van" type="xs:string" />

                 </xs:sequence>

              </xs:complexType>

          </xs:element>

          <xs:element minOccurs="0" maxOccurs="1" name="EMail" type="emailType" />

          <xs:element minOccurs="0" maxOccurs="1" name="ETA" type="xs:date" />

<xs:element minOccurs="0" maxOccurs="1" name="EstimatedWeight" type="xs:unsignedShort" />

          <xs:element minOccurs="0" maxOccurs="1" name="ExtraStops">

              <xs:complexType>

                 <xs:sequence>

                     <xs:element minOccurs="0" maxOccurs="unbounded" name="ExtraStop">

                        <xs:complexType>

                           <xs:sequence>

<xs:element minOccurs="0" maxOccurs="1" name="Address1" type="addressType" />

<xs:element minOccurs="0" maxOccurs="1" name="City" type="cityType" />

<xs:element minOccurs="0" maxOccurs="1" name="Country" type="xs:string" />

<xs:element minOccurs="0" maxOccurs="1" name="CountryCode" type="countryType" />

<xs:element minOccurs="0" maxOccurs="1" name="Postal" type="zipcodeType" />

<xs:element minOccurs="0" maxOccurs="1" name="State" type="stateType" />

<xs:element minOccurs="0" maxOccurs="1" name="Address2" type="addressType" />

<xs:element minOccurs="0" maxOccurs="1" name="Address3" type="addressType" />

<xs:element minOccurs="0" maxOccurs="1" name="Company" type="description50Type" />

<xs:element minOccurs="0" maxOccurs="1" name="Contact" type="description50Type" />

                               <xs:element minOccurs="0" maxOccurs="1" name="Phones">

                                  <xs:complexType>

                                      <xs:sequence>

<xs:element minOccurs="0" maxOccurs="unbounded" name="ExtraStopPhone">

                                             <xs:complexType>

                                                <xs:sequence>

<xs:element minOccurs="0" maxOccurs="1" name="Area" type="phoneAreaCodeType" />

<xs:element minOccurs="0" maxOccurs="1" name="Country" type="countryType" />

<xs:element minOccurs="0" maxOccurs="1" name="Ext" type="phoneExtensionType" />

<xs:element minOccurs="0" maxOccurs="1" name="Local" type="phoneLocalNumberType" />

<xs:element minOccurs="1" maxOccurs="1" name="Type" type="phoneXtraStopPhoneType" />

                                                </xs:sequence>

                                             </xs:complexType>

                                         </xs:element>

                                      </xs:sequence>

                                  </xs:complexType>

                               </xs:element>

<xs:element minOccurs="1" maxOccurs="1" name="StopNumber" type="xs:unsignedByte" />

<xs:element minOccurs="1" maxOccurs="1" name="Type" type="extraStopType" />

                           </xs:sequence>

                        </xs:complexType>

                     </xs:element>

                 </xs:sequence>

              </xs:complexType>

          </xs:element>

          <xs:element minOccurs="0" maxOccurs="1" name="FirstName" type="firstNameType" />

          <xs:element minOccurs="0" maxOccurs="1" name="LastName" type="lastNameType" />

<xs:element minOccurs="0" maxOccurs="1" name="LeadSource" type="leadVanLineCodeType" />

          <xs:element minOccurs="0" maxOccurs="1" name="LoadActual" type="xs:date" />

          <xs:element minOccurs="0" maxOccurs="1" name="LoadEarly" type="xs:date" />

          <xs:element minOccurs="0" maxOccurs="1" name="LoadLate" type="xs:date" />

          <xs:element minOccurs="0" maxOccurs="1" name="LoadPref" type="xs:date" />

          <xs:element minOccurs="0" maxOccurs="1" name="Memos">

              <xs:complexType>

                 <xs:sequence>

                     <xs:element minOccurs="0" maxOccurs="unbounded" name="OrderMemo">

                        <xs:complexType>

                           <xs:sequence>

<xs:element minOccurs="0" maxOccurs="1" name="CreateDate" type="xs:date" />

<xs:element minOccurs="0" maxOccurs="1" name="ExternalNoteId"/>

                               <xs:element minOccurs="1" maxOccurs="1" name="NoteMemos">

                                  <xs:complexType>

                                      <xs:sequence>

<xs:element minOccurs="1" maxOccurs="unbounded" name="string" type="xs:string" />

                                      </xs:sequence>

                                  </xs:complexType>

                               </xs:element>

<xs:element minOccurs="0" maxOccurs="1" name="NoteSubject" type="SubjectType" />

<xs:element minOccurs="0" maxOccurs="1" name="VanLineCode" type="vanLineCodeType" />

                           </xs:sequence>

                        </xs:complexType>

                     </xs:element>

                 </xs:sequence>

              </xs:complexType>

          </xs:element>

          <xs:element minOccurs="0" maxOccurs="1" name="Military">

              <xs:complexType>

                 <xs:sequence>

<xs:element minOccurs="0" maxOccurs="1" name="DestinationBaseCode" type="destinationBaseCodeType" />

<xs:element minOccurs="0" maxOccurs="1" name="GblNumber" type="gblNumberType" />

<xs:element minOccurs="0" maxOccurs="1" name="OriginBaseCode" type="originBaseCodeType" />

<xs:element minOccurs="0" maxOccurs="1" name="RankGrade" type="rankGradeType" />

<xs:element minOccurs="0" maxOccurs="1" name="SsnNumber" type="ssnNumberType" />

                 </xs:sequence>

              </xs:complexType>

          </xs:element>

          <xs:element minOccurs="0" maxOccurs="1" name="OrderNumber">

              <xs:complexType>

                 <xs:sequence>

<xs:element minOccurs="0" maxOccurs="1" name="EstimateNo" type="estimateNoType" />

<xs:element minOccurs="0" maxOccurs="1" name="ExternalID" type="externalIdType" />

<xs:element minOccurs="0" maxOccurs="1" name="OSeg" type="varchar1Type" />

<xs:element minOccurs="0" maxOccurs="1" name="OrderSeg" type="orderSegType" />

<xs:element minOccurs="0" maxOccurs="1" name="PSeg" type="varchar1Type" />

<xs:element minOccurs="0" maxOccurs="1" name="SSeg" type="varchar1Type" />

<xs:element minOccurs="0" maxOccurs="1" name="VanLineID" type="externalVanlineCodeType" />

<xs:element minOccurs="1" maxOccurs="1" name="XmlSystemDataTypeMapName" type="description64Type" />

                 </xs:sequence>

              </xs:complexType>

          </xs:element>

          <xs:element minOccurs="0" maxOccurs="1" name="PackActual" type="xs:date" />

          <xs:element minOccurs="0" maxOccurs="1" name="PackEarly" type="xs:date" />

          <xs:element minOccurs="0" maxOccurs="1" name="PackLate" type="xs:date" />

          <xs:element minOccurs="0" maxOccurs="1" name="PackPref" type="xs:date" />

          <xs:element minOccurs="0" maxOccurs="unbounded" name="Phones">

              <xs:complexType>

                 <xs:sequence>

                     <xs:element maxOccurs="unbounded" name="OrderPhone">

                        <xs:complexType>

                           <xs:sequence>

<xs:element minOccurs="0" maxOccurs="1" name="Area" type="xs:unsignedShort" />

<xs:element minOccurs="0" maxOccurs="1" name="Country" type="xs:unsignedByte" />

<xs:element minOccurs="0" maxOccurs="1" name="Local" type="xs:string" />

<xs:element minOccurs="1" maxOccurs="1" name="Type" type="phoneOrderPhoneType" />

                           </xs:sequence>

                        </xs:complexType>

                     </xs:element>

                 </xs:sequence>

              </xs:complexType>

          </xs:element>

          <xs:element minOccurs="0" maxOccurs="1" name="SalespersonId" type="userIDType" />

<xs:element minOccurs="0" maxOccurs="1" name="ShipmentStatus" type="shipmentStatusType" />

<xs:element minOccurs="0" maxOccurs="1" name="ShipmentType" type="vanLineCodeType" />

          <xs:element minOccurs="0" maxOccurs="1" name="SitInfos">

              <xs:complexType>

                 <xs:sequence>

                     <xs:element minOccurs="0" maxOccurs="unbounded" name="SitInformation">

                        <xs:complexType>

                           <xs:sequence>

<xs:element minOccurs="0" maxOccurs="1" name="AgentId" type="agentNumberType" />

<xs:element minOccurs="0" maxOccurs="1" name="Authorization" type="description128Type" />

<xs:element minOccurs="0" maxOccurs="1" name="DateIntoSitActual" type="xs:date" />

<xs:element minOccurs="0" maxOccurs="1" name="DateIntoSitEstimated" type="xs:date" />

<xs:element minOccurs="0" maxOccurs="1" name="DateOutSitActual" type="xs:date" />

<xs:element minOccurs="0" maxOccurs="1" name="DateOutSitEstimated" type="xs:date" />

<xs:element minOccurs="0" maxOccurs="1" name="Days" type="xs:unsignedByte" />

<xs:element minOccurs="1" maxOccurs="1" name="Type" type="sitLocationType" />

<xs:element minOccurs="0" maxOccurs="1" name="VanLineID" type="varchar1Type" />

                           </xs:sequence>

                        </xs:complexType>

                     </xs:element>

                 </xs:sequence>

              </xs:complexType>

          </xs:element>

          <xs:element minOccurs="0" maxOccurs="1" name="Voyages">

              <xs:complexType>

                 <xs:sequence>

<xs:element minOccurs="0" maxOccurs="unbounded" name="InternationalVoyage">

                        <xs:complexType>

                           <xs:sequence>

<xs:element minOccurs="0" maxOccurs="1" name="ActArrival" type="xs:date" />

<xs:element minOccurs="0" maxOccurs="1" name="ActDeparture" type="xs:date" />

<xs:element minOccurs="0" maxOccurs="1" name="EstArrival" type="xs:date" />

<xs:element minOccurs="0" maxOccurs="1" name="EstDeparture" type="xs:date" />

<xs:element minOccurs="0" maxOccurs="1" name="Info" type="internationalVoyageInfoType" />

<xs:element minOccurs="0" maxOccurs="1" name="PortCode" type="internationalPortCodeType" />

<xs:element minOccurs="0" maxOccurs="1" name="PortName" type="description128Type" />

<xs:element minOccurs="1" maxOccurs="1" name="Type" type="internationalTransportationType" />

                           </xs:sequence>

                        </xs:complexType>

                     </xs:element>

                 </xs:sequence>

              </xs:complexType>

          </xs:element>

          <xs:element minOccurs="0" maxOccurs="1" name="Weight" type="xs:unsignedShort" />

       </xs:sequence>

   </xs:complexType>

</xs:schema>