currentType complexType (Outlook Weather Information Schema)

Defines the parameters about the current 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="currentType">
     <xs:attribute name="winddisplay"   type="xs:string"      use="required"     />
     <xs:attribute name="windspeed"   type="xs:integer"      use="required"     />
     <xs:attribute name="humidity"   type="xs:integer"      use="required"     />
     <xs:attribute name="feelslike"   type="xs:integer"      use="required"     />
     <xs:attribute name="observationpoint"   type="xs:string"      use="required"     />
     <xs:attribute name="observationtime"   type="xs:time"      use="required"     />
     <xs:attribute name="date"   type="xs:date"      use="required"     />
     <xs:attribute name="skytext"   type="xs:string"      use="required"     />
     <xs:attribute name="skycode"   type="xs:integer"      use="required"     />
     <xs:attribute name="temperature"   type="xs:integer"      use="required"     />
     <xs:attribute name="shortday"   type="xs:string"      use="optional"     />
     <xs:attribute name="day"   type="xs:string"      use="optional"     />
       </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 today's date. A value of the type xs:date
day
xs:string
optional
Specifies a day for the forecast. A value of the type xs:string
feelslike
xs:integer
required
Specifies the temperature of how the current weather feels like. A value of the type xs:integer
humidity
xs:integer
required
Specifies the current numerical humidity value. A value of the type xs:integer
observationpoint
xs:string
required
Specifies where the current weather information is observed from. A value of the type xs:string
observationtime
xs:time
required
Specifies when the current weather information is observed at. A value of the type xs:time
shortday
xs:string
optional
Specifies a day in abbreviated form. A value of the type xs:string
skycode
xs:integer
required
Specifies an integer code for the current weather conditions. A value of the type xs:integer
skytext
xs:string
required
Specifies one to two words describing current weather conditions. A value of the type xs:string
temperature
xs:integer
required
Specifies the current temperature of the location. A value of the type xs:integer
winddisplay
xs:string
required
A string that describes the current wind conditions. A value of the type xs:string
windspeed
xs:integer
required
Specifies the current numerical wind speed value. A value of the type xs:integer