complexType NeedRescueServices
diagram
namespace http://www.IM-Draft-03-00-44a
children header history rescues localNeedRescueServices
used by
elements MobileIDXWrapper/needRescueServices IDX-Wrapper/needRescueServicesReports/needRescueServicesReport
source <xs:complexType name="NeedRescueServices">
 
<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="history" type="PremiseHistory" minOccurs="0"/>
   
<xs:element name="rescues">
     
<xs:complexType>
       
<xs:sequence maxOccurs="64">
         
<xs:element name="rescue">
           
<xs:complexType>
             
<xs:sequence>
               
<!-- RescueReports -->
               
<xs:element name="victimCount">
                 
<xs:simpleType>
                   
<xs:restriction base="xs:unsignedShort">
                     
<xs:maxInclusive value="1001"/>
                   
</xs:restriction>
                 
</xs:simpleType>
               
</xs:element>
               
<!-- use zero when count is unknown
                           use 1001 when count exceeds 1000 --
>
               
<xs:element name="refs" minOccurs="0">
                 
<xs:complexType>
                   
<xs:sequence minOccurs="0" maxOccurs="1000">
                     
<xs:element name="ref" type="ReferenceID"/>
                     
<!-- a set of pointers to each complete person in this class  (if known) -->
                   
</xs:sequence>
                 
</xs:complexType>
               
</xs:element>
               
<xs:element name="reason" minOccurs="0">
                 
<xs:complexType>
                   
<xs:choice>
                     
<xs:element name="trapped" type="TrappedList"/>
                     
<xs:element name="danger" type="DangerList"/>
                     
<xs:element name="other" type="FreeText"/>
                   
</xs:choice>
                 
</xs:complexType>
               
</xs:element>
               
<xs:element name="urgency" minOccurs="0">
                 
<xs:simpleType>
                   
<xs:restriction base="xs:unsignedByte">
                     
<xs:maxInclusive value="10"/>
                   
</xs:restriction>
                 
</xs:simpleType>
               
</xs:element>
               
<!-- where 10 is most urgent -->
               
<xs:element name="where" type="lrms:LocationReference" minOccurs="0"/>
               
<xs:element name="whereText" type="FreeText" minOccurs="0"/>
               
<xs:element name="why" type="FreeText" minOccurs="0"/>
               
<!-- reason for rescue -->
               
<xs:element name="lastContact" type="atis:DateTimePair" minOccurs="0"/>
             
</xs:sequence>
           
</xs:complexType>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="localNeedRescueServices" type="local:NeedRescueServices" minOccurs="0"/>
 
</xs:sequence>
</xs:complexType>

element NeedRescueServices/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 NeedRescueServices/history
diagram
type PremiseHistory
properties
isRef 0
minOcc 0
maxOcc 1
content simple
source <xs:element name="history" type="PremiseHistory" minOccurs="0"/>

element NeedRescueServices/rescues
diagram
properties
isRef 0
content complex
children rescue
source <xs:element name="rescues">
 
<xs:complexType>
   
<xs:sequence maxOccurs="64">
     
<xs:element name="rescue">
       
<xs:complexType>
         
<xs:sequence>
           
<!-- RescueReports -->
           
<xs:element name="victimCount">
             
<xs:simpleType>
               
<xs:restriction base="xs:unsignedShort">
                 
<xs:maxInclusive value="1001"/>
               
</xs:restriction>
             
</xs:simpleType>
           
</xs:element>
           
<!-- use zero when count is unknown
                           use 1001 when count exceeds 1000 --
>
           
<xs:element name="refs" minOccurs="0">
             
<xs:complexType>
               
<xs:sequence minOccurs="0" maxOccurs="1000">
                 
<xs:element name="ref" type="ReferenceID"/>
                 
<!-- a set of pointers to each complete person in this class  (if known) -->
               
</xs:sequence>
             
</xs:complexType>
           
</xs:element>
           
<xs:element name="reason" minOccurs="0">
             
<xs:complexType>
               
<xs:choice>
                 
<xs:element name="trapped" type="TrappedList"/>
                 
<xs:element name="danger" type="DangerList"/>
                 
<xs:element name="other" type="FreeText"/>
               
</xs:choice>
             
</xs:complexType>
           
</xs:element>
           
<xs:element name="urgency" minOccurs="0">
             
<xs:simpleType>
               
<xs:restriction base="xs:unsignedByte">
                 
<xs:maxInclusive value="10"/>
               
</xs:restriction>
             
</xs:simpleType>
           
</xs:element>
           
<!-- where 10 is most urgent -->
           
<xs:element name="where" type="lrms:LocationReference" minOccurs="0"/>
           
<xs:element name="whereText" type="FreeText" minOccurs="0"/>
           
<xs:element name="why" type="FreeText" minOccurs="0"/>
           
<!-- reason for rescue -->
           
<xs:element name="lastContact" type="atis:DateTimePair" minOccurs="0"/>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element NeedRescueServices/rescues/rescue
diagram
properties
isRef 0
content complex
children victimCount refs reason urgency where whereText why lastContact
source <xs:element name="rescue">
 
<xs:complexType>
   
<xs:sequence>
     
<!-- RescueReports -->
     
<xs:element name="victimCount">
       
<xs:simpleType>
         
<xs:restriction base="xs:unsignedShort">
           
<xs:maxInclusive value="1001"/>
         
</xs:restriction>
       
</xs:simpleType>
     
</xs:element>
     
<!-- use zero when count is unknown
                           use 1001 when count exceeds 1000 --
>
     
<xs:element name="refs" minOccurs="0">
       
<xs:complexType>
         
<xs:sequence minOccurs="0" maxOccurs="1000">
           
<xs:element name="ref" type="ReferenceID"/>
           
<!-- a set of pointers to each complete person in this class  (if known) -->
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="reason" minOccurs="0">
       
<xs:complexType>
         
<xs:choice>
           
<xs:element name="trapped" type="TrappedList"/>
           
<xs:element name="danger" type="DangerList"/>
           
<xs:element name="other" type="FreeText"/>
         
</xs:choice>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="urgency" minOccurs="0">
       
<xs:simpleType>
         
<xs:restriction base="xs:unsignedByte">
           
<xs:maxInclusive value="10"/>
         
</xs:restriction>
       
</xs:simpleType>
     
</xs:element>
     
<!-- where 10 is most urgent -->
     
<xs:element name="where" type="lrms:LocationReference" minOccurs="0"/>
     
<xs:element name="whereText" type="FreeText" minOccurs="0"/>
     
<xs:element name="why" type="FreeText" minOccurs="0"/>
     
<!-- reason for rescue -->
     
<xs:element name="lastContact" type="atis:DateTimePair" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element NeedRescueServices/rescues/rescue/victimCount
diagram
type restriction of xs:unsignedShort
properties
isRef 0
content simple
facets
maxInclusive 1001
source <xs:element name="victimCount">
 
<xs:simpleType>
   
<xs:restriction base="xs:unsignedShort">
     
<xs:maxInclusive value="1001"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:element>

element NeedRescueServices/rescues/rescue/refs
diagram
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children ref
source <xs:element name="refs" minOccurs="0">
 
<xs:complexType>
   
<xs:sequence minOccurs="0" maxOccurs="1000">
     
<xs:element name="ref" type="ReferenceID"/>
     
<!-- a set of pointers to each complete person in this class  (if known) -->
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element NeedRescueServices/rescues/rescue/refs/ref
diagram
type ReferenceID
properties
isRef 0
content simple
facets
minLength 1
maxLength 64
source <xs:element name="ref" type="ReferenceID"/>

element NeedRescueServices/rescues/rescue/reason
diagram
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children trapped danger other
source <xs:element name="reason" minOccurs="0">
 
<xs:complexType>
   
<xs:choice>
     
<xs:element name="trapped" type="TrappedList"/>
     
<xs:element name="danger" type="DangerList"/>
     
<xs:element name="other" type="FreeText"/>
   
</xs:choice>
 
</xs:complexType>
</xs:element>

element NeedRescueServices/rescues/rescue/reason/trapped
diagram
type TrappedList
properties
isRef 0
content simple
source <xs:element name="trapped" type="TrappedList"/>

element NeedRescueServices/rescues/rescue/reason/danger
diagram
type DangerList
properties
isRef 0
content simple
source <xs:element name="danger" type="DangerList"/>

element NeedRescueServices/rescues/rescue/reason/other
diagram
type FreeText
properties
isRef 0
content simple
facets
minLength 1
maxLength 500
source <xs:element name="other" type="FreeText"/>

element NeedRescueServices/rescues/rescue/urgency
diagram
type restriction of xs:unsignedByte
properties
isRef 0
minOcc 0
maxOcc 1
content simple
facets
maxInclusive 10
source <xs:element name="urgency" minOccurs="0">
 
<xs:simpleType>
   
<xs:restriction base="xs:unsignedByte">
     
<xs:maxInclusive value="10"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:element>

element NeedRescueServices/rescues/rescue/where
diagram
type lrms:LocationReference
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children locationName externalID pointLocation linkLocation areaLocation chain transition groupLocation routeLocation geometry geoCoord grid linearReference crossStreets address preCoded nodeAttribute spatialObject publicGrid
attributes
Name  Type  Use  Default  Fixed  annotation
locationIDlrms:String-index64      
source <xs:element name="where" type="lrms:LocationReference" minOccurs="0"/>

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

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

element NeedRescueServices/rescues/rescue/lastContact
diagram
type atis:DateTimePair
properties
isRef 0
minOcc 0
maxOcc 1
content simple
source <xs:element name="lastContact" type="atis:DateTimePair" minOccurs="0"/>

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


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