complexType CargoVehicle
diagram
namespace http://www.IM-Draft-03-00-44a
children header summary registration powerUnits cargoUnits refToPlacards other towing qual localCargoVehicle
used by
elements MobileIDXWrapper/cargoVehicle IDX-Wrapper/cargoVehicleReports/cargoVehicleReport TrackInvolvedVehicle/vehicle
source <xs:complexType name="CargoVehicle">
 
<xs:sequence>
   
<xs:element name="header" type="Header"/>
   
<!-- if an inner element is not present then
         the header content of the message which
         carries this DF shall be applied to the
         context of this message. The header has the
         data creator,  time stamps,  location,
         and what to do when the message becomes
         old  (how to get a fresh one)  and the
         reference ID of this message or submessage --
>
   
<xs:element name="summary" type="ComVehicleHeader" minOccurs="0"/>
   
<!-- various key codes about the gross type and
         condition of the vehicle and cargo and the
         presence of placard or warning data
         (details in another message) --
>
   
<xs:element name="registration" minOccurs="0">
     
<xs:complexType>
       
<xs:sequence maxOccurs="32">
         
<xs:element name="registration-item" type="ComReg"/>
         
<!-- data concerning the commercial registration values,  note that this dupicates data found in the powerunits below. It need not be sent twice. -->
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="powerUnits" minOccurs="0">
     
<xs:complexType>
       
<xs:sequence maxOccurs="32">
         
<xs:element name="powerUnit" type="PowerUnits"/>
         
<!-- data about the truck,  train or other power unit single vehicles  (cargo components attached)  are here as well as illegal vehicles found to be hauling -->
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="cargoUnits" minOccurs="0">
     
<xs:complexType>
       
<xs:sequence maxOccurs="32">
         
<xs:element name="cargoUnit" type="CargoUnits"/>
         
<!-- data about the cargo units  (trailers, containers etc ... )  contents and shipping papers can be found in another message -->
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="refToPlacards" minOccurs="0">
     
<xs:simpleType>
       
<xs:restriction base="xs:string">
         
<xs:minLength value="0"/>
         
<xs:maxLength value="15"/>
       
</xs:restriction>
     
</xs:simpleType>
   
</xs:element>
   
<!-- a unique code to link to any IDX
         submessage with placard
         or warning data for this vehicle --
>
   
<xs:element name="other" minOccurs="0">
     
<xs:simpleType>
       
<xs:restriction base="xs:string">
         
<xs:minLength value="0"/>
         
<xs:maxLength value="1000"/>
       
</xs:restriction>
     
</xs:simpleType>
   
</xs:element>
   
<!-- free text information -->
   
<xs:element name="towing" minOccurs="0">
     
<xs:simpleType>
       
<xs:restriction base="xs:string">
         
<xs:minLength value="0"/>
         
<xs:maxLength value="1000"/>
       
</xs:restriction>
     
</xs:simpleType>
   
</xs:element>
   
<!-- any further data on tow points or recovery process -->
   
<xs:element name="qual" type="Reliability"/>
   
<!-- reliability estimate of the above 4 DEs
         this type is defined in the Base standard --
>
   
<xs:element name="localCargoVehicle" type="local:CargoVehicle" minOccurs="0"/>
 
</xs:sequence>
</xs:complexType>

element CargoVehicle/header
diagram
type Header
properties
isRef 0
content complex
children senderIncidentID inReplyTo pedigreeSequence sender basics issueTime updateTime expiryTime onExpiry urgency testMessage localHeader
source <xs:element name="header" type="Header"/>

element CargoVehicle/summary
diagram
type ComVehicleHeader
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children hasPlacards hasHazmat numOfPowerUnits numOfCargoUnits
source <xs:element name="summary" type="ComVehicleHeader" minOccurs="0"/>

element CargoVehicle/registration
diagram
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children registration-item
source <xs:element name="registration" minOccurs="0">
 
<xs:complexType>
   
<xs:sequence maxOccurs="32">
     
<xs:element name="registration-item" type="ComReg"/>
     
<!-- data concerning the commercial registration values,  note that this dupicates data found in the powerunits below. It need not be sent twice. -->
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element CargoVehicle/registration/registration-item
diagram
type ComReg
properties
isRef 0
content simple
facets
minLength 0
maxLength 200
source <xs:element name="registration-item" type="ComReg"/>

element CargoVehicle/powerUnits
diagram
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children powerUnit
source <xs:element name="powerUnits" minOccurs="0">
 
<xs:complexType>
   
<xs:sequence maxOccurs="32">
     
<xs:element name="powerUnit" type="PowerUnits"/>
     
<!-- data about the truck,  train or other power unit single vehicles  (cargo components attached)  are here as well as illegal vehicles found to be hauling -->
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element CargoVehicle/powerUnits/powerUnit
diagram
type PowerUnits
properties
isRef 0
content complex
children id handle condition conditionText axleCount protectionUsed airBagUse uderrideCode vehicleType vehicleTypeTxt towing vehicleData contains towingIssues
source <xs:element name="powerUnit" type="PowerUnits"/>

element CargoVehicle/cargoUnits
diagram
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children cargoUnit
source <xs:element name="cargoUnits" minOccurs="0">
 
<xs:complexType>
   
<xs:sequence maxOccurs="32">
     
<xs:element name="cargoUnit" type="CargoUnits"/>
     
<!-- data about the cargo units  (trailers, containers etc ... )  contents and shipping papers can be found in another message -->
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element CargoVehicle/cargoUnits/cargoUnit
diagram
type CargoUnits
properties
isRef 0
content complex
children header id handle condition conditionText axleCount protectionUsed airBagUse uderrideCode cargoUnitType cargoUnitText contains towingIssues qual localCargoUnits
source <xs:element name="cargoUnit" type="CargoUnits"/>

element CargoVehicle/refToPlacards
diagram
type restriction of xs:string
properties
isRef 0
minOcc 0
maxOcc 1
content simple
facets
minLength 0
maxLength 15
source <xs:element name="refToPlacards" minOccurs="0">
 
<xs:simpleType>
   
<xs:restriction base="xs:string">
     
<xs:minLength value="0"/>
     
<xs:maxLength value="15"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:element>

element CargoVehicle/other
diagram
type restriction of xs:string
properties
isRef 0
minOcc 0
maxOcc 1
content simple
facets
minLength 0
maxLength 1000
source <xs:element name="other" minOccurs="0">
 
<xs:simpleType>
   
<xs:restriction base="xs:string">
     
<xs:minLength value="0"/>
     
<xs:maxLength value="1000"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:element>

element CargoVehicle/towing
diagram
type restriction of xs:string
properties
isRef 0
minOcc 0
maxOcc 1
content simple
facets
minLength 0
maxLength 1000
source <xs:element name="towing" minOccurs="0">
 
<xs:simpleType>
   
<xs:restriction base="xs:string">
     
<xs:minLength value="0"/>
     
<xs:maxLength value="1000"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:element>

element CargoVehicle/qual
diagram
type Reliability
properties
isRef 0
content complex
children textual role roleText percent geometry
source <xs:element name="qual" type="Reliability"/>

element CargoVehicle/localCargoVehicle
diagram
type local:CargoVehicle
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children yourName
source <xs:element name="localCargoVehicle" type="local:CargoVehicle" minOccurs="0"/>


XML Schema documentation generated by
XMLSpy Schema Editor http://www.altova.com/xmlspy