app.fitsky.goal
A fitness goal to track progress against
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | fitsky.app |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "A fitness goal to track progress against",
"key": "tid",
"record": {
"properties": {
"createdAt": {
"format": "datetime",
"type": "string"
},
"endDate": {
"format": "datetime",
"type": "string"
},
"metric": {
"knownValues": [
"distance",
"workouts",
"duration",
"pace"
],
"maxLength": 64,
"type": "string"
},
"period": {
"knownValues": [
"weekly",
"monthly",
"yearly"
],
"maxLength": 64,
"type": "string"
},
"startDate": {
"format": "datetime",
"type": "string"
},
"targetValue": {
"description": "Target value in base units (meters for distance, seconds for duration, seconds-per-km for pace, count for workouts)",
"minimum": 0,
"type": "integer"
}
},
"required": [
"metric",
"targetValue",
"period",
"startDate",
"createdAt"
],
"type": "object"
},
"type": "record"
}
},
"id": "app.fitsky.goal",
"lexicon": 1
}