指定当前天气条件。
元素信息
属性 | 值 |
---|---|
元素类型 |
currentType |
命名空间 |
http://schemas.microsoft.com/office/outlook/15/getweatherinfo.xsd |
架构文件 |
getweatherinfo.xsd |
定义
<xs:element name="current" type="currentType">
</xs:element>
元素和属性
如果架构定义了特定要求(如 sequence、 minOccurs、 maxOccurs 和 choice),请参阅定义部分。
父元素
元素 | 类型 | 说明 |
---|---|---|
天气 |
weatherType |
指定位置的天气条件。 |
子元素
无。
Attributes
属性 | 类型 | 必需 | 说明 | 可能的值 |
---|---|---|---|---|
date |
xs:date |
必需 |
指定今天的日期。 | xs:date 类型的值 |
一天 |
xs:string |
可选 |
指定预测的一天。 | xs:string 类型的值 |
feelslike |
xs:integer |
必需 |
指定当前天气的温度。 | xs:integer 类型的值 |
湿度 |
xs:integer |
必需 |
指定当前数值湿度值。 | xs:integer 类型的值 |
观察点 |
xs:string |
必需 |
指定从中观测到当前天气信息的位置。 | xs:string 类型的值 |
observationtime |
xs:time |
必需 |
指定何时观察到当前天气信息。 | xs:time 类型的值 |
shortday |
xs:string |
可选 |
以缩写形式指定一天。 | xs:string 类型的值 |
skycode |
xs:integer |
必需 |
指定当前天气条件的整数代码。 | xs:integer 类型的值 |
skytext |
xs:string |
必需 |
指定描述当前天气条件的一到两个单词。 | xs:string 类型的值 |
温度 |
xs:integer |
必需 |
指定位置的当前温度。 | xs:integer 类型的值 |
winddisplay |
xs:string |
必需 |
描述当前风条件的字符串。 | xs:string 类型的值 |
windspeed |
xs:integer |
必需 |
指定当前数值风速值。 | xs:integer 类型的值 |