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

***

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

# Variable: macroNutrientsSchema

> `const` **macroNutrientsSchema**: `ZodObject`<{ `carb_g`: `ZodNumber`; `fat_g`: `ZodNumber`; `kcal`: `ZodNumber`; `protein_g`: `ZodNumber`; }, `$strip`>

Defined in: [packages/core/src/domain/schemas/health/nutrition.ts:11](https://github.com/pablo-albaladejo/kaiord/blob/3eacbe62ef72342d970523967cc5155b5935bb85/packages/core/src/domain/schemas/health/nutrition.ts#L11)

Macro-nutrient value object: an energy total (`kcal`) plus its
protein/carbohydrate/fat breakdown in grams.

Used both for logged intake actuals and for derived macro targets, so it
carries no `kind` discriminator and is not a health-extension payload — it
is a reusable building block embedded in higher-level energy view-models.
