<?xml version="1.0"?>
<xs:schema targetNamespace="http://ed.gov.example/termsets#" 
           xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:geo="http://geo.gov.example/termsets#"
    xmlns:time="http://time.gov.example/termsets#"
    xmlns:xlink="http://www.w3.org/1999/xlink"
           elementFormDefault="qualified"
>
  <xs:element name="county-monthly-avg">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="sat-math" type="xs:decimal" />
        <xs:element name="sat-verbal" type="xs:decimal" />
        <xs:element ref="time:ending" />
        <xs:element name="testing-site" />
          <xs:complexType>
            <xs:attribute name="xlink:href" type="xs:anyURI"/>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>

  <xs:element name="report">
    <xs:complexType>
      <xs:sequence>
        <xs:element ref="county-monthly-avg" />
        <xs:element ref="geo:location" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>
