Schema zonalforecast.xsd


schema location ..\zonalforecast.xsd
attributeFormDefault
elementFormDefault
 
Elements  Complex types  Simple types 
zonalForecast  errorsType  datePlusHour 
forecastHourlyType  monthYear 
forecastMonthlyType 
messagesType 
zoneType 


element zonalForecast
diagram zonalforecast_p1.png
properties
content complex
children errors messages zone
source <xs:element name="zonalForecast">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="errors" type="errorsType" minOccurs="0"/>
     
<xs:element name="messages" type="messagesType" minOccurs="0"/>
     
<xs:element name="zone" type="zoneType" maxOccurs="unbounded"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element zonalForecast/errors
diagram zonalforecast_p2.png
type errorsType
properties
minOcc 0
maxOcc 1
content complex
children error
source <xs:element name="errors" type="errorsType" minOccurs="0"/>

element zonalForecast/messages
diagram zonalforecast_p3.png
type messagesType
properties
minOcc 0
maxOcc 1
content complex
children message
source <xs:element name="messages" type="messagesType" minOccurs="0"/>

element zonalForecast/zone
diagram zonalforecast_p4.png
type zoneType
properties
minOcc 1
maxOcc unbounded
content complex
children forecastHourly forecastMonthly
attributes
Name  Type  Use  Default  Fixed  Annotation
name          
source <xs:element name="zone" type="zoneType" maxOccurs="unbounded"/>

complexType errorsType
diagram zonalforecast_p5.png
children error
used by
element zonalForecast/errors
source <xs:complexType name="errorsType">
 
<xs:sequence>
   
<xs:element name="error" type="xs:string" maxOccurs="unbounded"/>
 
</xs:sequence>
</xs:complexType>

element errorsType/error
diagram zonalforecast_p6.png
type xs:string
properties
minOcc 1
maxOcc unbounded
content simple
source <xs:element name="error" type="xs:string" maxOccurs="unbounded"/>

complexType forecastHourlyType
diagram zonalforecast_p7.png
used by
element zoneType/forecastHourly
attributes
Name  Type  Use  Default  Fixed  Annotation
hourEndGmt  datePlusHour  required      
documentation
mm/dd/yyyy hh24
tempSet  xs:string  required      
source  xs:string        
source <xs:complexType name="forecastHourlyType">
 
<xs:attribute name="hourEndGmt" type="datePlusHour" use="required">
   
<xs:annotation>
     
<xs:documentation>mm/dd/yyyy hh24</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="tempSet" type="xs:string" use="required"/>
 
<xs:attribute name="source" type="xs:string"/>
</xs:complexType>

attribute forecastHourlyType/@hourEndGmt
type datePlusHour
properties
use required
facets
Kind Value Annotation
pattern \d{2}/\d{2}/\d{4}\s+\d{2}
annotation
documentation
mm/dd/yyyy hh24
source <xs:attribute name="hourEndGmt" type="datePlusHour" use="required">
 
<xs:annotation>
   
<xs:documentation>mm/dd/yyyy hh24</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute forecastHourlyType/@tempSet
type xs:string
properties
use required
source <xs:attribute name="tempSet" type="xs:string" use="required"/>

attribute forecastHourlyType/@source
type xs:string
source <xs:attribute name="source" type="xs:string"/>

complexType forecastMonthlyType
diagram zonalforecast_p8.png
used by
element zoneType/forecastMonthly
attributes
Name  Type  Use  Default  Fixed  Annotation
effectiveMonth  monthYear  required      
documentation
mm-yyyy
tempSet  xs:string  required      
source  xs:string        
source <xs:complexType name="forecastMonthlyType">
 
<xs:attribute name="effectiveMonth" type="monthYear" use="required">
   
<xs:annotation>
     
<xs:documentation>mm-yyyy</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="tempSet" type="xs:string" use="required"/>
 
<xs:attribute name="source" type="xs:string"/>
</xs:complexType>

attribute forecastMonthlyType/@effectiveMonth
type monthYear
properties
use required
facets
Kind Value Annotation
pattern \d{2}-\d{4}
annotation
documentation
mm-yyyy
source <xs:attribute name="effectiveMonth" type="monthYear" use="required">
 
<xs:annotation>
   
<xs:documentation>mm-yyyy</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute forecastMonthlyType/@tempSet
type xs:string
properties
use required
source <xs:attribute name="tempSet" type="xs:string" use="required"/>

attribute forecastMonthlyType/@source
type xs:string
source <xs:attribute name="source" type="xs:string"/>

complexType messagesType
diagram zonalforecast_p9.png
children message
used by
element zonalForecast/messages
source <xs:complexType name="messagesType">
 
<xs:sequence>
   
<xs:element name="message" type="xs:string" maxOccurs="unbounded"/>
 
</xs:sequence>
</xs:complexType>

element messagesType/message
diagram zonalforecast_p10.png
type xs:string
properties
minOcc 1
maxOcc unbounded
content simple
source <xs:element name="message" type="xs:string" maxOccurs="unbounded"/>

complexType zoneType
diagram zonalforecast_p11.png
children forecastHourly forecastMonthly
used by
element zonalForecast/zone
attributes
Name  Type  Use  Default  Fixed  Annotation
name          
source <xs:complexType name="zoneType">
 
<xs:sequence>
   
<xs:element name="forecastHourly" type="forecastHourlyType" minOccurs="0" maxOccurs="unbounded"/>
   
<xs:element name="forecastMonthly" type="forecastMonthlyType" minOccurs="0" maxOccurs="unbounded"/>
 
</xs:sequence>
 
<xs:attribute name="name"/>
</xs:complexType>

attribute zoneType/@name
source <xs:attribute name="name"/>

element zoneType/forecastHourly
diagram zonalforecast_p12.png
type forecastHourlyType
properties
minOcc 0
maxOcc unbounded
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
hourEndGmt  datePlusHour  required      
documentation
mm/dd/yyyy hh24
tempSet  xs:string  required      
source  xs:string        
source <xs:element name="forecastHourly" type="forecastHourlyType" minOccurs="0" maxOccurs="unbounded"/>

element zoneType/forecastMonthly
diagram zonalforecast_p13.png
type forecastMonthlyType
properties
minOcc 0
maxOcc unbounded
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
effectiveMonth  monthYear  required      
documentation
mm-yyyy
tempSet  xs:string  required      
source  xs:string        
source <xs:element name="forecastMonthly" type="forecastMonthlyType" minOccurs="0" maxOccurs="unbounded"/>

simpleType datePlusHour
type restriction of xs:string
properties
base xs:string
used by
attribute forecastHourlyType/@hourEndGmt
facets
Kind Value Annotation
pattern \d{2}/\d{2}/\d{4}\s+\d{2}
source <xs:simpleType name="datePlusHour">
 
<xs:restriction base="xs:string">
   
<xs:pattern value="\d{2}/\d{2}/\d{4}\s+\d{2}"/>
 
</xs:restriction>
</xs:simpleType>

simpleType monthYear
type restriction of xs:string
properties
base xs:string
used by
attribute forecastMonthlyType/@effectiveMonth
facets
Kind Value Annotation
pattern \d{2}-\d{4}
source <xs:simpleType name="monthYear">
 
<xs:restriction base="xs:string">
   
<xs:pattern value="\d{2}-\d{4}"/>
 
</xs:restriction>
</xs:simpleType>


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