complexType tcip:CcPTVInspection
diagram
namespace http://www.TCIP-Adopted-03-00-01
children vehicle employee time ready issues localCcPTVInspection
used by
element tcip:ccPTVInspection
source <xs:complexType name="CcPTVInspection">
 
<xs:sequence>
   
<xs:element name="vehicle" type="CPTVehicleIden"/>
   
<xs:element name="employee" type="CPTEmployeeIden"/>
   
<!-- who performed PTV inspection -->
   
<xs:element name="time" type="CPT-DateTime"/>
   
<!-- when employee reported inspection -->
   
<xs:element name="ready" type="CPT-Boolean"/>
   
<xs:element name="issues" minOccurs="0">
     
<xs:complexType>
       
<xs:sequence minOccurs="0" maxOccurs="unbounded">
         
<xs:element name="issue" type="CC-PTVInspectionFault"/>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="localCcPTVInspection" type="local:CcPTVInspection" minOccurs="0"/>
 
</xs:sequence>
</xs:complexType>

element tcip:CcPTVInspection/vehicle
diagram
type tcip:CPTVehicleIden
properties
isRef 0
content complex
children vehicle-id agency-id vin
source <xs:element name="vehicle" type="CPTVehicleIden"/>

element tcip:CcPTVInspection/employee
diagram
type tcip:CPTEmployeeIden
properties
isRef 0
content complex
children employee-id agency-id firstName middleName lastName
source <xs:element name="employee" type="CPTEmployeeIden"/>

element tcip:CcPTVInspection/time
diagram
type tcip:CPT-DateTime
properties
isRef 0
content simple
source <xs:element name="time" type="CPT-DateTime"/>

element tcip:CcPTVInspection/ready
diagram
type tcip:CPT-Boolean
properties
isRef 0
content simple
source <xs:element name="ready" type="CPT-Boolean"/>

element tcip:CcPTVInspection/issues
diagram
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children issue
source <xs:element name="issues" minOccurs="0">
 
<xs:complexType>
   
<xs:sequence minOccurs="0" maxOccurs="unbounded">
     
<xs:element name="issue" type="CC-PTVInspectionFault"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element tcip:CcPTVInspection/issues/issue
diagram
type tcip:CC-PTVInspectionFault
properties
isRef 0
content simple
source <xs:element name="issue" type="CC-PTVInspectionFault"/>

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


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