weather element (weatherdata element) (Outlook Weather Information Schema)

Specifies the weather conditions of a location.

Element information

Property Value
Element type
weatherType
Namespace
http://schemas.microsoft.com/office/outlook/15/getweatherinfo.xsd
Schema file
getweatherinfo.xsd

Definition

<xs:element name="weather"      type="weatherType">
  </xs:element>  

Elements and attributes

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

Parent elements

Element Type Description
weatherdata
Defines the weather element.

Child elements

Element Type Description
current
currentType
Specifies the current weather conditions.
forecast
forecastType
Specifies the future weather conditions of at least three days ahead including today: Today, Tomorrow, Day after Tomorrow.

Attributes

Attribute Type Required Description Possible values
attribution
xs:string
required
Specifies the source of the weather information. A value of the type xs:string
degreetype
xs:string
required
Specifies the unit for the temperature of the location for example, Celsius. C, F
imagerelativeurl
xs:string
required
Specifies the URL of the image for the location. A value of the type xs:string
timezone
xs:integer
required
Specifies the GMT offset. A value between -11 and 12 inclusive
url
xs:string
required
Specifies the URL for the web page of the weather service that contains weather information for the specified location. A value of the type xs:string
weatherlocationcode
xs:string
required
Specifies the code that is associated with the location used to distinguish multiple location that have the same name. A value of the type xs:string
weatherlocationname
xs:string
required
Specifies the name of the location that appears in the drop-down control. A value of the type xs:string