<?xml version="1.0" encoding="UTF-8"?>
<!-- Tool settings -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://www.ggf.org/namespaces/2004/08/gridNetworkMonitoring" xmlns:g="http://www.ggf.org/namespaces/2004/08/gridNetworkMonitoring">
  <xs:complexType name="Tool">
    <xs:annotation>
      <xs:documentation>The tool and optional command lines to use</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="name" type="xs:token"/>
      <xs:element minOccurs="0" ref="g:major"/>
      <xs:element minOccurs="0" ref="g:minor"/>
      <xs:element minOccurs="0" ref="g:release"/>
      <xs:element minOccurs="0" ref="g:buildDate"/>
      <xs:element minOccurs="0" ref="g:vendor"/>
      <xs:element minOccurs="0" ref="g:versionString"/>
      <xs:element minOccurs="0" ref="g:sourceCommandLine"/>
      <xs:element minOccurs="0" ref="g:destCommandLine"/>
    </xs:sequence>
    <xs:attribute name="required" type="xs:boolean"/>
  </xs:complexType>
  <xs:element name="major" type="xs:int"/>
  <xs:element name="minor" type="xs:int"/>
  <xs:element name="release" type="xs:token"/>
  <xs:element name="buildDate" type="xs:date"/>
  <xs:element name="vendor" type="xs:string"/>
  <xs:element name="versionString" type="xs:string"/>
  <xs:element name="sourceCommandLine" type="g:ToolCommandLine"/>
  <xs:element name="destCommandLine" type="g:ToolCommandLine"/>
  <xs:complexType name="ToolCommandLine">
    <xs:choice>
      <xs:element maxOccurs="unbounded" ref="g:arg"/>
      <xs:element ref="g:line"/>
    </xs:choice>
  </xs:complexType>
  <xs:element name="arg" type="xs:string"/>
  <xs:element name="line" type="xs:string"/>
</xs:schema>

