Schema termrevise.xsd


schema location:  termrevise.xsd
attribute form default: 
element form default:  qualified
 
Elements  Complex types 
category  interval_definitionType 
comment  interval_endType 
company_ticket_id  interval_startType 
date  limitationsType 
edart  limitType 
limitation_id  revisetermticType 
pjm_ticket_id  ticket_typeType 
reason_id 
temperature 
time 
time_of_day 


element category
diagram termrevise_p1.png
type restriction of xsd:string
properties
content simple
used by
element revisetermticType/adjustment_list/adjustment
complexType limitType
facets
Kind Value annotation 
enumeration loaddump 
enumeration shortterm 
enumeration longterm 
enumeration normal 
source <xsd:element name="category">
 
<xsd:simpleType>
   
<xsd:restriction base="xsd:string">
     
<xsd:enumeration value="loaddump"/>
     
<xsd:enumeration value="shortterm"/>
     
<xsd:enumeration value="longterm"/>
     
<xsd:enumeration value="normal"/>
   
</xsd:restriction>
 
</xsd:simpleType>
</xsd:element>

element comment
diagram termrevise_p2.png
type xsd:string
properties
content simple
source <xsd:element name="comment" type="xsd:string"/>

element company_ticket_id
diagram termrevise_p3.png
type xsd:string
properties
content simple
source <xsd:element name="company_ticket_id" type="xsd:string"/>

element date
diagram termrevise_p4.png
type xsd:string
properties
content simple
used by
complexTypes interval_endType interval_startType
source <xsd:element name="date" type="xsd:string"/>

element edart
diagram termrevise_p5.png
properties
content complex
children warning
source <xsd:element name="edart">
 
<xsd:complexType>
   
<xsd:sequence>
     
<xsd:element name="warning" minOccurs="0">
       
<xsd:complexType>
         
<xsd:sequence>
           
<xsd:element name="revisetermtic" type="revisetermticType" maxOccurs="unbounded"/>
         
</xsd:sequence>
       
</xsd:complexType>
     
</xsd:element>
   
</xsd:sequence>
 
</xsd:complexType>
</xsd:element>

element edart/warning
diagram termrevise_p6.png
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children revisetermtic
source <xsd:element name="warning" minOccurs="0">
 
<xsd:complexType>
   
<xsd:sequence>
     
<xsd:element name="revisetermtic" type="revisetermticType" maxOccurs="unbounded"/>
   
</xsd:sequence>
 
</xsd:complexType>
</xsd:element>

element edart/warning/revisetermtic
diagram termrevise_p7.png
type revisetermticType
properties
isRef 0
minOcc 1
maxOcc unbounded
content complex
children company pjm_ticket_id company_ticket_id ticket_status ticket_type reason_id interval_definition comment adjustment_list limitations newCompanyTicketId
source <xsd:element name="revisetermtic" type="revisetermticType" maxOccurs="unbounded"/>

element limitation_id
diagram termrevise_p8.png
type xsd:nonNegativeInteger
properties
content simple
used by
complexType limitType
source <xsd:element name="limitation_id" type="xsd:nonNegativeInteger"/>

element pjm_ticket_id
diagram termrevise_p9.png
type xsd:nonNegativeInteger
properties
content simple
source <xsd:element name="pjm_ticket_id" type="xsd:nonNegativeInteger"/>

element reason_id
diagram termrevise_p10.png
type xsd:byte
properties
content simple
source <xsd:element name="reason_id" type="xsd:byte"/>

element temperature
diagram termrevise_p11.png
type restriction of xsd:string
properties
content simple
used by
element revisetermticType/adjustment_list/adjustment
complexType limitType
facets
Kind Value annotation 
enumeration 95 
enumeration 86 
enumeration 77 
enumeration 68 
enumeration 59 
enumeration 50 
enumeration 41 
enumeration 32 
source <xsd:element name="temperature">
 
<xsd:simpleType>
   
<xsd:restriction base="xsd:string">
     
<xsd:enumeration value="95"/>
     
<xsd:enumeration value="86"/>
     
<xsd:enumeration value="77"/>
     
<xsd:enumeration value="68"/>
     
<xsd:enumeration value="59"/>
     
<xsd:enumeration value="50"/>
     
<xsd:enumeration value="41"/>
     
<xsd:enumeration value="32"/>
   
</xsd:restriction>
 
</xsd:simpleType>
</xsd:element>

element time
diagram termrevise_p12.png
type xsd:string
properties
content simple
used by
complexTypes interval_endType interval_startType
source <xsd:element name="time" type="xsd:string"/>

element time_of_day
diagram termrevise_p13.png
type restriction of xsd:string
properties
content simple
facets
Kind Value annotation 
enumeration both 
enumeration day 
enumeration night 
source <xsd:element name="time_of_day">
 
<xsd:simpleType>
   
<xsd:restriction base="xsd:string">
     
<xsd:enumeration value="both"/>
     
<xsd:enumeration value="day"/>
     
<xsd:enumeration value="night"/>
   
</xsd:restriction>
 
</xsd:simpleType>
</xsd:element>

complexType interval_definitionType
diagram termrevise_p14.png
children interval_start interval_end
used by
element revisetermticType/interval_definition
source <xsd:complexType name="interval_definitionType">
 
<xsd:sequence>
   
<xsd:element name="interval_start" type="interval_startType" minOccurs="0"/>
   
<xsd:element name="interval_end" type="interval_endType" minOccurs="0"/>
 
</xsd:sequence>
</xsd:complexType>

element interval_definitionType/interval_start
diagram termrevise_p15.png
type interval_startType
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children date time
source <xsd:element name="interval_start" type="interval_startType" minOccurs="0"/>

element interval_definitionType/interval_end
diagram termrevise_p16.png
type interval_endType
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children date time
source <xsd:element name="interval_end" type="interval_endType" minOccurs="0"/>

complexType interval_endType
diagram termrevise_p17.png
children date time
used by
element interval_definitionType/interval_end
source <xsd:complexType name="interval_endType">
 
<xsd:sequence>
   
<xsd:element ref="date"/>
   
<xsd:element ref="time"/>
 
</xsd:sequence>
</xsd:complexType>

complexType interval_startType
diagram termrevise_p18.png
children date time
used by
element interval_definitionType/interval_start
source <xsd:complexType name="interval_startType">
 
<xsd:sequence>
   
<xsd:element ref="date"/>
   
<xsd:element ref="time"/>
 
</xsd:sequence>
</xsd:complexType>

complexType limitationsType
diagram termrevise_p19.png
children limit
used by
element revisetermticType/limitations
source <xsd:complexType name="limitationsType">
 
<xsd:sequence>
   
<xsd:element name="limit" type="limitType" maxOccurs="unbounded"/>
 
</xsd:sequence>
</xsd:complexType>

element limitationsType/limit
diagram termrevise_p20.png
type limitType
properties
isRef 0
minOcc 1
maxOcc unbounded
content complex
children limitation_id temperature category day_night_flag
source <xsd:element name="limit" type="limitType" maxOccurs="unbounded"/>

complexType limitType
diagram termrevise_p21.png
children limitation_id temperature category day_night_flag
used by
element limitationsType/limit
source <xsd:complexType name="limitType">
 
<xsd:sequence>
   
<xsd:element ref="limitation_id"/>
   
<xsd:element ref="temperature"/>
   
<xsd:element ref="category"/>
   
<xsd:element name="day_night_flag">
     
<xsd:simpleType>
       
<xsd:restriction base="xsd:string">
         
<xsd:enumeration value="day"/>
         
<xsd:enumeration value="night"/>
       
</xsd:restriction>
     
</xsd:simpleType>
   
</xsd:element>
 
</xsd:sequence>
</xsd:complexType>

element limitType/day_night_flag
diagram termrevise_p22.png
type restriction of xsd:string
properties
isRef 0
content simple
facets
Kind Value annotation 
enumeration day 
enumeration night 
source <xsd:element name="day_night_flag">
 
<xsd:simpleType>
   
<xsd:restriction base="xsd:string">
     
<xsd:enumeration value="day"/>
     
<xsd:enumeration value="night"/>
   
</xsd:restriction>
 
</xsd:simpleType>
</xsd:element>

complexType revisetermticType
diagram termrevise_p23.png
children company pjm_ticket_id company_ticket_id ticket_status ticket_type reason_id interval_definition comment adjustment_list limitations newCompanyTicketId
used by
element edart/warning/revisetermtic
source <xsd:complexType name="revisetermticType">
 
<xsd:sequence>
   
<xsd:element name="company" type="xsd:positiveInteger" minOccurs="0"/>
   
<xsd:element name="pjm_ticket_id" type="xsd:positiveInteger" minOccurs="0"/>
   
<xsd:element name="company_ticket_id" minOccurs="0">
     
<xsd:simpleType>
       
<xsd:restriction base="xsd:string">
         
<xsd:maxLength value="50"/>
         
<xsd:minLength value="1"/>
         
<xsd:whiteSpace value="preserve"/>
       
</xsd:restriction>
     
</xsd:simpleType>
   
</xsd:element>
   
<xsd:element name="ticket_status" minOccurs="0">
     
<xsd:simpleType>
       
<xsd:restriction base="xsd:string">
         
<xsd:enumeration value="cancel"/>
       
</xsd:restriction>
     
</xsd:simpleType>
   
</xsd:element>
   
<xsd:element name="ticket_type" type="ticket_typeType" minOccurs="0"/>
   
<xsd:element name="reason_id" minOccurs="0"/>
   
<xsd:element name="interval_definition" type="interval_definitionType" minOccurs="0"/>
   
<xsd:element name="comment" minOccurs="0"/>
   
<xsd:element name="adjustment_list" minOccurs="0">
     
<xsd:complexType>
       
<xsd:sequence>
         
<xsd:element name="adjustment" maxOccurs="unbounded">
           
<xsd:complexType>
             
<xsd:sequence>
               
<xsd:element ref="temperature"/>
               
<xsd:element ref="category"/>
               
<xsd:element name="day_night_flag">
                 
<xsd:simpleType>
                   
<xsd:restriction base="xsd:string">
                     
<xsd:enumeration value="day"/>
                     
<xsd:enumeration value="night"/>
                   
</xsd:restriction>
                 
</xsd:simpleType>
               
</xsd:element>
               
<xsd:element name="adjustment_value" type="xsd:positiveInteger"/>
             
</xsd:sequence>
           
</xsd:complexType>
         
</xsd:element>
       
</xsd:sequence>
     
</xsd:complexType>
   
</xsd:element>
   
<xsd:element name="limitations" type="limitationsType" minOccurs="0"/>
   
<xsd:element name="newCompanyTicketId" minOccurs="0">
     
<xsd:simpleType>
       
<xsd:restriction base="xsd:string">
         
<xsd:minLength value="1"/>
         
<xsd:maxLength value="50"/>
       
</xsd:restriction>
     
</xsd:simpleType>
   
</xsd:element>
 
</xsd:sequence>
</xsd:complexType>

element revisetermticType/company
diagram termrevise_p24.png
type xsd:positiveInteger
properties
isRef 0
minOcc 0
maxOcc 1
content simple
source <xsd:element name="company" type="xsd:positiveInteger" minOccurs="0"/>

element revisetermticType/pjm_ticket_id
diagram termrevise_p25.png
type xsd:positiveInteger
properties
isRef 0
minOcc 0
maxOcc 1
content simple
source <xsd:element name="pjm_ticket_id" type="xsd:positiveInteger" minOccurs="0"/>

element revisetermticType/company_ticket_id
diagram termrevise_p26.png
type restriction of xsd:string
properties
isRef 0
minOcc 0
maxOcc 1
content simple
facets
Kind Value annotation 
minLength 
maxLength 50 
whiteSpace preserve 
source <xsd:element name="company_ticket_id" minOccurs="0">
 
<xsd:simpleType>
   
<xsd:restriction base="xsd:string">
     
<xsd:maxLength value="50"/>
     
<xsd:minLength value="1"/>
     
<xsd:whiteSpace value="preserve"/>
   
</xsd:restriction>
 
</xsd:simpleType>
</xsd:element>

element revisetermticType/ticket_status
diagram termrevise_p27.png
type restriction of xsd:string
properties
isRef 0
minOcc 0
maxOcc 1
content simple
facets
Kind Value annotation 
enumeration cancel 
source <xsd:element name="ticket_status" minOccurs="0">
 
<xsd:simpleType>
   
<xsd:restriction base="xsd:string">
     
<xsd:enumeration value="cancel"/>
   
</xsd:restriction>
 
</xsd:simpleType>
</xsd:element>

element revisetermticType/ticket_type
diagram termrevise_p28.png
type ticket_typeType
properties
isRef 0
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  annotation
implementationderived by: xsd:stringrequired      
typederived by: xsd:stringrequired      
source <xsd:element name="ticket_type" type="ticket_typeType" minOccurs="0"/>

element revisetermticType/reason_id
diagram termrevise_p29.png
properties
isRef 0
minOcc 0
maxOcc 1
source <xsd:element name="reason_id" minOccurs="0"/>

element revisetermticType/interval_definition
diagram termrevise_p30.png
type interval_definitionType
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children interval_start interval_end
source <xsd:element name="interval_definition" type="interval_definitionType" minOccurs="0"/>

element revisetermticType/comment
diagram termrevise_p31.png
properties
isRef 0
minOcc 0
maxOcc 1
source <xsd:element name="comment" minOccurs="0"/>

element revisetermticType/adjustment_list
diagram termrevise_p32.png
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children adjustment
source <xsd:element name="adjustment_list" minOccurs="0">
 
<xsd:complexType>
   
<xsd:sequence>
     
<xsd:element name="adjustment" maxOccurs="unbounded">
       
<xsd:complexType>
         
<xsd:sequence>
           
<xsd:element ref="temperature"/>
           
<xsd:element ref="category"/>
           
<xsd:element name="day_night_flag">
             
<xsd:simpleType>
               
<xsd:restriction base="xsd:string">
                 
<xsd:enumeration value="day"/>
                 
<xsd:enumeration value="night"/>
               
</xsd:restriction>
             
</xsd:simpleType>
           
</xsd:element>
           
<xsd:element name="adjustment_value" type="xsd:positiveInteger"/>
         
</xsd:sequence>
       
</xsd:complexType>
     
</xsd:element>
   
</xsd:sequence>
 
</xsd:complexType>
</xsd:element>

element revisetermticType/adjustment_list/adjustment
diagram termrevise_p33.png
properties
isRef 0
minOcc 1
maxOcc unbounded
content complex
children temperature category day_night_flag adjustment_value
source <xsd:element name="adjustment" maxOccurs="unbounded">
 
<xsd:complexType>
   
<xsd:sequence>
     
<xsd:element ref="temperature"/>
     
<xsd:element ref="category"/>
     
<xsd:element name="day_night_flag">
       
<xsd:simpleType>
         
<xsd:restriction base="xsd:string">
           
<xsd:enumeration value="day"/>
           
<xsd:enumeration value="night"/>
         
</xsd:restriction>
       
</xsd:simpleType>
     
</xsd:element>
     
<xsd:element name="adjustment_value" type="xsd:positiveInteger"/>
   
</xsd:sequence>
 
</xsd:complexType>
</xsd:element>

element revisetermticType/adjustment_list/adjustment/day_night_flag
diagram termrevise_p34.png
type restriction of xsd:string
properties
isRef 0
content simple
facets
Kind Value annotation 
enumeration day 
enumeration night 
source <xsd:element name="day_night_flag">
 
<xsd:simpleType>
   
<xsd:restriction base="xsd:string">
     
<xsd:enumeration value="day"/>
     
<xsd:enumeration value="night"/>
   
</xsd:restriction>
 
</xsd:simpleType>
</xsd:element>

element revisetermticType/adjustment_list/adjustment/adjustment_value
diagram termrevise_p35.png
type xsd:positiveInteger
properties
isRef 0
content simple
source <xsd:element name="adjustment_value" type="xsd:positiveInteger"/>

element revisetermticType/limitations
diagram termrevise_p36.png
type limitationsType
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children limit
source <xsd:element name="limitations" type="limitationsType" minOccurs="0"/>

element revisetermticType/newCompanyTicketId
diagram termrevise_p37.png
type restriction of xsd:string
properties
isRef 0
minOcc 0
maxOcc 1
content simple
facets
Kind Value annotation 
minLength 
maxLength 50 
source <xsd:element name="newCompanyTicketId" minOccurs="0">
 
<xsd:simpleType>
   
<xsd:restriction base="xsd:string">
     
<xsd:minLength value="1"/>
     
<xsd:maxLength value="50"/>
   
</xsd:restriction>
 
</xsd:simpleType>
</xsd:element>

complexType ticket_typeType
diagram termrevise_p38.png
used by
element revisetermticType/ticket_type
attributes
Name  Type  Use  Default  Fixed  annotation
implementationderived by: xsd:stringrequired      
typederived by: xsd:stringrequired      
source <xsd:complexType name="ticket_typeType">
 
<xsd:attribute name="implementation" use="required">
   
<xsd:simpleType>
     
<xsd:restriction base="xsd:string">
       
<xsd:enumeration value="planned"/>
       
<xsd:enumeration value="immediate"/>
     
</xsd:restriction>
   
</xsd:simpleType>
 
</xsd:attribute>
 
<xsd:attribute name="type" use="required">
   
<xsd:simpleType>
     
<xsd:restriction base="xsd:string">
       
<xsd:enumeration value="permanent"/>
       
<xsd:enumeration value="temporary"/>
     
</xsd:restriction>
   
</xsd:simpleType>
 
</xsd:attribute>
</xsd:complexType>

attribute ticket_typeType/@implementation
type restriction of xsd:string
properties
isRef 0
use required
facets
Kind Value annotation 
enumeration planned 
enumeration immediate 
source <xsd:attribute name="implementation" use="required">
 
<xsd:simpleType>
   
<xsd:restriction base="xsd:string">
     
<xsd:enumeration value="planned"/>
     
<xsd:enumeration value="immediate"/>
   
</xsd:restriction>
 
</xsd:simpleType>
</xsd:attribute>

attribute ticket_typeType/@type
type restriction of xsd:string
properties
isRef 0
use required
facets
Kind Value annotation 
enumeration permanent 
enumeration temporary 
source <xsd:attribute name="type" use="required">
 
<xsd:simpleType>
   
<xsd:restriction base="xsd:string">
     
<xsd:enumeration value="permanent"/>
     
<xsd:enumeration value="temporary"/>
   
</xsd:restriction>
 
</xsd:simpleType>
</xsd:attribute>


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