# Random UUID (UUIDGenerator)

The [Random UUID](https://docs.tonic.ai/app/generation/generators/generator-reference/random-uuid) generator generates a random UUID-like string.

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

The Random UUID generator does not support linking or consistency. You cannot configure differential privacy.

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": {
    "generatorId": "UUIDGenerator",
    "encryptionProcessor": "x-on", //To use configured Structural data encryption
    "customValueProcessor": "string"  //If custom value processor applied
  }
}
```

## Example replacement <a href="#generator-api-random-uuid-replacement" id="generator-api-random-uuid-replacement"></a>

The following example replacement applies the Random UUID generator to a column.

```json
{
  "name": "guid",
  "schema": "public",
  "table": "test",
  "links": [
    {
      "schema": "public",
      "table": "test",
      "column": "guid",
      "metadata": {
        "generatorId": "UUIDGenerator"
      }
    }
  ]
}
```
