SIN (SINGenerator)

The SIN generator generates a new valid Canadian Social Insurance Number that preserves the formatting of the original value.

The SIN generator does not support linking. It can be self-consistent, but not consistent with another column. You cannot configure differential privacy.

There is no generator-specific configuration.

{
  "schema": "string",
  "table": "string",
  "column": "string",
  "metadata": {
    "presetId": "string",
    "generatorId": "SinGenerator",
    "isConsistent": boolean,
    "encryptionProcessor": "x-on", //To use configured Structural data encryption
    "customValueProcessor": "string"  //If custom value processor applied
  }
}

Example replacement

In the following example replacement for the SIN generator, consistency is disabled.

{
  "name": "id_number",
  "schema": "public",
  "table": "users",
  "links": [
    {
      "schema": "public",
      "table": "users",
      "column": "id_number",
      "metadata": {
        "presetId": "SinGenerator",
        "generatorId": "SinGenerator",
        "isConsistent": false
      }
    }
  ]
}

Last updated