Search
K
Links

Name (NameGenerator)

The Name generator generates a random name string from a dictionary of first and last names.
The Name generator cannot be linked. It can be self-consistent, but not consistent with another column. You cannot configure differential privacy.
The metadata object is populated from the NameClassifierMetadata object, which includes:
  • The type of name value.
  • Whether to preserve the capitalization from the source value.
{
"presetId": "string",
"generatorId": "NameGenerator",
"schema": "string",
"table": "string",
"column": "string",
"dataType": "string" //MongoDB only
"metadata": {
"nameType": "enum",
"preserveCapitalization": boolean,
"isConsistent": boolean
},
"encryptionProcessor": "x-on", //To use configured Tonic data encryption
"customValueProcessor": "string" //If custom value processor applied
}

Example replacement

In the following example replacement for the Name generator, the name format is Last, First (Smith, John). Capitalization is preserved. Consistency is disabled.
{
"name": "fullname",
"schema": "public",
"table": "users",
"links": [
{
"presetId": "NameGenerator",
"generatorId": "NameGenerator",
"schema": "public",
"table": "users",
"column": "fullname",
"metadata": {
"nameType": "LastCommaFirstName",
"preserveCapitalization": true,
"isConsistent": false
}
}
]
}