Docs
chromia.com

Configurable generators

The following generators support additional configuration options:

Generator IDConfiguration optionsDescriptionDefault value
rangemin, maxControls the minimum and maximum values.
Supported for Rell types: integer, decimal, big_integer
(min, max) are required
byte_arraysizeControls the size of the generated byte array32
textmin, maxControls the minimum and maximum length of the generated string(1, 10)
predefineddistribution
values
Controls the order picking values (SEQUENTIAL/RANDOM)
List of values to be used
SEQUENTIAL
Empty array

Example configurations:

YAML
<entity_name>:
  count: 10
  attributes:
    # Integer with range
    <attribute_name_one>:
      generator: text
      min: 18
      max: 65
    <attribute_name_two>:
      generator: byte_array
      size: 20
    <attribute_name_three>:
      generator: predefineds
      values: [1, 2, 3]
      distribution: RANDOM