{
  "Id": "7e1d5a42-3210-4bc1-90ef-a1b2c3d4e5f6",
  "Name": "O2Ring Header",
  "FileOffset": 0,
  "Description": "Internal header for Wellue/Viatom O2Ring files.",
  "Extension": ".dat",
  "Groups": [
    {
      "Id": "8c7b6a59-4d3e-42f1-b0a9-c8d7e6f5a4b3",
      "Name": "Timestamp"
    },
    {
      "Id": "7394ea04-a621-4389-9824-3868297b98f2",
      "Name": "Settings"
    }
  ],
  "Entries": [
    {
      "Id": "c3d4e5f6-a1b2-4c5d-0e1f-2a3b4c5d6e01",
      "SchemaId": "7e1d5a42-3210-4bc1-90ef-a1b2c3d4e5f6",
      "Name": "Year",
      "DataType": 1,
      "Offset": 2,
      "Width": 2,
      "Length": 1,
      "IsBigEndian": false,
      "GroupId": "8c7b6a59-4d3e-42f1-b0a9-c8d7e6f5a4b3"
    },
    {
      "Id": "6ba7b810-9dad-11d1-80b4-00c04fd430c8",
      "SchemaId": "7e1d5a42-3210-4bc1-90ef-a1b2c3d4e5f6",
      "Name": "Month",
      "DataType": 1,
      "Offset": 4,
      "Width": 1,
      "Length": 1,
      "IsBigEndian": false,
      "GroupId": "8c7b6a59-4d3e-42f1-b0a9-c8d7e6f5a4b3"
    },
    {
      "Id": "2d5e3c8a-1f4b-4a2d-9b6c-7e8f9a0b1c2d",
      "SchemaId": "7e1d5a42-3210-4bc1-90ef-a1b2c3d4e5f6",
      "Name": "Day",
      "DataType": 1,
      "Offset": 5,
      "Width": 1,
      "Length": 1,
      "IsBigEndian": false,
      "GroupId": "8c7b6a59-4d3e-42f1-b0a9-c8d7e6f5a4b3"
    },
    {
      "Id": "a9b8c7d6-e5f4-4321-bcde-f09876543210",
      "SchemaId": "7e1d5a42-3210-4bc1-90ef-a1b2c3d4e5f6",
      "Name": "Hour",
      "DataType": 1,
      "Offset": 6,
      "Width": 1,
      "Length": 1,
      "IsBigEndian": false,
      "GroupId": "8c7b6a59-4d3e-42f1-b0a9-c8d7e6f5a4b3"
    },
    {
      "Id": "3f2a1b0c-d9e8-4756-b4a3-2c1d0f9e8d7c",
      "SchemaId": "7e1d5a42-3210-4bc1-90ef-a1b2c3d4e5f6",
      "Name": "Minute",
      "DataType": 1,
      "Offset": 7,
      "Width": 1,
      "Length": 1,
      "IsBigEndian": false,
      "GroupId": "8c7b6a59-4d3e-42f1-b0a9-c8d7e6f5a4b3"
    },
    {
      "Id": "c7b6a594-8372-4160-a5e4-d3c2b1a0f9e8",
      "SchemaId": "7e1d5a42-3210-4bc1-90ef-a1b2c3d4e5f6",
      "Name": "Second",
      "DataType": 1,
      "Offset": 8,
      "Width": 1,
      "Length": 1,
      "IsBigEndian": false,
      "GroupId": "8c7b6a59-4d3e-42f1-b0a9-c8d7e6f5a4b3"
    },
    {
      "Id": "d2e1f0a9-b8c7-4654-9382-716059483726",
      "SchemaId": "7e1d5a42-3210-4bc1-90ef-a1b2c3d4e5f6",
      "Name": "File Size",
      "DataType": 1,
      "Offset": 9,
      "Width": 4,
      "Length": 1,
      "IsBigEndian": false,
      "Description": "Total file size in bytes",
      "Suffix": "bytes"
    },
    {
      "Id": "1a2b3c4d-5e6f-4a5b-9c8d-7e6f5a4b3c2d",
      "SchemaId": "7e1d5a42-3210-4bc1-90ef-a1b2c3d4e5f6",
      "Name": "Duration",
      "DataType": 1,
      "Offset": 13,
      "Width": 4,
      "Length": 1,
      "IsBigEndian": false,
      "Description": "Total recording time in seconds",
      "Suffix": "seconds"
    },
    {
      "Id": "f8e7d6c5-b4a3-4210-9091-827364554637",
      "SchemaId": "7e1d5a42-3210-4bc1-90ef-a1b2c3d4e5f6",
      "Name": "SpO2 Threshold",
      "DataType": 1,
      "Offset": 18,
      "Width": 1,
      "Length": 1,
      "IsBigEndian": false,
      "Description": "SpO2 percentage that triggers the ring vibration",
      "Suffix": "%",
      "GroupId": "7394ea04-a621-4389-9824-3868297b98f2"
    },
    {
      "Id": "9a8b7c6d-5e4f-4321-bcde-f09876543210",
      "SchemaId": "7e1d5a42-3210-4bc1-90ef-a1b2c3d4e5f6",
      "Name": "Vibration Level",
      "DataType": 6,
      "Offset": 20,
      "Width": 1,
      "Length": 1,
      "IsBigEndian": false,
      "GroupId": "7394ea04-a621-4389-9824-3868297b98f2",
      "EnumEntries": [
        {
          "Id": "d1c2b3a4-e5f6-47a8-b9c0-d1e2f3a4b5c6",
          "SchemaEntryId": "9a8b7c6d-5e4f-4321-bcde-f09876543210",
          "Value": 0,
          "DisplayValue": "Off"
        },
        {
          "Id": "e2f3a4b5-c6d7-48b9-c0d1-e2f3a4b5c6d7",
          "SchemaEntryId": "9a8b7c6d-5e4f-4321-bcde-f09876543210",
          "Value": 1,
          "DisplayValue": "Weakest"
        },
        {
          "Id": "f3a4b5c6-d7e8-49b9-d0e1-f2a3b4c5d6e7",
          "SchemaEntryId": "9a8b7c6d-5e4f-4321-bcde-f09876543210",
          "Value": 2,
          "DisplayValue": "Weak"
        },
        {
          "Id": "a1b2c3d4-e5f6-47b9-89c0-d1e2f3a4b5c8",
          "SchemaEntryId": "9a8b7c6d-5e4f-4321-bcde-f09876543210",
          "Value": 3,
          "DisplayValue": "Medium"
        },
        {
          "Id": "b2c3d4e5-f6a7-48c9-90d1-e2f3a4b5c6d9",
          "SchemaEntryId": "9a8b7c6d-5e4f-4321-bcde-f09876543210",
          "Value": 4,
          "DisplayValue": "Strong"
        },
        {
          "Id": "c3d4e5f6-a7b8-49d9-01e2-f3a4b5c6d7e0",
          "SchemaEntryId": "9a8b7c6d-5e4f-4321-bcde-f09876543210",
          "Value": 5,
          "DisplayValue": "Very strong"
        }
      ]
    },
    {
      "Id": "4e5f6a7b-8c9d-4e5f-bcde-f0123456789a",
      "SchemaId": "7e1d5a42-3210-4bc1-90ef-a1b2c3d4e5f6",
      "Name": "Padding",
      "DataType": 2,
      "Offset": 28,
      "Width": 1,
      "Length": 12,
      "IsBigEndian": false,
      "Description": "Padding to data start"
    }
  ]
}