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

***

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

# Variable: profileSnapshotSchema

> `const` **profileSnapshotSchema**: `ZodPipe`<`ZodUnknown`, `ZodObject`<{ `activeSport`: `ZodOptional`<`ZodEnum`<{ `cycling`: `"cycling"`; `running`: `"running"`; `swimming`: `"swimming"`; }>>; `generatedAt`: `ZodISODateTime`; `heartRate`: `ZodDefault`<`ZodObject`<{ `lthr`: `ZodOptional`<`ZodNumber`>; `max`: `ZodOptional`<`ZodNumber`>; }, `$strict`>>; `profile`: `ZodObject`<{ `bodyWeight`: `ZodOptional`<`ZodNumber`>; `name`: `ZodString`; }, `$strict`>; `schemaVersion`: `ZodLiteral`<`1`>; `thresholds`: `ZodDefault`<`ZodObject`<{ `cycling`: `ZodOptional`<`ZodObject`<{ `ftp`: `ZodOptional`<`ZodNumber`>; }, `$strict`>>; `running`: `ZodOptional`<`ZodObject`<{ `lthr`: `ZodOptional`<`ZodNumber`>; `thresholdPaceSecPerKm`: `ZodOptional`<`ZodNumber`>; }, `$strict`>>; `swimming`: `ZodOptional`<`ZodObject`<{ `cssPaceSecPer100m`: `ZodOptional`<`ZodNumber`>; }, `$strict`>>; }, `$strict`>>; }, `$strict`>>

Defined in: [packages/core/src/protocol/profile-snapshot.ts:77](https://github.com/pablo-albaladejo/kaiord/blob/3eacbe62ef72342d970523967cc5155b5935bb85/packages/core/src/protocol/profile-snapshot.ts#L77)
