Files
HealthLog/tests/integration/__golden__/backup-parity/restore-version-1.json
T
Marc-André Bombeck 64fa65b460 test(backup): pin the file and the restored account against golden copies
Seed one account as far as the schema allows (a row of every two-ended
model, every column of those rows and of the account row, the instance
settings, a sharing grant), export it both ways and restore each file
into a fresh account, over the live account, and from a version-1 file
in the old shapes. The files, counts, parsed payload, preview, restore
outcome, reported phases, audit rows, wide-event fields and every row the
account holds afterwards are compared with golden copies after ids,
ciphertext and run-time timestamps are normalised. Refusals, skip reports
and the schema's issue list for malformed files are pinned the same way.

The seed moves out of the round-trip test into a shared fixture module
so both files fill the same account.
2026-10-22 06:22:30 +02:00

1808 lines
52 KiB
JSON

{
"outcome": {
"ok": true,
"response": {
"restored": true,
"summary": {
"schemaVersion": "1",
"userId": "round-trip-owner",
"exportedAt": "2026-07-20T08:00:00.000Z",
"measurements": 5,
"medications": 2,
"intakeEvents": 2,
"medicationSideEffects": 0,
"medicationEfficacyTargets": 0,
"medicationScheduleRevisions": 0,
"moodEntries": 2,
"cycles": 0,
"cycleDayLogs": 0,
"nutrientDays": 1,
"labResults": 1,
"biomarkers": 1,
"illnessEpisodes": 2,
"illnessDayLogs": 1,
"allergies": 1,
"familyHistory": 1,
"workouts": 1,
"documents": 0,
"documentConditionLinks": 0,
"extractedFacts": 0,
"healthProfile": 0,
"healthProfileFactRevisions": 0,
"customMetrics": 0,
"customMetricEntries": 0,
"correlationPatterns": 0,
"intradayProfiles": 0,
"healthScoreRecords": 0,
"onboardingRecords": 0,
"practitioners": 0,
"encounters": 0,
"encounterLinks": 0,
"vaccinations": 0,
"vaccinationLinks": 0,
"relationLinks": 0,
"customVaccines": 0,
"measurementReminders": 0,
"measurementReminderEvents": 0,
"coachConversations": 0,
"coachMessages": 0,
"coachFacts": 0,
"coachPlans": 0,
"coachReminders": 0,
"mentalHealthAssessments": 0,
"consentReceipts": 0,
"personalRecords": 0,
"userAchievements": 0,
"environmentContexts": 0,
"environmentTravelLocations": 0,
"dawarichDays": 0,
"ecgRecordings": 0
},
"skipped": {
"catalogueKeys": [],
"links": 0
},
"cleared": {
"measurements": 1,
"medications": 0,
"intakeEvents": 0,
"moodEntries": 1,
"notificationChannels": 0,
"pushSubscriptions": 0,
"telegramScheduledDeletions": 0,
"cycles": 0,
"cycleDayLogs": 0,
"cycleProfile": 0,
"labResults": 0,
"biomarkers": 0,
"nutrientDays": 0,
"illnessEpisodes": 0,
"allergies": 0,
"familyHistory": 0,
"workouts": 0,
"documents": 0,
"documentConditionLinks": 0,
"extractedFacts": 0,
"healthProfile": 0,
"healthProfileFactRevisions": 0,
"customMetrics": 0,
"correlationPatterns": 0,
"intradayProfiles": 0,
"healthScoreRecords": 0,
"onboardingRecords": 0,
"practitioners": 0,
"encounters": 0,
"encounterLinks": 0,
"vaccinations": 0,
"vaccinationLinks": 0,
"relationLinks": 0,
"customVaccines": 0,
"measurementReminders": 0,
"measurementReminderEvents": 0,
"coachConversations": 0,
"coachMessages": 0,
"coachConversationDocuments": 0,
"coachFacts": 0,
"coachPlans": 0,
"coachReminders": 0,
"mentalHealthAssessments": 0,
"consentReceipts": 0,
"personalRecords": 0,
"userAchievements": 0,
"environmentContexts": 0,
"environmentTravelLocations": 0,
"dawarichDays": 0,
"ecgRecordings": 0,
"symptomDefinitions": 0,
"lifeEvents": 0
}
}
},
"progress": [
{
"phase": "validating",
"sectionsDone": 0,
"sectionsTotal": 17,
"measurementsTotal": null
},
{
"phase": "validating",
"sectionsDone": 0,
"sectionsTotal": 17,
"measurementsTotal": 5
},
{
"phase": "clearing",
"sectionsDone": 0,
"sectionsTotal": 17,
"measurementsTotal": 5
},
{
"phase": "measurements",
"sectionsDone": 0,
"sectionsTotal": 17,
"measurementsTotal": 5
},
{
"phase": "sections",
"sectionsDone": 0,
"sectionsTotal": 17,
"measurementsTotal": 5
},
{
"phase": "sections",
"sectionsDone": 1,
"sectionsTotal": 17,
"measurementsTotal": 5
},
{
"phase": "sections",
"sectionsDone": 2,
"sectionsTotal": 17,
"measurementsTotal": 5
},
{
"phase": "sections",
"sectionsDone": 3,
"sectionsTotal": 17,
"measurementsTotal": 5
},
{
"phase": "sections",
"sectionsDone": 4,
"sectionsTotal": 17,
"measurementsTotal": 5
},
{
"phase": "sections",
"sectionsDone": 5,
"sectionsTotal": 17,
"measurementsTotal": 5
},
{
"phase": "sections",
"sectionsDone": 6,
"sectionsTotal": 17,
"measurementsTotal": 5
},
{
"phase": "sections",
"sectionsDone": 7,
"sectionsTotal": 17,
"measurementsTotal": 5
},
{
"phase": "sections",
"sectionsDone": 8,
"sectionsTotal": 17,
"measurementsTotal": 5
},
{
"phase": "sections",
"sectionsDone": 9,
"sectionsTotal": 17,
"measurementsTotal": 5
},
{
"phase": "sections",
"sectionsDone": 10,
"sectionsTotal": 17,
"measurementsTotal": 5
},
{
"phase": "sections",
"sectionsDone": 11,
"sectionsTotal": 17,
"measurementsTotal": 5
},
{
"phase": "sections",
"sectionsDone": 12,
"sectionsTotal": 17,
"measurementsTotal": 5
},
{
"phase": "sections",
"sectionsDone": 13,
"sectionsTotal": 17,
"measurementsTotal": 5
},
{
"phase": "sections",
"sectionsDone": 14,
"sectionsTotal": 17,
"measurementsTotal": 5
},
{
"phase": "sections",
"sectionsDone": 15,
"sectionsTotal": 17,
"measurementsTotal": 5
},
{
"phase": "sections",
"sectionsDone": 16,
"sectionsTotal": 17,
"measurementsTotal": 5
},
{
"phase": "sections",
"sectionsDone": 17,
"sectionsTotal": 17,
"measurementsTotal": 5
},
{
"phase": "rebuilding",
"sectionsDone": 17,
"sectionsTotal": 17,
"measurementsTotal": 5
}
],
"audit": [
{
"action": "admin.backups.restore.start",
"userId": "<actor>",
"details": {
"backupId": "<id:1>",
"ownerId": "round-trip-owner",
"ownerUsername": "round-trip-owner",
"snapshotExportedAt": "2026-07-20T08:00:00.000Z",
"restoreInstanceSettings": true
}
},
{
"action": "admin.backups.restore",
"userId": "<actor>",
"details": {
"backupId": "<id:1>",
"ownerId": "round-trip-owner",
"ownerUsername": "round-trip-owner",
"restoreInstanceSettings": true,
"cleared": {
"measurements": 1,
"medications": 0,
"intakeEvents": 0,
"moodEntries": 1,
"notificationChannels": 0,
"pushSubscriptions": 0,
"telegramScheduledDeletions": 0,
"cycles": 0,
"cycleDayLogs": 0,
"cycleProfile": 0,
"labResults": 0,
"biomarkers": 0,
"nutrientDays": 0,
"illnessEpisodes": 0,
"allergies": 0,
"familyHistory": 0,
"workouts": 0,
"documents": 0,
"documentConditionLinks": 0,
"extractedFacts": 0,
"healthProfile": 0,
"healthProfileFactRevisions": 0,
"customMetrics": 0,
"correlationPatterns": 0,
"intradayProfiles": 0,
"healthScoreRecords": 0,
"onboardingRecords": 0,
"practitioners": 0,
"encounters": 0,
"encounterLinks": 0,
"vaccinations": 0,
"vaccinationLinks": 0,
"relationLinks": 0,
"customVaccines": 0,
"measurementReminders": 0,
"measurementReminderEvents": 0,
"coachConversations": 0,
"coachMessages": 0,
"coachConversationDocuments": 0,
"coachFacts": 0,
"coachPlans": 0,
"coachReminders": 0,
"mentalHealthAssessments": 0,
"consentReceipts": 0,
"personalRecords": 0,
"userAchievements": 0,
"environmentContexts": 0,
"environmentTravelLocations": 0,
"dawarichDays": 0,
"ecgRecordings": 0,
"symptomDefinitions": 0,
"lifeEvents": 0
},
"accountSettingsApplied": 0,
"skipped": {
"catalogueKeys": [],
"links": 0
},
"restored": {
"measurements": 5,
"medications": 2,
"intakeEvents": 2,
"moodEntries": 2,
"cycles": 0,
"cycleDayLogs": 0,
"labResults": 1,
"biomarkers": 1,
"nutrientDays": 1,
"illnessEpisodes": 2,
"illnessDayLogs": 1,
"allergies": 1,
"familyHistory": 1,
"workouts": 1,
"documents": 0,
"healthProfile": 0,
"healthProfileFactRevisions": 0,
"customMetrics": 0,
"customMetricEntries": 0,
"correlationPatterns": 0,
"practitioners": 0,
"encounters": 0,
"encounterLinks": 0,
"vaccinations": 0,
"vaccinationLinks": 0,
"relationLinks": 0,
"customVaccines": 0,
"measurementReminders": 0,
"measurementReminderEvents": 0
}
}
}
],
"effects": {
"invalidated": [
"round-trip-owner"
],
"unitRefresh": [],
"foldRepair": [
"round-trip-owner"
],
"annotations": [
{
"action": {
"name": "admin.backups.restore"
},
"meta": {
"id": "<id:1>",
"restore_instance_settings": true
}
},
{
"meta": {
"restore_expired_tombstones_skipped": 0
}
},
{
"meta": {
"restoreSkippedLinks": 0,
"restoreSkippedKeys": ""
}
}
]
},
"snapshot": {
"Measurement": [
{
"id": "<id:1>",
"userId": "round-trip-owner",
"type": "BLOOD_PRESSURE_SYS",
"value": 128,
"valueMin": null,
"valueMax": null,
"unit": "mmHg",
"source": "MANUAL",
"measuredAt": "2026-07-01T07:05:00.000Z",
"notes": null,
"notesEncrypted": null,
"externalId": null,
"externalSourceVersion": null,
"aggregationProvenance": null,
"glucoseContext": null,
"sleepStage": null,
"rhythmClassification": null,
"deviceType": null,
"syncVersion": 1,
"deletedAt": null,
"createdAt": "<now>",
"updatedAt": "<now>"
},
{
"id": "<id:2>",
"userId": "round-trip-owner",
"type": "HRV_RMSSD",
"value": 40,
"valueMin": null,
"valueMax": null,
"unit": "ms",
"source": "FITBIT",
"measuredAt": "2026-07-03T04:00:00.000Z",
"notes": null,
"notesEncrypted": null,
"externalId": "fitbit-hrv-2026-07-03",
"externalSourceVersion": null,
"aggregationProvenance": null,
"glucoseContext": null,
"sleepStage": null,
"rhythmClassification": null,
"deviceType": null,
"syncVersion": 1,
"deletedAt": null,
"createdAt": "<now>",
"updatedAt": "<now>"
},
{
"id": "<id:3>",
"userId": "round-trip-owner",
"type": "HRV_RMSSD",
"value": 41,
"valueMin": null,
"valueMax": null,
"unit": "ms",
"source": "FITBIT",
"measuredAt": "2026-07-02T04:00:00.000Z",
"notes": null,
"notesEncrypted": null,
"externalId": "fitbit-hrv-2026-07-02",
"externalSourceVersion": null,
"aggregationProvenance": null,
"glucoseContext": null,
"sleepStage": null,
"rhythmClassification": null,
"deviceType": null,
"syncVersion": 1,
"deletedAt": null,
"createdAt": "<now>",
"updatedAt": "<now>"
},
{
"id": "<id:4>",
"userId": "round-trip-owner",
"type": "WEIGHT",
"value": 74.5,
"valueMin": null,
"valueMax": null,
"unit": "kg",
"source": "MANUAL",
"measuredAt": "2026-07-01T07:00:00.000Z",
"notes": null,
"notesEncrypted": "<sealed:after the long ride>",
"externalId": null,
"externalSourceVersion": null,
"aggregationProvenance": null,
"glucoseContext": null,
"sleepStage": null,
"rhythmClassification": null,
"deviceType": null,
"syncVersion": 1,
"deletedAt": null,
"createdAt": "<now>",
"updatedAt": "<now>"
}
],
"IntradayCumulativeProfile": [],
"Medication": [
{
"id": "<id:5>",
"userId": "round-trip-owner",
"name": "Ramipril",
"dose": "5 mg",
"treatmentClass": "GENERIC",
"dosesPerUnit": null,
"unitsPerDose": "decimal:1",
"active": true,
"notificationsEnabled": true,
"pausedAt": null,
"snoozedUntil": null,
"startsOn": null,
"endsOn": null,
"oneShot": false,
"asNeeded": false,
"trackIntake": true,
"autoMarkTaken": false,
"autoMarkTakenSince": null,
"deliveryForm": "ORAL",
"trackInjectionSites": false,
"allowedInjectionSites": [],
"liveActivityEnabled": false,
"criticalAlarmEnabled": false,
"atcCode": null,
"rxNormCode": null,
"lowStockNotifiedAt": null,
"lowStockNotifiedThresholdDays": null,
"reorderLeadDays": null,
"externalSource": null,
"externalId": null,
"createdAt": "2026-07-01T07:00:00.000Z",
"updatedAt": "<now>"
},
{
"id": "<id:6>",
"userId": "round-trip-owner",
"name": "Vitamin D",
"dose": "1000 IU",
"treatmentClass": "GENERIC",
"dosesPerUnit": null,
"unitsPerDose": "decimal:1",
"active": true,
"notificationsEnabled": true,
"pausedAt": null,
"snoozedUntil": null,
"startsOn": "2026-07-01T00:00:00.000Z",
"endsOn": "2026-08-01T00:00:00.000Z",
"oneShot": false,
"asNeeded": false,
"trackIntake": true,
"autoMarkTaken": false,
"autoMarkTakenSince": null,
"deliveryForm": "ORAL",
"trackInjectionSites": false,
"allowedInjectionSites": [],
"liveActivityEnabled": false,
"criticalAlarmEnabled": false,
"atcCode": null,
"rxNormCode": null,
"lowStockNotifiedAt": null,
"lowStockNotifiedThresholdDays": null,
"reorderLeadDays": null,
"externalSource": null,
"externalId": null,
"createdAt": "2026-07-01T08:00:00.000Z",
"updatedAt": "<now>"
}
],
"MedicationSchedule": [
{
"id": "<id:7>",
"medicationId": "<id:5>",
"windowStart": "07:00",
"windowEnd": "09:00",
"label": null,
"dose": null,
"unitsPerDose": null,
"daysOfWeek": null,
"timesOfDay": [],
"reminderGraceMinutes": null,
"rrule": null,
"rollingIntervalDays": null,
"scheduleType": "SCHEDULED",
"cyclicOnWeeks": null,
"cyclicOffWeeks": null,
"doseWindows": null
}
],
"MedicationIntakeEvent": [
{
"id": "<id:8>",
"userId": "round-trip-owner",
"medicationId": "<id:5>",
"scheduledFor": "2026-07-01T07:00:00.000Z",
"takenAt": "2026-07-01T07:10:00.000Z",
"skipped": false,
"autoMissed": false,
"autoRecorded": false,
"attributionSource": "AUTO",
"source": "WEB",
"idempotencyKey": null,
"createdAt": "<now>",
"injectionSite": null,
"doseTaken": null,
"inventoryConsumption": null,
"externalId": null,
"updatedAt": "<now>",
"syncVersion": 0,
"deletedAt": null
},
{
"id": "<id:9>",
"userId": "round-trip-owner",
"medicationId": "<id:6>",
"scheduledFor": "2026-07-01T08:00:00.000Z",
"takenAt": null,
"skipped": true,
"autoMissed": false,
"autoRecorded": false,
"attributionSource": "AUTO",
"source": "WEB",
"idempotencyKey": null,
"createdAt": "<now>",
"injectionSite": null,
"doseTaken": null,
"inventoryConsumption": null,
"externalId": null,
"updatedAt": "<now>",
"syncVersion": 0,
"deletedAt": null
}
],
"MedicationSideEffect": [],
"MedicationPauseEra": [],
"MedicationDoseChange": [],
"MedicationCategoryAssignment": [],
"MedicationCategoryLabel": [],
"MedicationCourse": [
{
"id": "<id:10>",
"medicationId": "<id:6>",
"userId": "round-trip-owner",
"startsOn": "2026-07-01T00:00:00.000Z",
"endsOn": "2026-08-01T00:00:00.000Z",
"noteEncrypted": null,
"createdAt": "<now>",
"updatedAt": "<now>"
}
],
"MedicationIngredient": [],
"MoodEntry": [
{
"id": "<id:11>",
"userId": "round-trip-owner",
"date": "2026-07-02",
"mood": "GOOD",
"score": 4,
"moodA1": null,
"stressA2": null,
"energyA3": null,
"connectionA4": null,
"stabilityA5": null,
"tags": null,
"note": null,
"noteEncrypted": "<sealed:slept well>",
"source": "MOODLOG",
"externalId": null,
"moodLoggedAt": "2026-07-02T20:00:00.000Z",
"tz": null,
"syncedAt": "<now>",
"createdAt": "<now>",
"updatedAt": "<now>",
"syncVersion": 0,
"deletedAt": null
},
{
"id": "<id:12>",
"userId": "round-trip-owner",
"date": "2026-07-03",
"mood": "OKAY",
"score": 3,
"moodA1": null,
"stressA2": null,
"energyA3": null,
"connectionA4": null,
"stabilityA5": null,
"tags": null,
"note": null,
"noteEncrypted": null,
"source": "MOODLOG",
"externalId": "moodlog-2026-07-03",
"moodLoggedAt": "2026-07-03T20:00:00.000Z",
"tz": null,
"syncedAt": "<now>",
"createdAt": "<now>",
"updatedAt": "<now>",
"syncVersion": 0,
"deletedAt": null
}
],
"MoodContext": [],
"MoodEntryTagLink": [],
"MoodTag": [],
"LabResult": [
{
"id": "<id:13>",
"userId": "round-trip-owner",
"panel": "Iron",
"analyte": "Ferritin",
"value": 91,
"valueText": null,
"unit": "ng/mL",
"referenceLow": 30,
"referenceHigh": 400,
"sourceReferenceLow": null,
"sourceReferenceHigh": null,
"sourceReferenceText": null,
"sourceValue": null,
"sourceUnit": null,
"takenAt": "2026-07-05T08:00:00.000Z",
"biomarkerId": "<id:14>",
"source": "MANUAL",
"noteEncrypted": "<sealed:morning draw>",
"createdAt": "<now>",
"updatedAt": "<now>",
"deletedAt": null
}
],
"Biomarker": [
{
"id": "<id:14>",
"userId": "round-trip-owner",
"name": "Ferritin",
"unit": "ng/mL",
"lowerBound": 30,
"upperBound": 400,
"contextEncrypted": "<sealed:fasted>",
"panel": "Iron",
"hidden": false,
"analyteKey": null,
"createdAt": "<now>",
"updatedAt": "<now>"
}
],
"Allergy": [
{
"id": "legacy-allergy",
"userId": "round-trip-owner",
"substance": "Penicillin",
"category": "MEDICATION",
"type": "ALLERGY",
"severity": "SEVERE",
"status": "ACTIVE",
"onsetAt": null,
"reactionEncrypted": "<sealed:rash>",
"notesEncrypted": "<sealed:childhood>",
"createdAt": "<now>",
"updatedAt": "<now>",
"deletedAt": null
}
],
"FamilyHistoryEntry": [
{
"id": "legacy-family",
"userId": "round-trip-owner",
"relationship": "FATHER",
"condition": "Diabetes",
"ageAtOnset": 55,
"notesEncrypted": "<sealed:type 2>",
"createdAt": "<now>",
"updatedAt": "<now>",
"deletedAt": null
}
],
"IllnessEpisode": [
{
"id": "legacy-episode-child",
"userId": "round-trip-owner",
"label": "Headache",
"type": "OTHER",
"lifecycle": "ACUTE",
"onsetAt": "2026-07-01T00:00:00.000Z",
"resolvedAt": "2026-07-02T00:00:00.000Z",
"parentConditionId": "legacy-episode-parent",
"noteEncrypted": null,
"bodySiteEncrypted": "<sealed:forehead>",
"laterality": null,
"createdAt": "<now>",
"updatedAt": "<now>",
"deletedAt": null
},
{
"id": "legacy-episode-parent",
"userId": "round-trip-owner",
"label": "Hypertension",
"type": "CHRONIC",
"lifecycle": "CHRONIC_ONGOING",
"onsetAt": "2025-01-01T00:00:00.000Z",
"resolvedAt": null,
"parentConditionId": null,
"noteEncrypted": "<sealed:since last year>",
"bodySiteEncrypted": null,
"laterality": null,
"createdAt": "<now>",
"updatedAt": "<now>",
"deletedAt": null
}
],
"IllnessDayLog": [
{
"id": "<id:15>",
"userId": "round-trip-owner",
"episodeId": "legacy-episode-child",
"date": "2026-07-01",
"functionalImpact": 2,
"feverC": null,
"noteEncrypted": "<sealed:afternoon>",
"tz": null,
"createdAt": "<now>",
"updatedAt": "<now>",
"deletedAt": null
}
],
"IllnessSymptomLink": [],
"SymptomDefinition": [],
"SymptomEvent": [],
"LifeEvent": [],
"UserHealthProfile": [],
"HealthProfileFactRevision": [],
"CycleProfile": [],
"MenstrualCycle": [],
"CycleDayLog": [],
"CycleSymptom": [],
"CycleSymptomLink": [],
"CustomMetric": [],
"CustomMetricEntry": [],
"CorrelationPattern": [],
"HealthScoreRecord": [],
"Workout": [
{
"id": "<id:16>",
"userId": "round-trip-owner",
"sportType": "RUNNING",
"startedAt": "2026-07-04T06:00:00.000Z",
"endedAt": "2026-07-04T06:40:00.000Z",
"durationSec": 2400,
"totalEnergyKcal": 410,
"totalDistanceM": 6500,
"avgHeartRate": 148,
"maxHeartRate": 171,
"minHeartRate": 98,
"stepCount": 6200,
"elevationM": 40,
"pauseDurationSec": null,
"source": "MANUAL",
"externalId": null,
"externalSourceVersion": null,
"metadata": null,
"createdAt": "<now>",
"updatedAt": "<now>"
}
],
"NutrientIntakeDay": [
{
"userId": "round-trip-owner",
"day": "2026-07-04",
"nutrient": "WATER",
"amount": 2100,
"unit": "mL",
"source": "MANUAL",
"externalSourceVersion": null,
"createdAt": "<now>",
"updatedAt": "<now>"
}
],
"InboundDocument": [],
"Practitioner": [],
"Encounter": [],
"EncounterDocumentLink": [],
"EncounterLabLink": [],
"EncounterConditionLink": [],
"VaccinationRecord": [],
"VaccinationDocumentLink": [],
"CustomVaccine": [],
"MeasurementReminder": [],
"MeasurementReminderEvent": [],
"CoachConversation": [],
"CoachMessage": [],
"CoachConversationDocument": [],
"CoachFact": [],
"CoachPlan": [],
"CoachReminder": [],
"MedicationInventoryItem": [],
"MedicationInventoryEvent": [],
"MoodTagCategory": [],
"MoodTagHidden": [],
"ReminderPhaseConfig": [],
"MentalHealthAssessment": [],
"ConsentReceipt": [],
"DocumentConditionLink": [],
"ExtractedFact": [],
"PersonalRecord": [],
"UserAchievement": [],
"EnvironmentContext": [],
"EnvironmentTravelLocation": [],
"DawarichDay": [],
"MedicationScheduleRevision": [],
"MedicationEfficacyTarget": [],
"EcgRecording": [],
"OnboardingRecord": [],
"BiomarkerAlias": [],
"BiomarkerMerge": [],
"LabResultDocumentLink": [],
"EncounterMedicationLink": [],
"EncounterVaccinationLink": [],
"MedicationDocumentLink": [],
"MedicationConditionLink": [],
"AccountGrant": [
{
"id": "<id:17>",
"grantorId": "round-trip-owner",
"granteeId": "parity-delegate",
"access": "READ",
"scopeJson": null,
"invitedAt": "<now>",
"acceptedAt": "2026-07-03T09:00:00.000Z",
"revokedAt": null,
"revokedBy": null,
"expiresAt": null,
"lastUsedAt": null,
"createdAt": "<now>"
}
],
"User": {
"id": "round-trip-owner",
"username": "round-trip-owner",
"email": "round-trip-owner@example.test",
"passwordHash": null,
"role": "USER",
"oidcIssuer": null,
"oidcSub": null,
"createdAt": "<now>",
"updatedAt": "<now>",
"managedProfileAt": null,
"heightCm": null,
"dateOfBirth": null,
"gender": null,
"timezone": "Europe/Berlin",
"homeTimezone": null,
"homeSince": null,
"homeLocationEncrypted": null,
"environmentAirQualityEnabled": true,
"environmentAqHistoryJson": null,
"codexAccessTokenEncrypted": null,
"codexRefreshTokenEncrypted": null,
"codexTokenExpiresAt": null,
"codexConnectedAt": null,
"codexConnectionStatus": "disconnected",
"useCentralCodex": false,
"insightsPrivacyMode": "aggregated",
"insightsCachedAt": null,
"insightsCachedTextEncrypted": null,
"insightsCachedLocale": null,
"insightsSnapshotHash": null,
"insightsWarmFailedAt": null,
"insightsBriefingRerollDate": null,
"morningDigestRefreshedOn": null,
"insightsExcludeMetrics": [],
"globalExcludedInjectionSites": [],
"telegramBotToken": null,
"telegramChatId": null,
"telegramEnabled": false,
"withingsClientIdEncrypted": null,
"withingsClientSecretEncrypted": null,
"whoopClientIdEncrypted": null,
"whoopClientSecretEncrypted": null,
"fitbitClientIdEncrypted": null,
"fitbitClientSecretEncrypted": null,
"googleHealthClientIdEncrypted": null,
"googleHealthClientSecretEncrypted": null,
"nightscoutUrlEncrypted": null,
"nightscoutTokenEncrypted": null,
"nightscoutAllowPrivateHost": false,
"dawarichUrlEncrypted": null,
"dawarichApiKeyEncrypted": null,
"dawarichPrefsEncrypted": null,
"dawarichAllowPrivateHost": false,
"polarAccessTokenEncrypted": null,
"polarUserIdEncrypted": null,
"polarClientIdEncrypted": null,
"polarClientSecretEncrypted": null,
"ouraAccessTokenEncrypted": null,
"ouraRefreshTokenEncrypted": null,
"ouraClientIdEncrypted": null,
"ouraClientSecretEncrypted": null,
"ouraScopeDenied": null,
"ouraBackfillProgress": null,
"ouraBackfillCompletedAt": null,
"ouraUserId": null,
"clientAppSharedBy": null,
"stravaClientIdEncrypted": null,
"stravaClientSecretEncrypted": null,
"stravaAccessTokenEncrypted": null,
"stravaRefreshTokenEncrypted": null,
"stravaAthleteId": null,
"stravaLastActivityAt": null,
"stravaBackfillCompletedAt": null,
"stravaBackfillResumeBefore": null,
"locale": null,
"thresholdsJson": null,
"dashboardWidgetsJson": null,
"insightsLayoutJson": null,
"medicationListLayoutJson": null,
"documentsLayoutJson": null,
"moodTagLayoutJson": null,
"moduleListLayoutJson": null,
"previewFeaturesJson": null,
"activityGoalsJson": null,
"glucoseUnit": null,
"hasDiabetes": false,
"labsLocalOcrEnabled": false,
"storeWorkoutRoutes": false,
"unitPreference": null,
"timeFormat": "AUTO",
"dateFormat": "AUTO",
"aiProvider": null,
"aiModel": null,
"aiBaseUrl": null,
"aiAnthropicKeyEncrypted": null,
"aiLocalKeyEncrypted": null,
"aiOpenaiKeyEncrypted": null,
"aiCompatBaseUrl": null,
"aiCompatKeyEncrypted": null,
"aiCompatModel": null,
"aiProviderChain": null,
"aiResponseTimeoutSeconds": null,
"documentsAutoAiRead": false,
"onboardingCompletedAt": null,
"onboardingTourCompleted": false,
"onboardingTourProgressJson": null,
"disclaimerAcknowledgedAt": null,
"disclaimerAcknowledgedVersion": null,
"healthKitConfigJson": null,
"healthKitLastSyncedAt": null,
"healthKitLastSyncTrigger": null,
"healthKitLastBackgroundSyncAt": null,
"displayName": null,
"lastReportPracticeName": null,
"coachPrefsJson": null,
"sourcePriorityJson": null,
"lastSyncedAt": null,
"syncResetAt": "<now>",
"moodReminderEnabled": false,
"reportSelectionJson": null,
"notificationPrefs": null,
"disableCoach": false,
"aiUsageLevel": null,
"modulePreferencesJson": null,
"healthScoreConfigJson": null,
"documentQuotaBytes": null,
"coachLastSeenAt": null,
"avatarBytes": null,
"avatarContentType": null,
"avatarUpdatedAt": null,
"totpSecretEncrypted": null,
"totpConfirmedAt": null,
"totpLastStep": null,
"mfaEnforced": false,
"passkeyUpgradeNudgeDismissed": false,
"fullName": null,
"insurerName": null,
"insuranceNumberEncrypted": null,
"insurerIkNumber": null
},
"AppSettings": {
"id": "singleton",
"registrationEnabled": false,
"mfaRequired": true,
"defaultLocale": "de",
"telegramGlobal": true,
"ntfyGlobal": false,
"webPushGlobal": true,
"webPushVapidPublicKey": null,
"webPushVapidPrivateKeyEncrypted": null,
"webPushVapidSubject": null,
"apiGlobal": true,
"umamiEnabled": false,
"umamiScriptUrl": null,
"umamiWebsiteId": null,
"glitchtipEnabled": false,
"glitchtipDsn": null,
"glitchtipEnvironment": null,
"glitchtipLastOkAt": "2026-06-30T12:34:56.789Z",
"glitchtipLastFailureAt": "2026-06-30T12:34:56.789Z",
"glitchtipLastFailureReason": "rt-AppSettings-glitchtipLastFailureReason",
"reminderLateMinutes": 30,
"reminderMissedMinutes": 120,
"adminAiKeyEncrypted": null,
"adminAiModel": "gpt-legacy",
"adminAiBaseUrl": "https://api.example.com/v1",
"adminCodexAccessTokenEncrypted": null,
"adminCodexRefreshTokenEncrypted": null,
"adminCodexAccountIdEncrypted": null,
"adminCodexTokenExpiresAt": null,
"adminCodexConnectedAt": null,
"adminCodexConnectionStatus": "disconnected",
"adminAiInsightsFeedbackSummary": null,
"defaultUserTimezone": "Europe/Berlin",
"assistantEnabled": true,
"assistantCoachEnabled": true,
"assistantBriefingEnabled": true,
"assistantInsightStatusEnabled": true,
"assistantDocumentAiEnabled": true,
"aiUsageMaxLevel": "FRUGAL",
"aiUsageDefaultLevel": "FRUGAL",
"aiSyncRegenGapHours": 3,
"aiReasoningEnabled": true,
"aiReasoningMaxEffort": "high",
"moduleAvailabilityJson": {
"mood": "on"
},
"documentMaxFileBytes": 10000000,
"documentQuotaBytes": "bigint:500000000",
"encryptionKeyBackupConfirmedAt": "2026-06-30T12:34:56.789Z",
"encryptionKeyBackupConfirmedKeyId": "rt-AppSettings-encryptionKeyBackupConfirmedKeyId",
"encryptionKeyBackupConfirmedFingerprint": "rt-AppSettings-encryptionKeyBackupConfirmedFingerprint",
"encryptionKeyBackupConfirmedByUserId": "rt-AppSettings-encryptionKeyBackupConfirmedByUserId",
"correlationSeasonalEngineSince": "2026-06-30T12:34:56.789Z",
"pulseDayMeanMethod": "hour_mean_v1",
"pulseDayMeanAppliedAt": "2026-06-30T12:34:56.789Z",
"pulseDayMeanDryRunJson": {
"roundTrip": "rt-AppSettings-pulseDayMeanDryRunJson"
},
"workoutClimbBackfillCursor": "rt-AppSettings-workoutClimbBackfillCursor"
}
},
"reexport": {
"schemaVersion": "2",
"exportedAt": "2026-08-01T00:00:00.000Z",
"userId": "round-trip-owner",
"appSettings": {
"id": "singleton",
"registrationEnabled": false,
"mfaRequired": true,
"defaultLocale": "de",
"telegramGlobal": true,
"ntfyGlobal": false,
"webPushGlobal": true,
"webPushVapidPublicKey": null,
"webPushVapidPrivateKeyEncrypted": null,
"webPushVapidSubject": null,
"apiGlobal": true,
"umamiEnabled": false,
"umamiScriptUrl": null,
"umamiWebsiteId": null,
"glitchtipEnabled": false,
"glitchtipDsn": null,
"glitchtipEnvironment": null,
"glitchtipLastOkAt": "2026-06-30T12:34:56.789Z",
"glitchtipLastFailureAt": "2026-06-30T12:34:56.789Z",
"glitchtipLastFailureReason": "rt-AppSettings-glitchtipLastFailureReason",
"reminderLateMinutes": 30,
"reminderMissedMinutes": 120,
"adminAiKeyEncrypted": null,
"adminAiModel": "gpt-legacy",
"adminAiBaseUrl": "https://api.example.com/v1",
"adminCodexAccessTokenEncrypted": null,
"adminCodexRefreshTokenEncrypted": null,
"adminCodexAccountIdEncrypted": null,
"adminCodexTokenExpiresAt": null,
"adminCodexConnectedAt": null,
"adminCodexConnectionStatus": "disconnected",
"adminAiInsightsFeedbackSummary": null,
"defaultUserTimezone": "Europe/Berlin",
"assistantEnabled": true,
"assistantCoachEnabled": true,
"assistantBriefingEnabled": true,
"assistantInsightStatusEnabled": true,
"assistantDocumentAiEnabled": true,
"aiUsageMaxLevel": "FRUGAL",
"aiUsageDefaultLevel": "FRUGAL",
"aiSyncRegenGapHours": 3,
"aiReasoningEnabled": true,
"aiReasoningMaxEffort": "high",
"moduleAvailabilityJson": {
"mood": "on"
},
"documentMaxFileBytes": 10000000,
"documentQuotaBytes": "500000000",
"encryptionKeyBackupConfirmedAt": "2026-06-30T12:34:56.789Z",
"encryptionKeyBackupConfirmedKeyId": "rt-AppSettings-encryptionKeyBackupConfirmedKeyId",
"encryptionKeyBackupConfirmedFingerprint": "rt-AppSettings-encryptionKeyBackupConfirmedFingerprint",
"encryptionKeyBackupConfirmedByUserId": "rt-AppSettings-encryptionKeyBackupConfirmedByUserId",
"correlationSeasonalEngineSince": "2026-06-30T12:34:56.789Z",
"pulseDayMeanMethod": "hour_mean_v1",
"pulseDayMeanAppliedAt": "2026-06-30T12:34:56.789Z",
"pulseDayMeanDryRunJson": {
"roundTrip": "rt-AppSettings-pulseDayMeanDryRunJson"
},
"workoutClimbBackfillCursor": "rt-AppSettings-workoutClimbBackfillCursor"
},
"accountSettings": {
"heightCm": null,
"dateOfBirth": null,
"gender": null,
"hasDiabetes": false,
"displayName": null,
"fullName": null,
"insurerName": null,
"insuranceNumber": null,
"insuranceNumberEncrypted": null,
"insurerIkNumber": null,
"lastReportPracticeName": null,
"avatarBytes": null,
"avatarContentType": null,
"avatarUpdatedAt": null,
"homeTimezone": null,
"homeSince": null,
"homeLocationEncrypted": null,
"environmentAirQualityEnabled": true,
"timezone": "Europe/Berlin",
"locale": null,
"unitPreference": null,
"glucoseUnit": null,
"timeFormat": "AUTO",
"dateFormat": "AUTO",
"modulePreferencesJson": null,
"thresholdsJson": null,
"healthScoreConfigJson": null,
"sourcePriorityJson": null,
"dashboardWidgetsJson": null,
"insightsLayoutJson": null,
"medicationListLayoutJson": null,
"moodTagLayoutJson": null,
"documentsLayoutJson": null,
"moduleListLayoutJson": null,
"previewFeaturesJson": null,
"activityGoalsJson": null,
"reportSelectionJson": null,
"globalExcludedInjectionSites": [],
"healthKitConfigJson": null,
"notificationPrefs": null,
"moodReminderEnabled": false,
"aiProvider": null,
"aiModel": null,
"aiBaseUrl": null,
"aiCompatBaseUrl": null,
"aiCompatModel": null,
"aiProviderChain": null,
"aiResponseTimeoutSeconds": null,
"useCentralCodex": false,
"insightsPrivacyMode": "aggregated",
"insightsExcludeMetrics": [],
"disableCoach": false,
"aiUsageLevel": null,
"coachPrefsJson": null,
"documentsAutoAiRead": false,
"labsLocalOcrEnabled": false,
"storeWorkoutRoutes": false,
"onboardingCompletedAt": null,
"onboardingTourCompleted": false,
"onboardingTourProgressJson": null,
"disclaimerAcknowledgedAt": null,
"disclaimerAcknowledgedVersion": null,
"passkeyUpgradeNudgeDismissed": false
},
"measurements": [
{
"id": "<id:1>",
"type": "HRV_RMSSD",
"value": 40,
"valueMin": null,
"valueMax": null,
"unit": "ms",
"measuredAt": "2026-07-03T04:00:00.000Z",
"source": "FITBIT",
"notes": null,
"notesEncrypted": null,
"externalId": "fitbit-hrv-2026-07-03",
"externalSourceVersion": null,
"aggregationProvenance": null,
"glucoseContext": null,
"sleepStage": null,
"rhythmClassification": null,
"deviceType": null,
"syncVersion": 1,
"deletedAt": null,
"createdAt": "<now>",
"updatedAt": "<now>"
},
{
"id": "<id:2>",
"type": "HRV_RMSSD",
"value": 41,
"valueMin": null,
"valueMax": null,
"unit": "ms",
"measuredAt": "2026-07-02T04:00:00.000Z",
"source": "FITBIT",
"notes": null,
"notesEncrypted": null,
"externalId": "fitbit-hrv-2026-07-02",
"externalSourceVersion": null,
"aggregationProvenance": null,
"glucoseContext": null,
"sleepStage": null,
"rhythmClassification": null,
"deviceType": null,
"syncVersion": 1,
"deletedAt": null,
"createdAt": "<now>",
"updatedAt": "<now>"
},
{
"id": "<id:3>",
"type": "BLOOD_PRESSURE_SYS",
"value": 128,
"valueMin": null,
"valueMax": null,
"unit": "mmHg",
"measuredAt": "2026-07-01T07:05:00.000Z",
"source": "MANUAL",
"notes": null,
"notesEncrypted": null,
"externalId": null,
"externalSourceVersion": null,
"aggregationProvenance": null,
"glucoseContext": null,
"sleepStage": null,
"rhythmClassification": null,
"deviceType": null,
"syncVersion": 1,
"deletedAt": null,
"createdAt": "<now>",
"updatedAt": "<now>"
},
{
"id": "<id:4>",
"type": "WEIGHT",
"value": 74.5,
"valueMin": null,
"valueMax": null,
"unit": "kg",
"measuredAt": "2026-07-01T07:00:00.000Z",
"source": "MANUAL",
"notes": null,
"notesEncrypted": "<sealed:after the long ride>",
"externalId": null,
"externalSourceVersion": null,
"aggregationProvenance": null,
"glucoseContext": null,
"sleepStage": null,
"rhythmClassification": null,
"deviceType": null,
"syncVersion": 1,
"deletedAt": null,
"createdAt": "<now>",
"updatedAt": "<now>"
}
],
"customMedicationCategories": [],
"medications": [
{
"id": "<id:5>",
"treatmentClass": "GENERIC",
"dosesPerUnit": null,
"unitsPerDose": "1",
"notificationsEnabled": true,
"pausedAt": null,
"snoozedUntil": null,
"startsOn": null,
"endsOn": null,
"oneShot": false,
"asNeeded": false,
"deliveryForm": "ORAL",
"trackInjectionSites": false,
"allowedInjectionSites": [],
"liveActivityEnabled": false,
"criticalAlarmEnabled": false,
"atcCode": null,
"rxNormCode": null,
"lowStockNotifiedAt": null,
"lowStockNotifiedThresholdDays": null,
"reorderLeadDays": null,
"externalSource": null,
"externalId": null,
"updatedAt": "<now>",
"name": "Ramipril",
"dose": "5 mg",
"active": true,
"trackIntake": true,
"autoMarkTaken": false,
"autoMarkTakenSince": null,
"category": "OTHER",
"createdAt": "2026-07-01T07:00:00.000Z",
"schedules": [
{
"id": "<id:6>",
"daysOfWeek": null,
"timesOfDay": [],
"reminderGraceMinutes": null,
"rrule": null,
"rollingIntervalDays": null,
"scheduleType": "SCHEDULED",
"cyclicOnWeeks": null,
"cyclicOffWeeks": null,
"doseWindows": null,
"unitsPerDose": null,
"windowStart": "07:00",
"windowEnd": "09:00",
"label": null,
"dose": null
}
],
"sideEffects": [],
"pauseEras": [],
"ingredients": [],
"courses": [],
"doseChanges": [],
"inventoryItems": [],
"phaseConfig": null,
"inventoryEvents": [],
"scheduleRevisions": [],
"efficacyTargets": []
},
{
"id": "<id:7>",
"treatmentClass": "GENERIC",
"dosesPerUnit": null,
"unitsPerDose": "1",
"notificationsEnabled": true,
"pausedAt": null,
"snoozedUntil": null,
"startsOn": "2026-07-01T00:00:00.000Z",
"endsOn": "2026-08-01T00:00:00.000Z",
"oneShot": false,
"asNeeded": false,
"deliveryForm": "ORAL",
"trackInjectionSites": false,
"allowedInjectionSites": [],
"liveActivityEnabled": false,
"criticalAlarmEnabled": false,
"atcCode": null,
"rxNormCode": null,
"lowStockNotifiedAt": null,
"lowStockNotifiedThresholdDays": null,
"reorderLeadDays": null,
"externalSource": null,
"externalId": null,
"updatedAt": "<now>",
"name": "Vitamin D",
"dose": "1000 IU",
"active": true,
"trackIntake": true,
"autoMarkTaken": false,
"autoMarkTakenSince": null,
"category": "OTHER",
"createdAt": "2026-07-01T08:00:00.000Z",
"schedules": [],
"sideEffects": [],
"pauseEras": [],
"ingredients": [],
"courses": [
{
"startsOn": "2026-07-01",
"endsOn": "2026-08-01",
"note": null,
"createdAt": "<now>"
}
],
"doseChanges": [],
"inventoryItems": [],
"phaseConfig": null,
"inventoryEvents": [],
"scheduleRevisions": [],
"efficacyTargets": []
}
],
"intakeEvents": [
{
"id": "<id:8>",
"medicationId": "<id:7>",
"autoMissed": false,
"attributionSource": "AUTO",
"idempotencyKey": null,
"createdAt": "<now>",
"injectionSite": null,
"doseTaken": null,
"inventoryConsumption": null,
"externalId": null,
"updatedAt": "<now>",
"syncVersion": 0,
"deletedAt": null,
"medication": "Vitamin D",
"scheduledFor": "2026-07-01T08:00:00.000Z",
"takenAt": null,
"skipped": true,
"source": "WEB",
"autoRecorded": false
},
{
"id": "<id:9>",
"medicationId": "<id:5>",
"autoMissed": false,
"attributionSource": "AUTO",
"idempotencyKey": null,
"createdAt": "<now>",
"injectionSite": null,
"doseTaken": null,
"inventoryConsumption": null,
"externalId": null,
"updatedAt": "<now>",
"syncVersion": 0,
"deletedAt": null,
"medication": "Ramipril",
"scheduledFor": "2026-07-01T07:00:00.000Z",
"takenAt": "2026-07-01T07:10:00.000Z",
"skipped": false,
"source": "WEB",
"autoRecorded": false
}
],
"moodEntries": [
{
"note": null,
"noteEncrypted": null,
"syncedAt": "<now>",
"syncVersion": 0,
"createdAt": "<now>",
"updatedAt": "<now>",
"id": "<id:10>",
"date": "2026-07-03",
"mood": "OKAY",
"score": 3,
"a1": null,
"a2": null,
"a3": null,
"a4": null,
"a5": null,
"tags": null,
"source": "MOODLOG",
"loggedAt": "2026-07-03T20:00:00.000Z",
"externalId": "moodlog-2026-07-03",
"tz": null,
"deletedAt": null,
"factors": [],
"structuredTags": [],
"context": null
},
{
"note": null,
"noteEncrypted": "<sealed:slept well>",
"syncedAt": "<now>",
"syncVersion": 0,
"createdAt": "<now>",
"updatedAt": "<now>",
"id": "<id:11>",
"date": "2026-07-02",
"mood": "GOOD",
"score": 4,
"a1": null,
"a2": null,
"a3": null,
"a4": null,
"a5": null,
"tags": null,
"source": "MOODLOG",
"loggedAt": "2026-07-02T20:00:00.000Z",
"externalId": null,
"tz": null,
"deletedAt": null,
"factors": [],
"structuredTags": [],
"context": null
}
],
"customMoodTagCategories": [],
"hiddenMoodTags": [],
"customMoodTags": [],
"cycleProfile": null,
"cycles": [],
"cycleDayLogs": [],
"customSymptoms": [],
"labResults": [
{
"id": "<id:12>",
"biomarkerId": "<id:13>",
"noteEncrypted": "<sealed:morning draw>",
"createdAt": "<now>",
"updatedAt": "<now>",
"deletedAt": null,
"note": null,
"panel": "Iron",
"analyte": "Ferritin",
"value": 91,
"valueText": null,
"unit": "ng/mL",
"referenceLow": 30,
"referenceHigh": 400,
"sourceReferenceLow": null,
"sourceReferenceHigh": null,
"sourceReferenceText": null,
"sourceValue": null,
"sourceUnit": null,
"takenAt": "2026-07-05T08:00:00.000Z",
"source": "MANUAL",
"biomarkerName": "Ferritin"
}
],
"biomarkers": [
{
"id": "<id:13>",
"createdAt": "<now>",
"updatedAt": "<now>",
"name": "Ferritin",
"unit": "ng/mL",
"lowerBound": 30,
"upperBound": 400,
"panel": "Iron",
"hidden": false,
"context": "fasted",
"analyteKey": null,
"aliases": []
}
],
"biomarkerMerges": [],
"illnessEpisodes": [
{
"id": "legacy-episode-child",
"label": "Headache",
"type": "OTHER",
"lifecycle": "ACUTE",
"onsetAt": "2026-07-01T00:00:00.000Z",
"resolvedAt": "2026-07-02T00:00:00.000Z",
"parentConditionId": "legacy-episode-parent",
"note": null,
"noteEncrypted": null,
"bodySite": null,
"bodySiteEncrypted": "<sealed:forehead>",
"laterality": null,
"createdAt": "<now>",
"updatedAt": "<now>",
"deletedAt": null,
"dayLogs": [
{
"id": "<id:14>",
"episodeId": "legacy-episode-child",
"date": "2026-07-01",
"functionalImpact": 2,
"feverC": null,
"note": null,
"noteEncrypted": "<sealed:afternoon>",
"tz": null,
"createdAt": "<now>",
"updatedAt": "<now>",
"deletedAt": null,
"symptoms": []
}
]
},
{
"id": "legacy-episode-parent",
"label": "Hypertension",
"type": "CHRONIC",
"lifecycle": "CHRONIC_ONGOING",
"onsetAt": "2025-01-01T00:00:00.000Z",
"resolvedAt": null,
"parentConditionId": null,
"note": null,
"noteEncrypted": "<sealed:since last year>",
"bodySite": null,
"bodySiteEncrypted": null,
"laterality": null,
"createdAt": "<now>",
"updatedAt": "<now>",
"deletedAt": null,
"dayLogs": []
}
],
"allergies": [
{
"id": "legacy-allergy",
"substance": "Penicillin",
"category": "MEDICATION",
"type": "ALLERGY",
"severity": "SEVERE",
"status": "ACTIVE",
"onsetAt": null,
"reaction": null,
"note": null,
"reactionEncrypted": "<sealed:rash>",
"notesEncrypted": "<sealed:childhood>",
"createdAt": "<now>",
"updatedAt": "<now>",
"deletedAt": null
}
],
"familyHistory": [
{
"id": "legacy-family",
"relationship": "FATHER",
"condition": "Diabetes",
"ageAtOnset": 55,
"note": "type 2",
"createdAt": "<now>",
"updatedAt": "<now>"
}
],
"workouts": [
{
"id": "<id:15>",
"createdAt": "<now>",
"updatedAt": "<now>",
"externalSourceVersion": null,
"sportType": "RUNNING",
"startedAt": "2026-07-04T06:00:00.000Z",
"endedAt": "2026-07-04T06:40:00.000Z",
"durationSec": 2400,
"totalEnergyKcal": 410,
"totalDistanceM": 6500,
"avgHeartRate": 148,
"maxHeartRate": 171,
"minHeartRate": 98,
"stepCount": 6200,
"elevationM": 40,
"pauseDurationSec": null,
"source": "MANUAL",
"externalId": null
}
],
"documents": [],
"manifest": {
"documents": {
"included": "encrypted-content",
"note": "Document metadata and encrypted stored bytes are included for disaster recovery."
},
"workouts": {
"included": "summary-only",
"note": "Workout summary records (duration, distance, heart rate, calories, steps) are included. GPS routes and per-sample heart-rate/pace time series are not included in this export."
},
"mentalHealth": {
"included": "full",
"note": "Completed screener administrations are included with their encrypted per-item answers, for restore onto the instance that holds the key."
},
"consent": {
"included": "full",
"note": "Consent receipts are included, for restore onto the instance the consent was given to."
}
},
"healthProfile": null,
"healthProfileFacts": [],
"customMetrics": [],
"correlationPatterns": [],
"decryptFailures": [],
"intradayProfiles": [],
"healthScoreRecords": [],
"onboardingRecord": null,
"practitioners": [],
"encounters": [],
"encounterDocumentLinks": [],
"encounterLabLinks": [],
"encounterConditionLinks": [],
"customVaccines": [],
"vaccinations": [],
"vaccinationDocumentLinks": [],
"measurementReminders": [],
"measurementReminderEvents": [],
"coachConversations": [],
"coachFacts": [],
"coachPlans": [],
"coachReminders": [],
"mentalHealthAssessments": [],
"consentReceipts": [],
"documentConditionLinks": [],
"extractedFacts": [],
"personalRecords": [],
"userAchievements": [],
"environmentContexts": [],
"environmentTravelLocations": [],
"dawarichDays": [],
"ecgRecordings": [],
"symptomDefinitions": [],
"lifeEvents": [],
"labResultDocumentLinks": [],
"encounterMedicationLinks": [],
"encounterVaccinationLinks": [],
"medicationDocumentLinks": [],
"medicationConditionLinks": [],
"nutrientDays": [
{
"day": "2026-07-04",
"nutrient": "WATER",
"amount": 2100,
"unit": "mL",
"source": "MANUAL",
"externalSourceVersion": null,
"createdAt": "<now>"
}
]
}
}