ECG - JSON 导出格式
JSON 导出中 ECG 结构的文档
最后更新: 2026年10月31日
JSON 导出将 ECG 记录存储在 ecg 数组中。
结构
此示例显示 30 秒记录。voltageMeasurements 数组缩短为其前两个读数;numberOfVoltageMeasurements 描述原始记录。
{
"start": "2024-02-06 14:30:00 -0800",
"end": "2024-02-06 14:30:30 -0800",
"classification": "Sinus Rhythm",
"averageHeartRate": 72,
"numberOfVoltageMeasurements": 15360,
"voltageMeasurements": [
{"date": 1707258600, "voltage": 123, "units": "mcV"},
{"date": 1707258600.001953125, "voltage": 125, "units": "mcV"}
],
"samplingFrequency": 512,
"source": "Apple Watch"
}
字段
start、end(字符串):记录时间戳,格式为yyyy-MM-dd HH:mm:ss Z。classification(字符串):记录的分类。导出器输出的英文值为Not Set、Sinus Rhythm、Atrial Fibrillation、Inconclusive Low Heart Rate、Inconclusive High Heart Rate、Inconclusive Poor Recording、Inconclusive和Unrecognized。averageHeartRate(数字):平均心率,单位为每分钟搏动次数。numberOfVoltageMeasurements(数字):记录中的电压读数总数。voltageMeasurements(数组):记录的电压读数。samplingFrequency(数字):采样频率,单位为赫兹。source(字符串):记录的 App 或设备。
电压测量
每个读数包含:
date(数字):测量时间,为含小数秒的 Unix epoch 秒。voltage(数字):电压,单位为微伏。units(字符串):mcV。
ECG 导出可能很大,因为包含电压序列。需要较小文件时请使用更短的导出日期范围。