Skip to main content
System
UUID
string
code reference

Definition

The UUID transformer generates a new UUID v4.

For example: 6d871028b072442c9ad9e6e4e223adfa

Configurations

Depending on your validations, you may want to configure the output uuid. The uuid transformer has the following configurations:

NameDescriptionDefaultExample InputExample Output
Include hyphensIncludes hyphens in the output UUID. Note: For some databases, such as Postgres, it will automatically convert any UUID without hyphens to having hyphens. falseN/A6817d39c-ea4f-45ec-a81c-bc0801355576

Examples

Here are some example UUID values that the uuid transformer can generate:

Include HyphensExample InputExample Output
false98085b5a-f7d8-4349-8f18-8bc7febe6fd253ef1f16cd0d455cb45c4cb6434ae807
trueN/Aab6b676b-0d0e-4e38-b98a-3935a832da7d