Primitive Types

Primitive Types

CUE Reference: https://cuelang.org/docs/tutorials/tour/types/types

Random Field

field_name: string | number | float | int | bool

Constant Field

field_name: value

Examples

Random & Constant Values

string_field: string boolean_field: bool string_constant: "hello world" int_constant: 101

CSV Example Output

string_fieldboolean_fieldstring_constantint_constant
quifalsehello world101
quidemtruehello world101
eligenditruehello world101
voluptasfalsehello world101

JSON Example Output

[ { "boolean_field": false, "string_field": "qui", "string_constant": "hello world", "int_constant": 101 }, { "boolean_field": true, "string_field": "quidem", "string_constant": "hello world", "int_constant": 101 }, { "boolean_field": true, "string_field": "eligendi", "string_constant": "hello world", "int_constant": 101 }, { "boolean_field": false, "string_field": "voluptas", "string_constant": "hello world", "int_constant": 101 } ]