weatherType complexType (Outlook Weather Information Schema)

Specifies the weather conditions of a location.

Type information

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

Definition

           <xs:complexType name="weatherType">
           <xs:sequence>
     <xs:element name="current"      type="currentType">
  </xs:element>  
     <xs:element name="forecast"      type="forecastType" minOccurs="3"     maxOccurs="unbounded"    >
  </xs:element>  
       </xs:sequence>
     <xs:attribute name="weatherlocationcode"   type="xs:string"      use="required"     />
     <xs:attribute name="timezone"   type="xs:integer"      use="required"     />
     <xs:attribute name="attribution"   type="xs:string"      use="required"     />
     <xs:attribute name="degreetype"   type="xs:string"      use="required"     />
     <xs:attribute name="imagerelativeurl"   type="xs:string"      use="required"     />
     <xs:attribute name="url"   type="xs:string"      use="required"     />
     <xs:attribute name="weatherlocationname"   type="xs:string"      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

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