1<table xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2       xsi:noNamespaceSchemaLocation="http://chart/schemas/table.xsd">
  3    <description>Telecommand events low level storage</description>
  4    <type>raw</type>
  5    <stats-storage>none</stats-storage>
  6    <visible>false</visible>
  7    <period>PT10M</period>
  8    <index>
  9        <type>primary-key</type>
 10        <sid-fields/>
 11        <field>SENSING_TIME</field>
 12        <field>LAST_UPDATE_TIME</field>
 13    </index>
 14    <field>
 15        <name>RELEASE_TIME</name>
 16        <description>Packet Release from MCS time</description>
 17        <datatype>datetime</datatype>
 18        <allow-null>true</allow-null>
 19    </field>
 20    <field>
 21        <name>FILE_POS</name>
 22        <description>File offset in source file this command was ingested from</description>
 23        <datatype>int</datatype>
 24        <length>32</length>
 25        <allow-null>true</allow-null>
 26    </field>
 27    <field>
 28        <name>PRODUCT</name>
 29        <description>Link to PRODUCTS table this row was generated from</description>
 30        <datatype>int</datatype>
 31        <length>32</length>
 32        <allow-null>true</allow-null>
 33    </field>
 34    <field>
 35        <name>PAYLOAD</name>
 36        <description>Command unique parameters extracted via SRDB entries</description>
 37        <datatype>jsonb</datatype>
 38        <allow-null>true</allow-null>
 39    </field>
 40    <field>
 41        <name>HEX</name>
 42        <description>Hex dumps of raw packet segments</description>
 43        <datatype>jsonb</datatype>
 44        <allow-null>true</allow-null>
 45    </field>
 46    <group>
 47        <name>TDEV</name>
 48        <description>Values from the TDEV TC Header segment</description>
 49        <field>
 50            <name>UPLINK_TIME</name>
 51            <datatype>datetime</datatype>
 52        </field>
 53        <field>
 54            <name>EXECUT_TIME</name>
 55            <datatype>datetime</datatype>
 56        </field>
 57        <field>
 58            <name>LAST_UPDATE_TIME</name>
 59            <datatype>datetime</datatype>
 60        </field>
 61        <field>
 62            <name>REQUEST_ID</name>
 63            <datatype>uint</datatype>
 64            <length>32</length>
 65        </field>
 66        <field>
 67            <name>REQUEST_ELEMENT_INDEX</name>
 68            <datatype>uint</datatype>
 69            <length>16</length>
 70        </field>
 71        <field>
 72            <name>VARIABLE_ADDRESS_SIZE</name>
 73            <datatype>uint</datatype>
 74            <length>16</length>
 75        </field>
 76        <group>
 77            <name>PUS Header</name>
 78            <field>
 79                <name>PUS_APID</name>
 80                <datatype>uint</datatype>
 81                <length>16</length>
 82            </field>
 83            <field>
 84                <name>PUS_SSC</name>
 85                <datatype>uint</datatype>
 86                <length>8</length>
 87            </field>
 88            <field>
 89                <name>PUS_SERVICE_TYPE</name>
 90                <datatype>uint</datatype>
 91                <length>8</length>
 92            </field>
 93            <field>
 94                <name>PUS_SERVICE_SUBTYPE</name>
 95                <datatype>uint</datatype>
 96                <length>8</length>
 97            </field>
 98            <field>
 99                <name>PUS_ACK_FLAGS</name>
100                <datatype>uint</datatype>
101                <length>8</length>
102            </field>
103        </group>
104        <field>
105            <name>UPLINK_FLAG</name>
106            <datatype>uint</datatype>
107            <length>8</length>
108        </field>
109        <field>
110            <name>COMMAND_SOURCE_HOST</name>
111            <datatype>uint</datatype>
112            <length>8</length>
113        </field>
114        <field>
115            <name>COMMAND_SOURCE_TYPE</name>
116            <datatype>uint</datatype>
117            <length>8</length>
118        </field>
119        <field>
120            <name>REQUEST_DETAILS_FIXED_SIZE</name>
121            <datatype>uint</datatype>
122            <length>16</length>
123        </field>
124    </group>
125    <group>
126        <name>CEV_PTV</name>
127        <description>TC CEV PTV details structure</description>
128        <field>
129            <name>VERSION_MAJOR</name>
130            <datatype>uint</datatype>
131            <length>8</length>
132        </field>
133        <field>
134            <name>VERSION_MINOR</name>
135            <datatype>uint</datatype>
136            <length>8</length>
137        </field>
138        <field>
139            <name>NUM_VERIFICATION_RESULTS</name>
140            <datatype>uint</datatype>
141            <length>16</length>
142        </field>
143    </group>
144</table>