<?xml version="1.0" encoding="UTF-8"?>
<!-- The timing of the request -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://www.ggf.org/namespaces/2004/10/gridNetworkMonitoring" xmlns:tns="http://www.ggf.org/namespaces/2004/10/gridNetworkMonitoring">
  <xs:complexType name="TimeInformation">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:element ref="tns:time"/>
      <xs:element ref="tns:plusTimeTolerance"/>
      <xs:element ref="tns:minusTimeTolerance"/>
      <xs:element ref="tns:testingInterval"/>
    </xs:choice>
  </xs:complexType>
  <xs:element name="time">
    <xs:annotation>
      <xs:documentation>Measurements should have been measured at or near this time. The value can be "unbounded" or </xs:documentation>
    </xs:annotation>
    <xs:simpleType>
      <xs:union memberTypes="xs:token xs:double"/>
    </xs:simpleType>
  </xs:element>
  <xs:element name="plusTimeTolerance">
    <xs:annotation>
      <xs:documentation>Measurements should have been measured before time + plusTimeTolerance</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
      <xs:union memberTypes="xs:token xs:double"/>
    </xs:simpleType>
  </xs:element>
  <xs:element name="minusTimeTolerance">
    <xs:annotation>
      <xs:documentation>Measurements should have been measured after time - minusTimeTolerance</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
      <xs:union memberTypes="xs:token xs:double"/>
    </xs:simpleType>
  </xs:element>
  <xs:element name="testingInterval">
    <xs:annotation>
      <xs:documentation>If measurements are being made, this value may be used as a guide to the interval between measurements</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
      <xs:union memberTypes="xs:token xs:double"/>
    </xs:simpleType>
  </xs:element>
</xs:schema>

