Conditional (ConditionalGenerator)
Link object structure
{
"schema": "string",
"table": "string",
"column": "string",
"path": "string", //JSON fields only
"dataType": "string", //MongoDB, Amazon DynamoDB, and JSON fields only
"metadata": {
"generatorId": "ConditionalGenerator",
"presetId": "ConditionalGenerator",
"customValueProcessor": "string", //If custom value processor applied
"defaultGenerator": {
"metadata": {
"presetId": "string",
"generatorId": "string",
//Metadata for the selected generator
},
"condition": {
"op": "AND",
"conditions": []
},
"conditionalGenerators": [
{
"metadata": {
"presetId": "string",
"generatorId": "string",
"customValueProcessor": "string", //If custom value processor applied
//Metadata for the selected generator
},
"condition": {
"op": "enum",
"conditions": [
{
"col": "string",
"op": "enum",
"val": "string",
"colDataType": "string"
}
]
}
}
]
}
}Example replacement
Last updated
Was this helpful?