---
url: /docs/api/core/variables/goalTypeSchema.md
---
[**@kaiord/core**](../README.md)

***

[@kaiord/core](../README.md) / goalTypeSchema

# Variable: goalTypeSchema

> `const` **goalTypeSchema**: `ZodEnum`<{ `fat_loss`: `"fat_loss"`; `maintain`: `"maintain"`; `muscle_gain`: `"muscle_gain"`; }>

Defined in: [packages/core/src/domain/schemas/health/energy-goal.ts:10](https://github.com/pablo-albaladejo/kaiord/blob/3eacbe62ef72342d970523967cc5155b5935bb85/packages/core/src/domain/schemas/health/energy-goal.ts#L10)

Body-composition objective driving the deficit/surplus engine.

`fat_loss` and `muscle_gain` move weight toward `target_weight_kg`;
`maintain` holds it. Weights are strictly positive kilograms and
`target_date` is an ISO calendar date marking the planned horizon.
