Veramask API

ReplaceStrategy

object

Replace detected values with a caller-provided fixed value.

typestring

Operator type. Must be ‘replace’.

Default:replace

new_valuestringrequired

Replacement text to use for the detected value.

Example

SubstituteStrategy

object

Substitute detected values with realistic synthetic data using the Faker library.

typestring

Operator type. Must be ‘substitute’.

Default:substitute

attributestring

Faker attribute to use for substitution (for example: name, address, company).

Default:name

Example

ValidationError

object
locAny Of
arrayrequired
Variant 1string
msgstringrequired
typestringrequired
input
ctxobject
Example