<?xml version="1.0"?>

<schema targetNamespace="http://wxnet.dnsalias.com/WxNetTypes"
  xmlns="http://www.w3.org/2001/XMLSchema">

  <complexType name="RainSummary">
    <all>
      <element name="rate" type="xsd:float"/>
      <element name="storm" type="xsd:float"/>
      <element name="day" type="xsd:float"/>
      <element name="month" type="xsd:float"/>
      <element name="year" type="xsd:float"/>
      <element name="stormStartDate" type="xsd:date"/>
    </all>
  </complexType>

  <complexType name="WindSummary">
    <all>
      <element name="speed" type="xsd:nonNegativeInteger"/>
      <element name="direction" type="xsd:nonNegativeInteger"/>
      <element name="speed10min" type="xsd:nonNegativeInteger"/>
    </all>
  </complexType>

  <complexType name="Summary">
    <all>
      <element name="temperature" type="xsd:float"/>
      <element name="pressure" type="xsd:float"/>
      <element name="windSummary" type="WindSummary"/>
      <element name="rainSummary" type="RainSummary"/> 
      <element name="sunrise" type="xsd:dateTime"/>
      <element name="sunset" type="xsd:dateTime"/>
      <element name="dewpoint" type="xsd:float"/>
    </all>
  </complexType>
</schema>