1<table xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:noNamespaceSchemaLocation="http://chart/schemas/table.xsd">
3 <description>Record ingested products</description>
4 <index>
5 <type>primary-key</type>
6 <name>PRODUCTS_PK</name>
7 <field>ID</field>
8 </index>
9 <index>
10 <name>PRODUCTS_S</name>
11 <field>SENSING_START</field>
12 <!-- <compress>1</compress> -->
13 </index>
14 <index>
15 <name>PRODUCTS_F</name>
16 <field>FILENAME</field>
17 <!-- <compress>1</compress> -->
18 </index>
19 <field>
20 <name>ID</name>
21 <length>32</length>
22 <datatype>int</datatype>
23 <default>autoincrement</default>
24 </field>
25 <field>
26 <name>ACTIVITY</name>
27 <datatype>string</datatype>
28 <length>50</length>
29 </field>
30 <field>
31 <name>FILENAME</name>
32 <datatype>string</datatype>
33 <length>200</length>
34 </field>
35 <field>
36 <name>INGESTION_TIME</name>
37 <datatype>datetime</datatype>
38 <!-- <default>current_timestamp</default> -->
39 <allow-null>true</allow-null>
40 </field>
41 <field>
42 <name>RESULT</name>
43 <datatype>string</datatype>
44 <length>100</length>
45 <description>OK or FAILED</description>
46 </field>
47 <field>
48 <name>SENSING_START</name>
49 <datatype>datetime</datatype>
50 <description>Start time of product</description>
51 <allow-null>true</allow-null>
52 </field>
53 <field>
54 <name>MTIME</name>
55 <datatype>datetime</datatype>
56 <description>Modification time of product</description>
57 <allow-null>true</allow-null>
58 </field>
59 <field>
60 <name>FILESIZE</name>
61 <datatype>int</datatype>
62 <length>32</length>
63 <description>Size of product</description>
64 <unit>bytes</unit>
65 <allow-null>true</allow-null>
66 </field>
67 <field>
68 <name>NOTES</name>
69 <datatype>string</datatype>
70 <description>(if failed) record reason why</description>
71 <length>500</length>
72 <allow-null>true</allow-null>
73 </field>
74 <sid-fields/>
75</table>