General column configuration

The following general column configuration properties apply to most generators.

For information on about the general properties and how they are set in the application, go to Configuring a column.

{
  "name": string, // Name of the column.
  "data_type": string,  // Data type of the column values.
  "generator": string, // The name of the generator.
  "conditions": [  // Weighted distribution configuration.
                   // Available for a smaller set of generators
    {
      "subset_field": string, // Field for the weight condition
      "operator": "is_one_of"|"is_not_one_of"|"is_not_null",
                  // Comparison operator for the weight condition
      "subset_value": string  // Comparison value for the weight condition
      "weight": integer // The weight value
    }
  ],
  "default_weight": integer // Default weight if conditions aren't met
  "group_key": string,  // Group key to link related columns.
  "percent_null": integer,  // Percent of records to be null.
  "virtual": boolean,  // Whether to exclude the column from exported data.
  // Advanced options
  "primary_key": boolean, //Whether the column is a primary key.
  "index": boolean,  // Whether to index the column.
  "seed": string,  // The seed for random value generation.
                   /// Setting this freezes the column until the seed changes.
  "postprocessing_sql": string, // SQL script to run after data generation.
}

Last updated