<?xml version="1.0"?>
<?xml-stylesheet href='/static/xsl/vosi.xsl' type='text/xsl'?>
<vtm:tableset xmlns:vs="http://www.ivoa.net/xml/VODataService/v1.1" xmlns:vtm="http://www.ivoa.net/xml/VOSITables/v1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.ivoa.net/xml/VODataService/v1.1 http://vo.ari.uni-heidelberg.de/docs/schemata/VODataService-v1.1.xsd http://www.ivoa.net/xml/VOSITables/v1.0 http://vo.ari.uni-heidelberg.de/docs/schemata/VOSITables-v1.0.xsd">
  <schema>
    <name>test</name>
    <description>This is a unittest schema</description>
    <table>
      <name>test.all</name>
      <title>Test table</title>
      <description>All test data in one table</description>
      <utype>utype</utype>
      <nrows>30</nrows>
      <column>
        <name>id</name>
        <description>Primary key</description>
        <unit>unit</unit>
        <ucd>meta.id;meta.main</ucd>
        <utype>utype</utype>
        <dataType arraysize="*" size="42" xsi:type="vs:TAP" delim=";">VARCHAR</dataType>
        <flag>indexed</flag>
        <flag>primary</flag>
      </column>
      <foreignKey>
        <targetTable>test.foreigntable</targetTable>
        <fkColumn>
          <fromColumn>testkey</fromColumn>
          <targetColumn>testkey</targetColumn>
        </fkColumn>
        <description>Test foreigner</description>
        <utype>utype</utype>
      </foreignKey>
    </table>
  </schema>
</vtm:tableset>
