A fitness goal to track progress against
Record Key
tid
Timestamp-based ID
Properties
createdAt
string
datetime
Required
An RFC 3339 formatted timestamp.
endDate
string
datetime
Optional
An RFC 3339 formatted timestamp.
metric
string
Required
No description available.
maxLength: 64 bytesKnown values:
distance, workouts, duration, paceperiod
string
Required
No description available.
maxLength: 64 bytesKnown values:
weekly, monthly, yearlystartDate
string
datetime
Required
An RFC 3339 formatted timestamp.
targetValue
integer
Required
Target value in base units (meters for distance, seconds for duration, seconds-per-km for pace, count for workouts)
minimum: 0View raw schema
{
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"metric",
"targetValue",
"period",
"startDate",
"createdAt"
],
"properties": {
"metric": {
"type": "string",
"maxLength": 64,
"knownValues": [
"distance",
"workouts",
"duration",
"pace"
]
},
"period": {
"type": "string",
"maxLength": 64,
"knownValues": [
"weekly",
"monthly",
"yearly"
]
},
"endDate": {
"type": "string",
"format": "datetime"
},
"createdAt": {
"type": "string",
"format": "datetime"
},
"startDate": {
"type": "string",
"format": "datetime"
},
"targetValue": {
"type": "integer",
"minimum": 0,
"description": "Target value in base units (meters for distance, seconds for duration, seconds-per-km for pace, count for workouts)"
}
}
},
"description": "A fitness goal to track progress against"
}