{"name": string,"generator":"Array",// Generator-specific fields"items": {"generator": string // Generator for the array values// Configuration for the selected generator. },"distribution":"fixed"|"normal"|"uniform",// Distribution to use for the // number of array values// Fixed distribution"exact_value": number // Exact number of array values// Uniform distribution"min": number,// Minimum number of array values"max": number,// Maximum number of array values// Normal distribution"min": number,// Minimum number of array valuesl"max": number,// Maximum number of array values"mean": number,// Mean number of array values"stddev": number,// Standard deviation for the number of array values//End generator-specific fields"percent_null": integer,"virtual": boolean,// Advanced options"primary_key": boolean,"index": boolean,"seed": string,"postprocessing_sql": string}
Blank
The Blank generator inserts a null value.
Boolean
Inserts a random boolean value - either true or false.
Constant
Inserts the same value into all of the rows.
Image (binary)
Produces a JPEG image in binary format.
Lorem Ipsum
Populates the column with filler text.
Mongo ObjectId
Populates the column with a MongoDB object identifier.
Intended for document identifier columns in a MongoDB database.
{
"name": string,
"data_type": string,
"generator": "Number",
// Generator-specific fields
"distribution": "autoincrement"|"uniform"|"binomial"|"exponential"|
"geometric"|"normal"|"poisson"|"series", // Distribution type
"min": integer // For autoincrement, the increment value
"variants": [ // Set of variants for non-autoincrement distribution
{
"condition_type": "sql"|”percentage", // The type of condition
"conditions": string, // For sql, the expression to identify the condition
// that triggers the variant
"condition_percentage": float, // For percentage, the percentage of records
// that use the variant
// ---------------------------------------------------------------------
// Uniform distribution
"min": integer, // Minimum value
"max": integer, // Maximum value
"decimals": integer, // Number of decimal places
// ---------------------------------------------------------------------
// Binomial distribution
"trials": string // Number of tests
"success_probability": string, // Success probability
// ---------------------------------------------------------------------
// Exponential distribution
"min": integer, // Minimum value
"rate": string, // Rate of increase
"max": integer, // Maximum value
"decimals": integer, // Number of decimal places
// ----------------------------------------------------------------------
// Geometric distribution
"min": integer, // Minimum value
"success_probability": string, // Success probability
"max": integer, // Maximum value
"decimals": integer, // Number of decimal places
// ---------------------------------------------------------------------
// Normal distribution
"min": integer, // Minimum value
"mean": string, // Mean value
"std_dev": string, // Standard deviation
"max": integer, // Maximum value
"decimals": integer, // Number of decimal places
// ---------------------------------------------------------------------
// Poisson distribution
"min": integer, // Minimum value
"mean": string, // Mean value
"max": integer, // Maximum value
"decimals": integer, // Number of decimal places
// ---------------------------------------------------------------------
// Series distribution
"start_field_id": uuid, // Start field
"end_field_id": uuid, // End field
"partition_by_field_id": uuid, // Partition by field
"order_by_field_id": uuid, // Order by field
"decimals": integer, // Number of decimal places
"curve_type": "exponential"|"logarithmic"|"from column", // Curve type
"rate": string, // Rate of increase for exponential and
// logarithmic curve types
"curve_type_field_id": uuid, // Field for From field curve type
"volatility_type": "fixed"|"from_column", // Type of volatility
"volatility": string, // Fixed volatility value
"volatility_field_id": uuid // From column volatility column
}
],
// End generator-specific fields
"percent_null": integer,
"virtual": boolean,
// Advanced options
"primary_key": boolean,
"index": boolean,
"seed": string,
"postprocessing_sql": string
}
{
"name": string,
"generator": "Object",
// Generator-specific fields
"fields": [
// Entry for each field
{
"name": string // Name of the object field
"generator": string // Generator for the field value
// Configuration for the selected generator
}
],
// End generator-specific fields
"percent_null": integer,
"virtual": boolean,
// Advanced options
"primary_key": boolean,
"index": boolean,
"seed": string,
"postprocessing_sql": string
}