Schema toimwg.xsd


schema location C:\Personal\workspace\edart\application\src\main\resources\schema\toimwg.xsd
attributeFormDefault
elementFormDefault qualified
 
Elements 
b1Name 
b2Name 
b3Text 
companyName 
date 
equipment 
intervalDefinition 
intervalEnd 
intervalStart 
lastRevisedDate 
outageType 
pjmTicketId 
status 
ticket 
ticket_info 
time 
toimwg 
type 
zone 


element b1Name
diagram toimwg_p1.png
type xs:string
properties
content simple
used by
element equipment
source <xs:element name="b1Name" type="xs:string"/>

element b2Name
diagram toimwg_p2.png
type xs:string
properties
content simple
used by
element equipment
source <xs:element name="b2Name" type="xs:string"/>

element b3Text
diagram toimwg_p3.png
type xs:string
properties
content simple
used by
element equipment
source <xs:element name="b3Text" type="xs:string"/>

element companyName
diagram toimwg_p4.png
type xs:string
properties
content simple
used by
element ticket
source <xs:element name="companyName" type="xs:string"/>

element date
diagram toimwg_p5.png
type xs:date
properties
content simple
used by
elements intervalDefinition/intervalEnd intervalEnd intervalStart
source <xs:element name="date" type="xs:date"/>

element equipment
diagram toimwg_p6.png
properties
content complex
children type b1Name b2Name b3Text zone intervalDefinition
used by
element ticket
attributes
Name  Type  Use  Default  Fixed  Annotation
status  derived by: xs:string  required      
source <xs:element name="equipment">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element ref="type"/>
     
<xs:element ref="b1Name"/>
     
<xs:element ref="b2Name"/>
     
<xs:element ref="b3Text"/>
     
<xs:element ref="zone"/>
     
<xs:element ref="intervalDefinition" minOccurs="0"/>
   
</xs:sequence>
   
<xs:attribute name="status" use="required">
     
<xs:simpleType>
       
<xs:restriction base="xs:string">
         
<xs:enumeration value="Open"/>
         
<xs:enumeration value="Close"/>
       
</xs:restriction>
     
</xs:simpleType>
   
</xs:attribute>
 
</xs:complexType>
</xs:element>

attribute equipment/@status
type restriction of xs:string
properties
use required
facets
Kind Value Annotation
enumeration Open
enumeration Close
source <xs:attribute name="status" use="required">
 
<xs:simpleType>
   
<xs:restriction base="xs:string">
     
<xs:enumeration value="Open"/>
     
<xs:enumeration value="Close"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

element intervalDefinition
diagram toimwg_p7.png
properties
content complex
children intervalStart intervalEnd
used by
elements ticket/dateLogs/datelog equipment ticket
source <xs:element name="intervalDefinition">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element ref="intervalStart"/>
     
<xs:element name="intervalEnd">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element ref="date"/>
           
<xs:element ref="time"/>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element intervalDefinition/intervalEnd
diagram toimwg_p8.png
properties
content complex
children date time
source <xs:element name="intervalEnd">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element ref="date"/>
     
<xs:element ref="time"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element intervalEnd
diagram toimwg_p9.png
properties
content complex
children date time
source <xs:element name="intervalEnd">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element ref="date"/>
     
<xs:element ref="time"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element intervalStart
diagram toimwg_p10.png
properties
content complex
children date time
used by
element intervalDefinition
source <xs:element name="intervalStart">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element ref="date"/>
     
<xs:element ref="time"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element lastRevisedDate
diagram toimwg_p11.png
type xs:string
properties
content simple
used by
element ticket
source <xs:element name="lastRevisedDate" type="xs:string"/>

element outageType
diagram toimwg_p12.png
type restriction of xs:string
properties
content simple
used by
element ticket
facets
Kind Value Annotation
enumeration DailyIncludingWeekends
enumeration DailyNoWeekends
enumeration DailyWeekendsOnly
enumeration ContinuousNoWeekends
enumeration Continuous
enumeration EMS Tripped
source <xs:element name="outageType">
 
<xs:simpleType>
   
<xs:restriction base="xs:string">
     
<xs:enumeration value="DailyIncludingWeekends"/>
     
<xs:enumeration value="DailyNoWeekends"/>
     
<xs:enumeration value="DailyWeekendsOnly"/>
     
<xs:enumeration value="ContinuousNoWeekends"/>
     
<xs:enumeration value="Continuous"/>
     
<xs:enumeration value="EMS Tripped"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:element>

element pjmTicketId
diagram toimwg_p13.png
type xs:int
properties
content simple
used by
element ticket
source <xs:element name="pjmTicketId" type="xs:int"/>

element status
diagram toimwg_p14.png
type xs:string
properties
content simple
used by
element ticket
source <xs:element name="status" type="xs:string"/>

element ticket
diagram toimwg_p15.png
properties
content complex
children pjmTicketId intervalDefinition status lastRevisedDate outageType companyName availability approval_risk rtepQueueNumber previous_status equipment cause dateLogs statusLogs activeDates
used by
element ticket_info
source <xs:element name="ticket">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element ref="pjmTicketId"/>
     
<xs:element ref="intervalDefinition"/>
     
<xs:element ref="status"/>
     
<xs:element ref="lastRevisedDate"/>
     
<xs:element ref="outageType"/>
     
<xs:element ref="companyName"/>
     
<xs:element name="availability" type="xs:string"/>
     
<xs:element name="approval_risk" type="xs:boolean" nillable="true"/>
     
<xs:element name="rtepQueueNumber" type="xs:string" nillable="true"/>
     
<xs:element name="previous_status" type="xs:string"/>
     
<xs:element ref="equipment" maxOccurs="unbounded"/>
     
<xs:element name="cause" maxOccurs="unbounded">
       
<xs:complexType>
         
<xs:simpleContent>
           
<xs:extension base="xs:integer">
             
<xs:attribute name="description" use="required"/>
           
</xs:extension>
         
</xs:simpleContent>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="dateLogs" minOccurs="0">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="datelog" minOccurs="0" maxOccurs="unbounded">
             
<xs:complexType>
               
<xs:sequence>
                 
<xs:element ref="intervalDefinition"/>
                 
<xs:element name="timestamp" type="xs:dateTime"/>
                 
<xs:element name="currentFlag" type="xs:integer"/>
               
</xs:sequence>
             
</xs:complexType>
           
</xs:element>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="statusLogs" minOccurs="0">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="statusLog" minOccurs="0" maxOccurs="unbounded">
             
<xs:complexType>
               
<xs:sequence>
                 
<xs:element name="status" type="xs:string"/>
                 
<xs:element name="statusTime" type="xs:dateTime"/>
               
</xs:sequence>
             
</xs:complexType>
           
</xs:element>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="activeDates" minOccurs="0">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="firstActual" type="xs:dateTime"/>
           
<xs:element name="finalComplete" type="xs:dateTime"/>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ticket/availability
diagram toimwg_p16.png
type xs:string
properties
content simple
source <xs:element name="availability" type="xs:string"/>

element ticket/approval_risk
diagram toimwg_p17.png
type xs:boolean
properties
content simple
nillable true
source <xs:element name="approval_risk" type="xs:boolean" nillable="true"/>

element ticket/rtepQueueNumber
diagram toimwg_p18.png
type xs:string
properties
content simple
nillable true
source <xs:element name="rtepQueueNumber" type="xs:string" nillable="true"/>

element ticket/previous_status
diagram toimwg_p19.png
type xs:string
properties
content simple
source <xs:element name="previous_status" type="xs:string"/>

element ticket/cause
diagram toimwg_p20.png
type extension of xs:integer
properties
minOcc 1
maxOcc unbounded
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
description    required      
source <xs:element name="cause" maxOccurs="unbounded">
 
<xs:complexType>
   
<xs:simpleContent>
     
<xs:extension base="xs:integer">
       
<xs:attribute name="description" use="required"/>
     
</xs:extension>
   
</xs:simpleContent>
 
</xs:complexType>
</xs:element>

attribute ticket/cause/@description
properties
use required
source <xs:attribute name="description" use="required"/>

element ticket/dateLogs
diagram toimwg_p21.png
properties
minOcc 0
maxOcc 1
content complex
children datelog
source <xs:element name="dateLogs" minOccurs="0">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="datelog" minOccurs="0" maxOccurs="unbounded">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element ref="intervalDefinition"/>
           
<xs:element name="timestamp" type="xs:dateTime"/>
           
<xs:element name="currentFlag" type="xs:integer"/>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ticket/dateLogs/datelog
diagram toimwg_p22.png
properties
minOcc 0
maxOcc unbounded
content complex
children intervalDefinition timestamp currentFlag
source <xs:element name="datelog" minOccurs="0" maxOccurs="unbounded">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element ref="intervalDefinition"/>
     
<xs:element name="timestamp" type="xs:dateTime"/>
     
<xs:element name="currentFlag" type="xs:integer"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ticket/dateLogs/datelog/timestamp
diagram toimwg_p23.png
type xs:dateTime
properties
content simple
source <xs:element name="timestamp" type="xs:dateTime"/>

element ticket/dateLogs/datelog/currentFlag
diagram toimwg_p24.png
type xs:integer
properties
content simple
source <xs:element name="currentFlag" type="xs:integer"/>

element ticket/statusLogs
diagram toimwg_p25.png
properties
minOcc 0
maxOcc 1
content complex
children statusLog
source <xs:element name="statusLogs" minOccurs="0">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="statusLog" minOccurs="0" maxOccurs="unbounded">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="status" type="xs:string"/>
           
<xs:element name="statusTime" type="xs:dateTime"/>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ticket/statusLogs/statusLog
diagram toimwg_p26.png
properties
minOcc 0
maxOcc unbounded
content complex
children status statusTime
source <xs:element name="statusLog" minOccurs="0" maxOccurs="unbounded">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="status" type="xs:string"/>
     
<xs:element name="statusTime" type="xs:dateTime"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ticket/statusLogs/statusLog/status
diagram toimwg_p27.png
type xs:string
properties
content simple
used by
element ticket
source <xs:element name="status" type="xs:string"/>

element ticket/statusLogs/statusLog/statusTime
diagram toimwg_p28.png
type xs:dateTime
properties
content simple
source <xs:element name="statusTime" type="xs:dateTime"/>

element ticket/activeDates
diagram toimwg_p29.png
properties
minOcc 0
maxOcc 1
content complex
children firstActual finalComplete
source <xs:element name="activeDates" minOccurs="0">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="firstActual" type="xs:dateTime"/>
     
<xs:element name="finalComplete" type="xs:dateTime"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ticket/activeDates/firstActual
diagram toimwg_p30.png
type xs:dateTime
properties
content simple
source <xs:element name="firstActual" type="xs:dateTime"/>

element ticket/activeDates/finalComplete
diagram toimwg_p31.png
type xs:dateTime
properties
content simple
source <xs:element name="finalComplete" type="xs:dateTime"/>

element ticket_info
diagram toimwg_p32.png
properties
content complex
children ticket
used by
element toimwg
source <xs:element name="ticket_info">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element ref="ticket" maxOccurs="unbounded"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element time
diagram toimwg_p33.png
type xs:time
properties
content simple
used by
elements intervalDefinition/intervalEnd intervalEnd intervalStart
source <xs:element name="time" type="xs:time"/>

element toimwg
diagram toimwg_p34.png
properties
content complex
children warning ticket_info
source <xs:element name="toimwg">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="warning" type="xs:string" minOccurs="0"/>
     
<xs:element ref="ticket_info" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element toimwg/warning
diagram toimwg_p35.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="warning" type="xs:string" minOccurs="0"/>

element type
diagram toimwg_p36.png
type xs:string
properties
content simple
used by
element equipment
source <xs:element name="type" type="xs:string"/>

element zone
diagram toimwg_p37.png
type xs:string
properties
content simple
used by
element equipment
source <xs:element name="zone" type="xs:string"/>


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