# CustomFieldDataType

> Type reference for CustomFieldDataType in the Rippling SDK, including its public shape and related types.

## Type definition

```
export type CustomFieldDataType = {
    fieldType: CustomFieldSimpleType;
} | {
    fieldType: 'NUMBER';
    decimalPlaces?: number | null;
} | {
    fieldType: 'CURRENCY';
    currency?: string | null;
} | {
    fieldType: 'SELECT' | 'RADIO';
    options: readonly string[];
} | {
    fieldType: 'ID';
    numberOfCharacters?: number | null;
    characterType?: CustomFieldUniqueIDCharacterType | null;
} | {
    fieldType: 'OG_REFERENCE_FIELD';
    referencedModelRqlName: string;
};
```

## Related types

-   [CustomFieldSimpleType](https://developer.rippling.com/documentation/js-sdk/metadata-sdk/reference/types/CustomFieldSimpleType-2590da56)
-   [CustomFieldUniqueIDCharacterType](https://developer.rippling.com/documentation/js-sdk/metadata-sdk/reference/types/CustomFieldUniqueIDCharacterType-dee01d09)

Source: https://developer.rippling.com/documentation/js-sdk/metadata-sdk/reference/types/CustomFieldDataType-6222c021

> For the complete documentation index, see [llms.txt](https://developer.rippling.com/llms.txt). Public pages have a Markdown version at the same URL with .md added.
