GoalTarget
type decides which fields apply:
- reach_value: metric moves to
value(e.g. weight 75 kg) - stay_in_range: metric held between
minandmax - frequency: event happens
timesperperiod(e.g. 3 workouts a week) - daily_threshold: metric meets
valueeach day indirection(e.g. at least 8000 steps) - habit: manual check-in
timesperperiod
- typeType: stringenumrequiredvaluesreach_valuestay_in_rangefrequencydaily_thresholdhabit
- directionType: string | nullenumvaluesincreasedecreaseat_leastat_mostnull
- maxType: number | null
- metricType: string | null
- minType: number | null
- periodType: string | nullenumvaluesdayweekmonthnull
- timesType: integer | null
Integer numbers.
- unitType: string | null
- valueType: number | null