> For the complete documentation index, see [llms.txt](https://docs.schemajs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.schemajs.com/reference-guides/schemajs-global/datatypes.md).

# DataTypes

The `DataTypes` enum in **SchemaJS** defines the supported data types for columns in a table. It is used to specify what kind of data each column can hold, such as strings or boolean values. Enums like this provide a clear and type-safe way of working with predefined values, ensuring consistency and avoiding invalid types.

```typescript
export enum DataTypes {
    Uuid = "Uuid",
    String = "String",
    Boolean = "Boolean",
    Number = "Number"
}
```
