<schema targetNamespace="http://www.openarchives.org/OAI/test"
  xmlns:test="http://www.openarchives.org/OAI/test"
  xmlns="http://www.w3.org/2001/XMLSchema"
  elementFormDefault="qualified"
  attributeFormDefault="unqualified"
  version="1.0">

<element name="responseDate" type="test:dateTimeZuluType"/>

<!--
Restrict dateTime to allow only "Zulu" format specification
of dateTime in UTC. This requires simply that we demand that
the last character is a 'Z' since that is the only valid use
of Z in dateTime.
-->
  <simpleType name="dateTimeZuluType">
    <restriction base="dateTime">
      <pattern value=".+Z"/>
    </restriction>
  </simpleType>

</schema>
