# Shipping Container (ShippingContainerGenerator)

The [Shipping Container](https://docs.tonic.ai/app/generation/generators/generator-reference/shipping-container) generator generates values of ISO 6346 compliant shipping container codes. All generated codes are in the freight category ("U").

## Link object structure <a href="#generator-api-shipping-container-link-object" id="generator-api-shipping-container-link-object"></a>

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`](https://app.tonic.ai/apidocs/index.html#/models/BaseMetadata) object.

There is no generator-specific configuration.

```json
{
  "schema": "string",
  "table": "string",
  "column": "string",
  "path": "string",  //JSON fields only
  "dataType": "string",  //MongoDB, Amazon DynamoDB, and JSON fields 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 <a href="#generator-api-shipping-container-replacement" id="generator-api-shipping-container-replacement"></a>

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

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