V1: Samples

Sample models

ActivityLevelSample

{
    "activity_level": ActivityLevel,
    "timestamp": String
}

BreathSample

{
    "breaths_per_min": Number,
    "timestamp": String
}

DistanceSample

{
    "distance_metres": Number,
    "timer_duration_seconds": Number,
    "timestamp": String
}

ElevationSample

{
    "timer_duration_seconds": Number,
    "elev_metres": Number,
    "timestamp": String
}

GlucoseDataSample

{
    "timestamp": String,
    "blood_glucose_mg_per_dL": Number,
    "glucose_level_flag": GlucoseFlag
}

HRSample

{
    "timestamp": String,
  	"context": HeartRateContext,
    "bpm": Number
}

HRVSample

{
    "hrv": Number,
    "timestamp": String
}

HypnogramSample

{
    "level": SleepLevel,
    "timestamp": String
}

LapSample

{
    "start_time": String,
    "distance": Number,
    "calories": Number
}

Meal

{
    "consumed_at": String,
    "macros": {
        "sodium": Number,
        "protein": Number,
        "carbohydrates": Number,
        "fiber": Number,
        "cholesterol": Number,
        "fat": Number,
        "sugar": Number,
        "vitamin_C": Number,
        "vitamin_A": Number,
        "calories": Number
    },
    "name": String
}

METSample

{
    "level": Number,
    "timestamp": String
}

PositionSample

{
    "timer_duration_seconds": Number,
    "coords_lat_lng": [Number, Number],
    "timestamp": String
}

PowerSample

{
    "timer_duration_seconds": Number,
    "timestamp": String,
    "watts": Number
}

SPO2Sample

{
    "timestamp": String,
    "percentage": Number
}

SnoringSample

{
    "duration": Number,
    "timestamp": String
}

TSSSample

{
    "intensity_factor_planned": Number,
    "intensity_factor_actual": Number,
    "method": String,
    "planned": Number,
    "actual": Number,
    "normalized_power_watts": Number
}

StressSample

{
    "level": Number,
    "timestamp": String
}

OxygenSaturationSample

{
    "percentage": Number,
    "timestamp": String
}

SpeedSample

{
    "timer_duration_seconds": Number,
    "timestamp": String,
    "speed": Number // meters per second
}

CadenceSample

{
    "timer_duration_seconds": Number,
    "timestamp": String,
    "cadence": Number
}

OtherDeviceData

{
    "software_version": String,
    "manufacturer": String,
    "serial_number": String,
    "name": String,
    "hardware_version": String,
}

BloodPressureSample

{
    "timestamp": String,
    "systolic_bp_mmHg": Number,
    "diastolic_bp_mmHg": Number
}

BodyTemperatureSample

{
    "timestamp": String,
    "body_temperature_celsius": Number
}

TemperatureSample

{
    "timestamp": String,
    "temperature_celsius": Number
}

SkinTemperatureSample

{
    "timestamp": String,
    "skin_temperature_celsius": Number
}

HydrationLevelSample

{
    "timestamp": String,
    "hydration_level": Number
}

HydrationMeasurementSample

{
    "timestamp": String,
    "hydration_kg": Number
}

Vo2MaxSample

{
    "timestamp": String,
    "max_volume_ml_per_min_per_kg": Number,
}

PulseVelocitySample

{
    "timestamp": String,
    "pulse_wave_velocity_metres_per_second": Number
}

AFibClassificationSample

{
    "timestamp": String,
    "afib_classification": Number
}

MeasurementDataSample

{
    "measurement_time": String,
    "BMI": Number,
    "BMR": Number,
    "RMR": Number,
    "estimated_fitness_age": Number,
    "skin_fold_mm": Number,
    "bodyfat_percentage": Number,
    "weight_kg": Number,
    "height_cm": Number,
    "bone_mass_kg": Number,
    "muscle_mass_kg": Number,
    "lean_mass_kg": Number,
    "water_percentage": Number
}