complexType "segment_eventTYPE"
Namespace:
Content:
complex, 18 attributes, 1 element
Defined:
globally in CRIS_Complete_V3-2-1_[31-Dec-2008].xsd, see XML source
Includes:
definitions of 18 attributes and 1 element
Used:
XML Representation Summary
<...
    segment_site
 = 
xsd:hexBinary
    segment_id
 = 
xsd:unsignedInt
    ev_db_site
 = 
xsd:hexBinary
    ev_db_id
 = 
xsd:unsignedInt
    event_type_code
 = 
xsd:unsignedInt
    gmt_event_start
 = 
xsd:dateTime
    gmt_event_stop
 = 
xsd:dateTime
    ev_loc_hr_delta
 = 
xsd:short
    ev_loc_min_delta
 = 
xsd:unsignedShort
    gmt_stored
 = 
xsd:dateTime
    st_loc_hr_delta
 = 
xsd:short
    st_loc_min_delta
 = 
xsd:unsignedShort
    user_tag_ident
 = 
xsd:string
    name
 = 
xsd:string
    gmt_last_updated
 = 
xsd:dateTime
    last_upd_db_site
 = 
xsd:hexBinary
    last_upd_db_id
 = 
xsd:unsignedInt
    rstat_type_code
 = 
xsd:unsignedShort
    >
   
Content: 
lcinfo?
</...>
Content Elements (1):
lcinfo (type lcinfo)
Known Usage Locations
Annotation
Segment Event Entity:
This entity holds the different events which occurred on segments. These include both operating events and failure events such as; Logged Operating Events, Failure “Modes”, Failure “Effects”, Failure “Mechanisms”, Defect Events Abnormal Situations, Alarm Events, etc.
An event is NOT work performed by an entity, but a log of the actual events which occurred at a service segment over time.
Note: gmt_event_start, gmt_event_stop, and gmt_stored are Greenwich Mean Time.
Note: ev_loc_hr_delta, is the number of hours +/- GMT to calculate the correct local time(s) for the event.
Note: st_loc_hr_delta is the number of hours +/- GMT to calculate the correct local time that the event record was stored in the database.
Note: ev_loc_min_delta: If null, assume local minute offset from GMT=0
Note: st_loc_min_delta: If null, assume local minute offset from GMT=0
XML Source (w/o annotations (19))
<xsd:complexType name="segment_eventTYPE">
<xsd:sequence>
<xsd:element minOccurs="0" name="lcinfo" type="lcinfo"/>
</xsd:sequence>
<xsd:attribute name="segment_site" type="site_codeSimpleType" use="required"/>
<xsd:attribute name="segment_id" type="xsd:unsignedInt" use="required"/>
<xsd:attribute name="ev_db_site" type="site_codeSimpleType" use="required"/>
<xsd:attribute name="ev_db_id" type="xsd:unsignedInt" use="required"/>
<xsd:attribute name="event_type_code" type="xsd:unsignedInt" use="required"/>
<xsd:attribute name="gmt_event_start" type="dateTimeWithoutTimezone" use="required"/>
<xsd:attribute name="gmt_event_stop" type="dateTimeWithoutTimezone" use="optional"/>
<xsd:attribute name="ev_loc_hr_delta" type="xsd:short" use="optional"/>
<xsd:attribute name="ev_loc_min_delta" type="xsd:unsignedShort" use="optional"/>
<xsd:attribute name="gmt_stored" type="dateTimeWithoutTimezone" use="optional"/>
<xsd:attribute name="st_loc_hr_delta" type="xsd:short" use="optional"/>
<xsd:attribute name="st_loc_min_delta" type="xsd:unsignedShort" use="optional"/>
<xsd:attribute name="user_tag_ident" type="varchar254" use="optional"/>
<xsd:attribute name="name" type="varchar254" use="optional"/>
<xsd:attribute name="gmt_last_updated" type="dateTimeWithoutTimezone" use="optional"/>
<xsd:attribute name="last_upd_db_site" type="site_codeSimpleType" use="optional"/>
<xsd:attribute name="last_upd_db_id" type="xsd:unsignedInt" use="optional"/>
<xsd:attribute name="rstat_type_code" type="xsd:unsignedShort" use="optional"/>
</xsd:complexType>
Attribute Detail (defined in this component only; 18/18)
segment_site
Type:
Use:
required
Foreign key reference to Segment.segment_site, Included in composite primary key
Attribute Value
xsd:hexBinary
Length:
8
XML Source (w/o annotations (1))
<xsd:attribute name="segment_site" type="site_codeSimpleType" use="required"/>

segment_id
Type:
xsd:unsignedInt, predefined
Use:
required
Foreign key reference to Segment.segment_id, Included in composite primary key
XML Source (w/o annotations (1))
<xsd:attribute name="segment_id" type="xsd:unsignedInt" use="required"/>

ev_db_site
Type:
Use:
required
Foreign key reference to Sg_As_Event_Type.ev_db_site, Included in composite primary key
Attribute Value
xsd:hexBinary
Length:
8
XML Source (w/o annotations (1))
<xsd:attribute name="ev_db_site" type="site_codeSimpleType" use="required"/>

ev_db_id
Type:
xsd:unsignedInt, predefined
Use:
required
Foreign key reference to Sg_As_Event_Type.ev_db_id, Included in composite primary key
XML Source (w/o annotations (1))
<xsd:attribute name="ev_db_id" type="xsd:unsignedInt" use="required"/>

event_type_code
Type:
xsd:unsignedInt, predefined
Use:
required
Foreign key reference to Sg_As_Event_Type.event_type_code, Included in composite primary key
XML Source (w/o annotations (1))
<xsd:attribute name="event_type_code" type="xsd:unsignedInt" use="required"/>

gmt_event_start
Type:
Use:
required
Event start time (GMT), Included in composite primary key
Attribute Value
xsd:dateTime
Pattern:
[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.?[0-9]{0,9}
XML Source (w/o annotations (1))
<xsd:attribute name="gmt_event_start" type="dateTimeWithoutTimezone" use="required"/>

gmt_event_stop
Type:
Use:
optional
Event end time (GMT)
Attribute Value
xsd:dateTime
Pattern:
[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.?[0-9]{0,9}
XML Source (w/o annotations (1))
<xsd:attribute name="gmt_event_stop" type="dateTimeWithoutTimezone" use="optional"/>

ev_loc_hr_delta
Type:
xsd:short, predefined
Use:
optional
Event start/stop time local hour offset from GMT
XML Source (w/o annotations (1))
<xsd:attribute name="ev_loc_hr_delta" type="xsd:short" use="optional"/>

ev_loc_min_delta
Type:
xsd:unsignedShort, predefined
Use:
optional
Event strat/stop tim local minute offset from GMT
XML Source (w/o annotations (1))
<xsd:attribute name="ev_loc_min_delta" type="xsd:unsignedShort" use="optional"/>

gmt_stored
Type:
Use:
optional
Time event record was stored in database (GMT)
Attribute Value
xsd:dateTime
Pattern:
[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.?[0-9]{0,9}
XML Source (w/o annotations (1))
<xsd:attribute name="gmt_stored" type="dateTimeWithoutTimezone" use="optional"/>

st_loc_hr_delta
Type:
xsd:short, predefined
Use:
optional
Stored time local hour offset from GMT
XML Source (w/o annotations (1))
<xsd:attribute name="st_loc_hr_delta" type="xsd:short" use="optional"/>

st_loc_min_delta
Type:
xsd:unsignedShort, predefined
Use:
optional
Stored time local minute offset from GMT
XML Source (w/o annotations (1))
<xsd:attribute name="st_loc_min_delta" type="xsd:unsignedShort" use="optional"/>

user_tag_ident
Type:
Use:
optional
Short user-defined tag/identifier
Attribute Value
xsd:string
MaxLength:
254
XML Source (w/o annotations (1))
<xsd:attribute name="user_tag_ident" type="varchar254" use="optional"/>

name
Type:
Use:
optional
Full user-defined name/description
Attribute Value
xsd:string
MaxLength:
254
XML Source (w/o annotations (1))
<xsd:attribute name="name" type="varchar254" use="optional"/>

gmt_last_updated
Type:
Use:
optional
UTC/GMT timestamp for the last change to this record
Attribute Value
xsd:dateTime
Pattern:
[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.?[0-9]{0,9}
XML Source (w/o annotations (1))
<xsd:attribute name="gmt_last_updated" type="dateTimeWithoutTimezone" use="optional"/>

last_upd_db_site
Type:
Use:
optional
Foreign key reference to Site_Database.db_site which identifies the database creating/updating/soft deleting this entry
Attribute Value
xsd:hexBinary
Length:
8
XML Source (w/o annotations (1))
<xsd:attribute name="last_upd_db_site" type="site_codeSimpleType" use="optional"/>

last_upd_db_id
Type:
xsd:unsignedInt, predefined
Use:
optional
Foreign key reference to Site_Database.db_id which identifies the database creating/updating/soft deleting this entry
XML Source (w/o annotations (1))
<xsd:attribute name="last_upd_db_id" type="xsd:unsignedInt" use="optional"/>

rstat_type_code
Type:
xsd:unsignedShort, predefined
Use:
optional
Foreign key reference to Row_Status_Type.rstat_type_cod which determines the status of this entry
XML Source (w/o annotations (1))
<xsd:attribute name="rstat_type_code" type="xsd:unsignedShort" use="optional"/>
Content Element Detail (defined in this component only; 1/1)
lcinfo
Type:
lcinfo, complex content
XML Source
<xsd:element minOccurs="0" name="lcinfo" type="lcinfo"/>

XML schema documentation generated with DocFlex/XML 1.7.2b using DocFlex/XML | XSDDoc 2.1.0b template set