complexType WitnessStatement
diagram
namespace http://www.IM-Draft-03-00-44a
children header role roleText statement localWitnessStatement
used by
elements InfrastructureReport/reportedBy MobileIDXWrapper/witnessStatement IDX-Wrapper/witnessStatementReports/witnessStatementReport
source <xs:complexType name="WitnessStatement">
 
<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="role" minOccurs="0">
     
<xs:complexType>
       
<xs:sequence maxOccurs="4">
         
<xs:element name="role-item" type="RoleInEvent"/>
         
<!-- Roles in the event -->
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="roleText" type="FreeText" minOccurs="0"/>
   
<!-- a free text Roles in the event -->
   
<xs:element name="statement" type="WitnessList"/>
   
<!-- the witness statement,  paired with a description
         of the witness and a reliability estimate
         and data about the person involved --
>
   
<xs:element name="localWitnessStatement" type="local:WitnessStatement" minOccurs="0"/>
 
</xs:sequence>
</xs:complexType>

element WitnessStatement/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 WitnessStatement/role
diagram
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children role-item
source <xs:element name="role" minOccurs="0">
 
<xs:complexType>
   
<xs:sequence maxOccurs="4">
     
<xs:element name="role-item" type="RoleInEvent"/>
     
<!-- Roles in the event -->
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element WitnessStatement/role/role-item
diagram
type RoleInEvent
properties
isRef 0
content simple
source <xs:element name="role-item" type="RoleInEvent"/>

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

element WitnessStatement/statement
diagram
type WitnessList
properties
isRef 0
content complex
children witness
source <xs:element name="statement" type="WitnessList"/>

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


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