complexType PowerUnits
diagram
namespace http://www.IM-Draft-03-00-44a
children id handle condition conditionText axleCount protectionUsed airBagUse uderrideCode vehicleType vehicleTypeTxt towing vehicleData contains towingIssues
used by
element CargoVehicle/powerUnits/powerUnit
annotation
documentation
      
            see the CommercialVehicle submessage  (which this structure
            is used in)  for additional information about commercial
            registration values
        
source <xs:complexType name="PowerUnits">
 
<xs:annotation>
   
<xs:documentation>      
            see the CommercialVehicle submessage  (which this structure
            is used in)  for additional information about commercial
            registration values
        
</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="id" type="PowerUnitID"/>
   
<!-- the reference number for this unit / object
         (typically assigned by the CAD) --
>
   
<xs:element name="handle" minOccurs="0">
     
<xs:simpleType>
       
<xs:restriction base="xs:string">
         
<xs:minLength value="1"/>
         
<xs:maxLength value="32"/>
       
</xs:restriction>
     
</xs:simpleType>
   
</xs:element>
   
<!-- a human readable / assigned name for the object
         (typically assigned by on scene personal,  such as &quot;red_truck&quot;) --
>
   
<xs:element name="condition" minOccurs="0">
     
<xs:complexType>
       
<xs:sequence maxOccurs="32">
         
<xs:element name="condition-item" type="UnitCondition"/>
         
<!-- the current condition of this vehicle place most relevant one first in list -->
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="conditionText" type="FreeText" minOccurs="0"/>
   
<!-- any free text condition of this cargo unit -->
   
<xs:element name="axleCount" type="AxleCount" minOccurs="0"/>
   
<!-- wieght to be added too -->
   
<xs:element name="protectionUsed" type="OccupantProtectionSystemUsed" minOccurs="0"/>
   
<xs:element name="airBagUse" type="AirBagDeployed" minOccurs="0"/>
   
<xs:element name="uderrideCode" type="UnderrideOverrideCode" minOccurs="0"/>
   
<xs:element name="vehicleType" type="PowerUnitType" minOccurs="0"/>
   
<!-- a list of common power unit types -->
   
<xs:element name="vehicleTypeTxt" type="FreeText" minOccurs="0"/>
   
<!-- free text when above list is not suitable -->
   
<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="vehicleData" type="VehicleData" minOccurs="0"/>
   
<!-- various data about the unit such as
         license number,  VIN etc.
         most of the actual elements come from
         SAE and other
         industry standards such as NCIC work --
>
   
<xs:element name="contains" minOccurs="0">
     
<xs:complexType>
       
<xs:sequence maxOccurs="32">
         
<xs:element name="contain" type="Contents"/>
         
<!-- information on any specific packages and cargo found here includes proper shipping name,  hazmat labels,  and location within unit -->
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="towingIssues" type="FreeText" minOccurs="0"/>
   
<!-- any special issues with recovery or towing to be
         aware of would be placed here. --
>
 
</xs:sequence>
</xs:complexType>

element PowerUnits/id
diagram
type PowerUnitID
properties
isRef 0
content simple
facets
minLength 0
maxLength 50
source <xs:element name="id" type="PowerUnitID"/>

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

element PowerUnits/condition
diagram
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children condition-item
source <xs:element name="condition" minOccurs="0">
 
<xs:complexType>
   
<xs:sequence maxOccurs="32">
     
<xs:element name="condition-item" type="UnitCondition"/>
     
<!-- the current condition of this vehicle place most relevant one first in list -->
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element PowerUnits/condition/condition-item
diagram
type UnitCondition
properties
isRef 0
content simple
source <xs:element name="condition-item" type="UnitCondition"/>

element PowerUnits/conditionText
diagram
type FreeText
properties
isRef 0
minOcc 0
maxOcc 1
content simple
facets
minLength 1
maxLength 500
source <xs:element name="conditionText" type="FreeText" minOccurs="0"/>

element PowerUnits/axleCount
diagram
type AxleCount
properties
isRef 0
minOcc 0
maxOcc 1
content simple
facets
maxInclusive 16
source <xs:element name="axleCount" type="AxleCount" minOccurs="0"/>

element PowerUnits/protectionUsed
diagram
type OccupantProtectionSystemUsed
properties
isRef 0
minOcc 0
maxOcc 1
content simple
source <xs:element name="protectionUsed" type="OccupantProtectionSystemUsed" minOccurs="0"/>

element PowerUnits/airBagUse
diagram
type AirBagDeployed
properties
isRef 0
minOcc 0
maxOcc 1
content simple
source <xs:element name="airBagUse" type="AirBagDeployed" minOccurs="0"/>

element PowerUnits/uderrideCode
diagram
type UnderrideOverrideCode
properties
isRef 0
minOcc 0
maxOcc 1
content simple
source <xs:element name="uderrideCode" type="UnderrideOverrideCode" minOccurs="0"/>

element PowerUnits/vehicleType
diagram
type PowerUnitType
properties
isRef 0
minOcc 0
maxOcc 1
content simple
source <xs:element name="vehicleType" type="PowerUnitType" minOccurs="0"/>

element PowerUnits/vehicleTypeTxt
diagram
type FreeText
properties
isRef 0
minOcc 0
maxOcc 1
content simple
facets
minLength 1
maxLength 500
source <xs:element name="vehicleTypeTxt" type="FreeText" minOccurs="0"/>

element PowerUnits/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 PowerUnits/vehicleData
diagram
type VehicleData
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children header vehicle registration id fleetnum text axleCount driverID driverData licAndState licIssuingCountry localVehicleData
source <xs:element name="vehicleData" type="VehicleData" minOccurs="0"/>

element PowerUnits/contains
diagram
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children contain
source <xs:element name="contains" minOccurs="0">
 
<xs:complexType>
   
<xs:sequence maxOccurs="32">
     
<xs:element name="contain" type="Contents"/>
     
<!-- information on any specific packages and cargo found here includes proper shipping name,  hazmat labels,  and location within unit -->
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element PowerUnits/contains/contain
diagram
type Contents
properties
isRef 0
content complex
children packingType condition conditionText description item subLocation qual1 source qual2 packageUnitId handle
source <xs:element name="contain" type="Contents"/>

element PowerUnits/towingIssues
diagram
type FreeText
properties
isRef 0
minOcc 0
maxOcc 1
content simple
facets
minLength 1
maxLength 500
source <xs:element name="towingIssues" type="FreeText" minOccurs="0"/>


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