forecastType complexType (Outlook Weather Information Schema)

Defines the parameters about the forecast weather conditions of a location.

Type information

Property Value
Namespace
http://schemas.microsoft.com/office/outlook/15/getweatherinfo.xsd
Schema file
getweatherinfo.xsd
Extension base
None

Definition

       <xs:complexType name="forecastType">
     <xs:attribute name="shortday"   type="xs:string"      use="required"     />
     <xs:attribute name="day"   type="xs:string"      use="required"     />
     <xs:attribute name="date"   type="xs:date"      use="required"     />
     <xs:attribute name="precip"   type="xs:integer"      use="required"     />
     <xs:attribute name="skytextday"   type="xs:string"      use="required"     />
     <xs:attribute name="skycodeday"   type="xs:integer"      use="required"     />
     <xs:attribute name="high"   type="xs:integer"      use="required"     />
     <xs:attribute name="low"   type="xs:integer"      use="required"     />
       </xs:complexType>

Elements and attributes

If the schema defines specific requirements, such as sequence, minOccurs, maxOccurs, and choice, see the definition section.

Child elements

None.

Attributes

Attribute Type Required Description Possible values
date
xs:date
required
Specifies the date for the forecast. A value of the type xs:date
day
xs:string
required
Specifies a day for the forecast. A value of the type xs:string
high
xs:integer
required
Specifies the forecasted highest temperature. A value of the type xs:integer
low
xs:integer
required
Specifies the forecasted lowest temperature. A value of the type xs:integer
precip
xs:integer
required
Specifies the percentage possibility of precipitation. A value of the type xs:integer
shortday
xs:string
required
Specifies a day in abbreviated form. A value of the type xs:string
skycodeday
xs:integer
required
Specifies a code for the forecasted conditions. A value of the type xs:integer
skytextday
xs:string
required
Specifies one to two words that describe the forecasted conditions. A value of the type xs:string