{
  "schemaVersion": 1,
  "minEngineVersion": 1,
  "id": "smart-tab-v1",
  "pageHeaderSize": 4,
  "versions": [
    {
      "version": 0,
      "recordSize": 8,
      "emptyRecordHex": "FFFFFFFFFFFFFFFF",
      "fields": [
        {
          "key": "timestamp",
          "title": "Время",
          "offset": 0,
          "type": "uint32",
          "byteOrder": "little",
          "format": "unixSeconds"
        },
        {
          "key": "light",
          "title": "Свет",
          "offset": 4,
          "type": "bit",
          "bit": 7
        },
        {
          "key": "hit",
          "title": "Удар",
          "offset": 4,
          "type": "bit",
          "bit": 1
        },
        {
          "key": "threshold",
          "title": "Выход за порог",
          "offset": 4,
          "type": "bit",
          "bit": 0
        },
        {
          "key": "humidity",
          "title": "Влажность",
          "offset": 5,
          "type": "uint8",
          "unit": "%"
        },
        {
          "key": "temperature",
          "title": "Температура",
          "offset": 6,
          "type": "int16",
          "byteOrder": "little",
          "unit": "°C"
        }
      ]
    },
    {
      "version": 1,
      "recordSize": 8,
      "emptyRecordHex": "FFFFFFFFFFFFFFFF",
      "fields": [
        {
          "key": "timestamp",
          "title": "Время",
          "offset": 0,
          "type": "uint32",
          "byteOrder": "little",
          "format": "unixSeconds"
        },
        {
          "key": "light",
          "title": "Свет",
          "offset": 4,
          "type": "bit",
          "bit": 7
        },
        {
          "key": "hit",
          "title": "Удар",
          "offset": 4,
          "type": "bit",
          "bit": 1
        },
        {
          "key": "threshold",
          "title": "Выход за порог",
          "offset": 4,
          "type": "bit",
          "bit": 0
        },
        {
          "key": "humidity",
          "title": "Влажность",
          "offset": 5,
          "type": "uint8",
          "unit": "%"
        },
        {
          "key": "temperature",
          "title": "Температура",
          "offset": 6,
          "type": "int8",
          "unit": "°C"
        },
        {
          "key": "angle",
          "title": "Угол",
          "offset": 7,
          "type": "uint8",
          "unit": "°"
        }
      ]
    }
  ],
  "csvColumns": [
    {
      "key": "time",
      "title": "Время",
      "fieldKey": "timestamp"
    },
    {
      "key": "light",
      "title": "Свет",
      "fieldKey": "light"
    },
    {
      "key": "hit",
      "title": "Удар",
      "fieldKey": "hit"
    },
    {
      "key": "threshold",
      "title": "Выход за порог",
      "fieldKey": "threshold"
    },
    {
      "key": "humidity",
      "title": "Влажность",
      "fieldKey": "humidity"
    },
    {
      "key": "temperature",
      "title": "Температура",
      "fieldKey": "temperature"
    },
    {
      "key": "angle",
      "title": "Угол",
      "fieldKey": "angle"
    }
  ],
  "summary": [
    {
      "fieldKey": "temperature",
      "operations": [
        "min",
        "max",
        "average"
      ]
    },
    {
      "fieldKey": "humidity",
      "operations": [
        "min",
        "max",
        "average"
      ]
    }
  ]
}
