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

***

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

# Variable: SWIM_STROKE_TO_FIT

> `const` **SWIM_STROKE_TO_FIT**: `object`

Defined in: [packages/core/src/domain/schemas/swim-stroke.ts:52](https://github.com/pablo-albaladejo/kaiord/blob/3eacbe62ef72342d970523967cc5155b5935bb85/packages/core/src/domain/schemas/swim-stroke.ts#L52)

Bidirectional mapping from swim stroke to FIT protocol numeric values.

Used for converting KRD swim strokes to FIT format.

## Type Declaration

### backstroke

> `readonly` **backstroke**: `1` = `1`

### breaststroke

> `readonly` **breaststroke**: `2` = `2`

### butterfly

> `readonly` **butterfly**: `3` = `3`

### drill

> `readonly` **drill**: `4` = `4`

### freestyle

> `readonly` **freestyle**: `0` = `0`

### im

> `readonly` **im**: `5` = `5`

### mixed

> `readonly` **mixed**: `5` = `5`

## Example

```typescript
import { SWIM_STROKE_TO_FIT } from '@kaiord/core';

const fitValue = SWIM_STROKE_TO_FIT.freestyle; // 0
```
