A shared fitness trend or dashboard snapshot
Record Key
tid
Timestamp-based ID
Properties
caption
string
Optional
No description available.
maxLength: 512 byteschartStyle
string
Optional
No description available.
maxLength: 64 bytesKnown values:
line, barcreatedAt
string
datetime
Required
An RFC 3339 formatted timestamp.
dataPoints
array
of
ref
#dataPoint
Optional
No description available.
image
blob
Optional
No description available.
maxSize: 1.0 MBmetric
string
Required
No description available.
maxLength: 64 bytesKnown values:
distance, duration, pace, steps, calories, heartRate, workoutCountperiod
string
Required
No description available.
maxLength: 64 bytesKnown values:
1d, 7d, 30d, 90d, 1ysummary
ref
#trendSummary
Required
No description available.
widgetType
string
Required
No description available.
maxLength: 64 bytesKnown values:
today-summary, weekly-progress, goal-progress, recent-workouts, custom-trendView raw schema
{
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"widgetType",
"metric",
"period",
"summary",
"createdAt"
],
"properties": {
"image": {
"type": "blob",
"accept": [
"image/png",
"image/jpeg"
],
"maxSize": 1000000
},
"metric": {
"type": "string",
"maxLength": 64,
"knownValues": [
"distance",
"duration",
"pace",
"steps",
"calories",
"heartRate",
"workoutCount"
]
},
"period": {
"type": "string",
"maxLength": 64,
"knownValues": [
"1d",
"7d",
"30d",
"90d",
"1y"
]
},
"caption": {
"type": "string",
"maxLength": 512
},
"summary": {
"ref": "#trendSummary",
"type": "ref"
},
"createdAt": {
"type": "string",
"format": "datetime"
},
"chartStyle": {
"type": "string",
"maxLength": 64,
"knownValues": [
"line",
"bar"
]
},
"dataPoints": {
"type": "array",
"items": {
"ref": "#dataPoint",
"type": "ref"
}
},
"widgetType": {
"type": "string",
"maxLength": 64,
"knownValues": [
"today-summary",
"weekly-progress",
"goal-progress",
"recent-workouts",
"custom-trend"
]
}
}
},
"description": "A shared fitness trend or dashboard snapshot"
}