forecast 元素 (weatherType complexType) (Outlook 天气信息架构)
指定至少提前三天的未来天气条件,包括今天:今天、明天、后天。
元素信息
值 | |
---|---|
元素类型 |
forecastType |
命名空间 |
http://schemas.microsoft.com/office/outlook/15/getweatherinfo.xsd |
架构文件 |
getweatherinfo.xsd |
定义
<xs:element name="forecast" type="forecastType" minOccurs="3" maxOccurs="unbounded" >
</xs:element>
元素和属性
如果架构定义了特定要求(如 sequence、 minOccurs、 maxOccurs 和 choice),请参阅定义部分。
父元素
元素 | 类型 | 说明 |
---|---|---|
天气 |
weatherType |
指定位置的天气条件。 |
子元素
无。
Attributes
属性 | 类型 | 必需 | 说明 | 可能的值 |
---|---|---|---|---|
date |
xs:date |
必需 |
指定预测的日期。 | xs:date 类型的值 |
一天 |
xs:string |
必需 |
指定预测的一天。 | xs:string 类型的值 |
高 |
xs:integer |
必需 |
指定预测的最高温度。 | xs:integer 类型的值 |
低 |
xs:integer |
必需 |
指定预测的最低温度。 | xs:integer 类型的值 |
precip |
xs:integer |
必需 |
指定降水可能性的百分比。 | xs:integer 类型的值 |
shortday |
xs:string |
必需 |
以缩写形式指定一天。 | xs:string 类型的值 |
skycodeday |
xs:integer |
必需 |
指定预测条件的代码。 | xs:integer 类型的值 |
skytextday |
xs:string |
必需 |
指定描述预测条件的一到两个单词。 | xs:string 类型的值 |