Shipping Container (ShippingContainerGenerator)

The Shipping Container generator generates values of ISO 6346 compliant shipping container codes. All generated codes are in the freight category ("U").

The Shipping Container generator does not support linking. It can be self-consistent or consistent with another column. You cannot configure differential privacy.

The metadata object is populated from the BaseMetadata object.

There is no generator-specific configuration.

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

Example replacement

In the following example of a replacement for the Shipping Container generator, consistency is disabled.

{
  "name": "container",
  "schema": "public",
  "table": "shipments",
  "links": [
    {
      "schema": "public",
      "table": "shipments",
      "column": "container",
      "metadata": {
        "presetId": "ShippingContainerGenerator",
        "generatorId": "ShippingContainerGenerator",
        "isConsistent": false
      }
    }
  ]
}

Last updated