<?xml version="1.0" encoding="UTF-8"?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
  <meta>
    <sampleQuery>select * from {table} where q="this is a test" and target="de";</sampleQuery>
  </meta>
  <bindings>
    <select itemPath="json.responseData.translatedText" produces="JSON">
      <urls>
        <url>http://www.google.com/uds/Gtranslate?context=22&amp;langpair={source}%7C{target}&amp;v=1.0</url>
      </urls>
      <inputs>
        <key id='q' type='xs:string' paramType='query' required="true" />
        <key id='referer' type='xs:string' paramType='header'/>
        <key id='key' type='xs:string' paramType='query' default="notsupplied"/>
        <key id='source' type='xs:string' paramType='path' default="" />
        <key id='target' type='xs:string' paramType='path' required="true" />
      </inputs>
    </select>
    <select itemPath="json.responseData.language" produces="JSON">
      <urls>
        <url>http://www.google.com/uds/GlangDetect?context=22&amp;v=1.0</url>
      </urls>
      <inputs>
        <key id='q' type='xs:string' paramType='query' required="true" />
        <key id='referer' type='xs:string' paramType='header'/>
        <key id='key' type='xs:string' paramType='query' default="notsupplied"/>
      </inputs>
    </select>
  </bindings>
</table> 