67 lines
1.9 KiB
JSON
67 lines
1.9 KiB
JSON
{
|
|
"schemaVersion": 1,
|
|
"measurementEnvelope": {
|
|
"schemaVersion": 1,
|
|
"eventId": "11111111-1111-4111-8111-111111111111",
|
|
"deviceId": "watch-series-10-test",
|
|
"sequence": 42,
|
|
"sentAt": "2026-07-20T09:00:01.000Z",
|
|
"kind": "measurementUpsert",
|
|
"payload": {
|
|
"schemaVersion": 1,
|
|
"id": "22222222-2222-4222-8222-222222222222",
|
|
"updatedAt": "2026-07-20T09:00:01.000Z",
|
|
"startedAt": "2026-07-20T08:59:00.000Z",
|
|
"endedAt": "2026-07-20T09:00:00.000Z",
|
|
"source": "appleWatchOptical",
|
|
"device": {
|
|
"id": "watch-series-10-test",
|
|
"name": "Apple Watch de test",
|
|
"model": "Watch7,8",
|
|
"systemVersion": "11.0"
|
|
},
|
|
"currentBpm": 72,
|
|
"averageBpm": 71.5,
|
|
"minimumBpm": 68,
|
|
"maximumBpm": 75,
|
|
"samples": [
|
|
{"offsetSeconds": 0, "bpm": 70},
|
|
{"offsetSeconds": 7, "bpm": 71},
|
|
{"offsetSeconds": 14, "bpm": 72},
|
|
{"offsetSeconds": 21, "bpm": 70},
|
|
{"offsetSeconds": 28, "bpm": 73},
|
|
{"offsetSeconds": 35, "bpm": 71},
|
|
{"offsetSeconds": 42, "bpm": 73},
|
|
{"offsetSeconds": 50, "bpm": 72}
|
|
],
|
|
"coverage": 0.8333333333,
|
|
"quality": 0.83,
|
|
"valid": true,
|
|
"invalidReason": null,
|
|
"context": {
|
|
"atRest": true,
|
|
"posture": "seated",
|
|
"recentExercise": false,
|
|
"recentCaffeine": false,
|
|
"recentMeal": false
|
|
},
|
|
"feeling": {"score": 4, "recordedAt": "2026-07-20T09:00:00.000Z"}
|
|
}
|
|
},
|
|
"tombstoneEnvelope": {
|
|
"schemaVersion": 1,
|
|
"eventId": "33333333-3333-4333-8333-333333333333",
|
|
"deviceId": "watch-series-10-test",
|
|
"sequence": 43,
|
|
"sentAt": "2026-07-20T09:05:00.000Z",
|
|
"kind": "tombstone",
|
|
"payload": {
|
|
"schemaVersion": 1,
|
|
"entityId": "22222222-2222-4222-8222-222222222222",
|
|
"entityKind": "measurement",
|
|
"deletedAt": "2026-07-20T09:05:00.000Z",
|
|
"updatedAt": "2026-07-20T09:05:00.000Z"
|
|
}
|
|
}
|
|
}
|