pub struct PublicDailyActivity {Show 26 fields
pub active_calories: i64,
pub average_met_minutes: f64,
pub class_5_min: Option<String>,
pub contributors: PublicActivityContributors,
pub day: IsoDate,
pub equivalent_walking_distance: i64,
pub high_activity_met_minutes: i64,
pub high_activity_time: i64,
pub id: X,
pub inactivity_alerts: i64,
pub low_activity_met_minutes: i64,
pub low_activity_time: i64,
pub medium_activity_met_minutes: i64,
pub medium_activity_time: i64,
pub met: PublicSample,
pub meters_to_target: i64,
pub non_wear_time: i64,
pub resting_time: i64,
pub score: Option<i64>,
pub sedentary_met_minutes: i64,
pub sedentary_time: i64,
pub steps: i64,
pub target_calories: i64,
pub target_meters: i64,
pub timestamp: LocalizedDateTime,
pub total_calories: i64,
}Expand description
Object defining a daily activity that is a 24-hour period starting at 4 a.m.
JSON schema
{
"title": "PublicDailyActivity",
"description": "Object defining a daily activity that is a 24-hour period starting at 4 a.m.",
"type": "object",
"required": [
"active_calories",
"average_met_minutes",
"contributors",
"day",
"equivalent_walking_distance",
"high_activity_met_minutes",
"high_activity_time",
"id",
"inactivity_alerts",
"low_activity_met_minutes",
"low_activity_time",
"medium_activity_met_minutes",
"medium_activity_time",
"met",
"meters_to_target",
"non_wear_time",
"resting_time",
"sedentary_met_minutes",
"sedentary_time",
"steps",
"target_calories",
"target_meters",
"timestamp",
"total_calories"
],
"properties": {
"active_calories": {
"title": "",
"description": "Active calories expended in kilocalories.",
"type": "integer"
},
"average_met_minutes": {
"title": "",
"description": "Average MET minutes.",
"type": "number"
},
"class_5_min": {
"title": "",
"description": "5-minute activity classification for the period where every character corresponds to:\n'0' = non wear\n'1' = rest\n'2' = inactive\n'3' = low activity\n'4' = medium activity\n'5' = high activity\nExample: \"001233334555524001\".",
"type": [
"string",
"null"
]
},
"contributors": {
"$ref": "#/components/schemas/PublicActivityContributors"
},
"day": {
"$ref": "#/components/schemas/ISODate"
},
"equivalent_walking_distance": {
"title": "",
"description": "Equivalent walking distance of energe expenditure in meters.",
"type": "integer"
},
"high_activity_met_minutes": {
"title": "",
"description": "The total METs of each minute classified as high activity.",
"type": "integer"
},
"high_activity_time": {
"title": "",
"description": "The total time in seconds of each minute classified as high activity.",
"type": "integer"
},
"id": {
"title": "",
"description": "Unique identifier of the object.",
"type": "string",
"minLength": 1
},
"inactivity_alerts": {
"title": "",
"description": "Number of inactivity alerts received.",
"type": "integer"
},
"low_activity_met_minutes": {
"title": "",
"description": "The total METs of each minute classified as low activity.",
"type": "integer"
},
"low_activity_time": {
"title": "",
"description": "The total time in seconds of each minute classified as low activity.",
"type": "integer"
},
"medium_activity_met_minutes": {
"title": "",
"description": "The total METs of each minute classified as medium activity.",
"type": "integer"
},
"medium_activity_time": {
"title": "",
"description": "The total time in seconds of each minute classified as medium activity.",
"type": "integer"
},
"met": {
"$ref": "#/components/schemas/PublicSample"
},
"meters_to_target": {
"title": "",
"description": "Meters remaining to target.",
"type": "integer"
},
"non_wear_time": {
"title": "",
"description": "Ring non-wear time in seconds.",
"type": "integer"
},
"resting_time": {
"title": "",
"description": "Resting time in seconds.",
"type": "integer"
},
"score": {
"title": "",
"description": "Activity score in range [1, 100].",
"type": [
"integer",
"null"
]
},
"sedentary_met_minutes": {
"title": "",
"description": "Sedentary MET minutes.",
"type": "integer"
},
"sedentary_time": {
"title": "",
"description": "Sedentary time in seconds.",
"type": "integer"
},
"steps": {
"title": "",
"description": "Total number of steps taken.",
"type": "integer"
},
"target_calories": {
"title": "",
"description": "Daily activity target in kilocalories.",
"type": "integer"
},
"target_meters": {
"title": "",
"description": "Daily activity target in meters.",
"type": "integer"
},
"timestamp": {
"$ref": "#/components/schemas/LocalizedDateTime"
},
"total_calories": {
"title": "",
"description": "Total calories expended in kilocalories.",
"type": "integer"
}
},
"x-cloud-only": true,
"x-collection": "publicdailyactivity",
"x-owner": "movement-squad"
}Fields§
§active_calories: i64Active calories expended in kilocalories.
average_met_minutes: f64Average MET minutes.
class_5_min: Option<String>5-minute activity classification for the period where every character corresponds to: ‘0’ = non wear ‘1’ = rest ‘2’ = inactive ‘3’ = low activity ‘4’ = medium activity ‘5’ = high activity Example: “001233334555524001”.
contributors: PublicActivityContributors§day: IsoDate§equivalent_walking_distance: i64Equivalent walking distance of energe expenditure in meters.
high_activity_met_minutes: i64The total METs of each minute classified as high activity.
high_activity_time: i64The total time in seconds of each minute classified as high activity.
id: XUnique identifier of the object.
inactivity_alerts: i64Number of inactivity alerts received.
low_activity_met_minutes: i64The total METs of each minute classified as low activity.
low_activity_time: i64The total time in seconds of each minute classified as low activity.
medium_activity_met_minutes: i64The total METs of each minute classified as medium activity.
medium_activity_time: i64The total time in seconds of each minute classified as medium activity.
met: PublicSample§meters_to_target: i64Meters remaining to target.
non_wear_time: i64Ring non-wear time in seconds.
resting_time: i64Resting time in seconds.
score: Option<i64>Activity score in range [1, 100].
sedentary_met_minutes: i64Sedentary MET minutes.
sedentary_time: i64Sedentary time in seconds.
steps: i64Total number of steps taken.
target_calories: i64Daily activity target in kilocalories.
target_meters: i64Daily activity target in meters.
timestamp: LocalizedDateTime§total_calories: i64Total calories expended in kilocalories.