Schema termcreate.xsd


schema location:  P:\eDartXML\termcreate.xsd
 
Elements  Complex types 
adjustment_value  adjustment_listType 
category  adjustmentType 
comment  interval_definitionType 
company  interval_endType 
company_ticket_id  interval_startType 
date  limitationsType 
day_night_flag  limitType 
edart  newtermticType 
equipment_id  ticket_typeType 
limitation_id 
reason_id 
temperature 
time 
time_of_day 


element adjustment_value
diagram
type xsd:positiveInteger
properties
content simple
used by
complexType adjustmentType
source
<xsd:element name="adjustment_value" type="xsd:positiveInteger"/>

element category
diagram
type restriction of xsd:string
properties
content simple
used by
complexTypes adjustmentType limitType
facets
enumeration loaddump
enumeration longterm
enumeration normal
enumeration shortterm
source
<xsd:element name="category">  <xsd:simpleType>    <xsd:restriction base="xsd:string">      <xsd:enumeration value="loaddump"/>      <xsd:enumeration value="longterm"/>      <xsd:enumeration value="normal"/>      <xsd:enumeration value="shortterm"/>    </xsd:restriction>  </xsd:simpleType></xsd:element>

element comment
diagram
type xsd:string
properties
content simple
used by
complexType newtermticType
source
<xsd:element name="comment" type="xsd:string"/>

element company
diagram
type xsd:positiveInteger
properties
content simple
used by
complexType newtermticType
source
<xsd:element name="company" type="xsd:positiveInteger"/>

element company_ticket_id
diagram
type xsd:string
properties
content simple
used by
complexType newtermticType
source
<xsd:element name="company_ticket_id" type="xsd:string"/>

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

element day_night_flag
diagram
type restriction of xsd:string
properties
content simple
used by
complexTypes adjustmentType limitType
facets
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 edart
diagram
properties
content complex
children newtermtic
source
<xsd:element name="edart">  <xsd:complexType>    <xsd:sequence>      <xsd:element name="newtermtic" maxOccurs="unbounded">        <xsd:complexType>          <xsd:complexContent>            <xsd:extension base="newtermticType"/>          </xsd:complexContent>        </xsd:complexType>      </xsd:element>    </xsd:sequence>  </xsd:complexType></xsd:element>

element edart/newtermtic
diagram
type extension of newtermticType
properties
isRef 0
content complex
children company company_ticket_id ticket_type reason_id interval_definition comment equipment_id transmission_equipment_end_id adjustment_list limitations
source
<xsd:element name="newtermtic" maxOccurs="unbounded">  <xsd:complexType>    <xsd:complexContent>      <xsd:extension base="newtermticType"/>    </xsd:complexContent>  </xsd:complexType></xsd:element>

element equipment_id
diagram
type xsd:positiveInteger
properties
content simple
used by
complexType newtermticType
source
<xsd:element name="equipment_id" type="xsd:positiveInteger"/>

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

element reason_id
diagram
type xsd:positiveInteger
properties
content simple
used by
complexType newtermticType
source
<xsd:element name="reason_id" type="xsd:positiveInteger"/>

element temperature
diagram
type restriction of xsd:string
properties
content simple
used by
complexTypes adjustmentType limitType
facets
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
type restriction of xsd:time
properties
content simple
used by
complexTypes interval_endType interval_startType
source
<xsd:element name="time">  <xsd:simpleType>    <xsd:restriction base="xsd:time"/>  </xsd:simpleType></xsd:element>

element time_of_day
diagram
type restriction of xsd:string
properties
content simple
facets
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 adjustment_listType
diagram
children adjustment
used by
element newtermticType/adjustment_list
source
<xsd:complexType name="adjustment_listType">  <xsd:sequence>    <xsd:element name="adjustment" type="adjustmentType" maxOccurs="unbounded"/>  </xsd:sequence></xsd:complexType>

element adjustment_listType/adjustment
diagram
type adjustmentType
properties
isRef 0
content complex
children temperature category day_night_flag adjustment_value
source
<xsd:element name="adjustment" type="adjustmentType" maxOccurs="unbounded"/>

complexType adjustmentType
diagram
children temperature category day_night_flag adjustment_value
used by
element adjustment_listType/adjustment
source
<xsd:complexType name="adjustmentType">  <xsd:sequence>    <xsd:element ref="temperature"/>    <xsd:element ref="category"/>    <xsd:element ref="day_night_flag"/>    <xsd:element ref="adjustment_value"/>  </xsd:sequence></xsd:complexType>

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

element interval_definitionType/interval_start
diagram
type interval_startType
properties
isRef 0
content complex
children date time
source
<xsd:element name="interval_start" type="interval_startType"/>

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

complexType interval_endType
diagram
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
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
children limit
used by
element newtermticType/limitations
source
<xsd:complexType name="limitationsType">  <xsd:sequence>    <xsd:element name="limit" type="limitType" maxOccurs="unbounded"/>  </xsd:sequence></xsd:complexType>

element limitationsType/limit
diagram
type limitType
properties
isRef 0
content complex
mixed true
children limitation_id temperature category day_night_flag
source
<xsd:element name="limit" type="limitType" maxOccurs="unbounded"/>

complexType limitType
diagram
properties
mixed true
children limitation_id temperature category day_night_flag
used by
element limitationsType/limit
source
<xsd:complexType name="limitType" mixed="true">  <xsd:sequence>    <xsd:element ref="limitation_id"/>    <xsd:element ref="temperature"/>    <xsd:element ref="category"/>    <xsd:element ref="day_night_flag"/>  </xsd:sequence></xsd:complexType>

complexType newtermticType
diagram
children company company_ticket_id ticket_type reason_id interval_definition comment equipment_id transmission_equipment_end_id adjustment_list limitations
used by
element edart/newtermtic
source
<xsd:complexType name="newtermticType">  <xsd:sequence>    <xsd:element ref="company" minOccurs="0"/>    <xsd:element ref="company_ticket_id"/>    <xsd:element name="ticket_type" type="ticket_typeType"/>    <xsd:element ref="reason_id"/>    <xsd:element name="interval_definition" type="interval_definitionType"/>    <xsd:element ref="comment"/>    <xsd:choice>      <xsd:element ref="equipment_id"/>      <xsd:element name="transmission_equipment_end_id" type="xsd:positiveInteger"/>    </xsd:choice>    <xsd:element name="adjustment_list" type="adjustment_listType" minOccurs="0"/>    <xsd:element name="limitations" type="limitationsType"/>  </xsd:sequence></xsd:complexType>

element newtermticType/ticket_type
diagram
type ticket_typeType
properties
isRef 0
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
implementation  required      
type  required      
source
<xsd:element name="ticket_type" type="ticket_typeType"/>

element newtermticType/interval_definition
diagram
type interval_definitionType
properties
isRef 0
content complex
children interval_start interval_end
source
<xsd:element name="interval_definition" type="interval_definitionType"/>

element newtermticType/transmission_equipment_end_id
diagram
type xsd:positiveInteger
properties
isRef 0
content simple
source
<xsd:element name="transmission_equipment_end_id" type="xsd:positiveInteger"/>

element newtermticType/adjustment_list
diagram
type adjustment_listType
properties
isRef 0
content complex
children adjustment
source
<xsd:element name="adjustment_list" type="adjustment_listType" minOccurs="0"/>

element newtermticType/limitations
diagram
type limitationsType
properties
isRef 0
content complex
children limit
source
<xsd:element name="limitations" type="limitationsType"/>

complexType ticket_typeType
diagram
used by
element newtermticType/ticket_type
attributes
Name  Type  Use  Default  Fixed  Annotation
implementation  required      
type  required      
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>


XML Schema documentation generated with
XMLSPY Schema Editor http://www.altova.com/xmlspy