# Other

Below is a list of available other types of mock data generators.

## Standard mock data generators

| Mocker             | Return Type | Description                                                                |
| ------------------ | ----------- | -------------------------------------------------------------------------- |
| Boolean            | bool        | Either True or False.                                                      |
| Latitude longitude | geo         | A tuple of (latitude, longitude) coordinates.                              |
| Pybool             | bool        | A randomly generated Python boolean value.                                 |
| UUID               | uuid        | A string representing a UUID (universally unique identifier) in v4 format. |

## JSON

This mocker uses Faker to generate randomized, complex and a text representation of JSON data, simulating real-world scenarios with specified data types across fields.

#### Parameters

* `Data columns`: Specification for the data structure
* `Number of rows`: Number of rows the returned
* `cls`(json.JSONEncoder): Optional JSON encoder to use for non-standard objects such as datetimes
* `Consistent mapping`: JSON supports [consistent mapping](https://docs.syntho.ai/configure-a-data-generation-job/configure-column-settings/consistent-mapping).

**Note**: For more information, refer to the [Faker documentation](https://faker.readthedocs.io/en/master/providers/faker.providers.misc.html#faker.providers.misc.Provider.json).

#### Example <a href="#example---shifting-a-set-of-dates" id="example---shifting-a-set-of-dates"></a>

If you configure:

```json
{"Name":"name", "Address":"address"}
```

The results will be:

```json
{"Name": "Rebecca Crawford", "Address": "USCGC Harrell\nFPO AP 64614"},
{"Name": "Mark Ayala", "Address": "979 Clay Vista Apt. 789\nNew Zacharymouth, NC 40691"},
{"Name": "Stephanie Chaney", "Address": "852 Debbie Valley\nBrittanystad, FM 41302"}
```

## Custom sampler

Generates random text, numeric (integer or decimal) object depending on provided values, sampled from a provided list of input values.

#### Parameters

* `Values` (comma separated values): The list of values to sample from.
* `...` (File upload): Allows users to import predefined lists of values from `.csv` or `.txt` files. The uploaded file must be within 2MB and contain a maximum of 5000 characters.
* `Consistent mapping`: Custom sampler supports [consistent mapping](https://docs.syntho.ai/configure-a-data-generation-job/configure-column-settings/consistent-mapping).

#### Example <a href="#example---shifting-a-set-of-dates" id="example---shifting-a-set-of-dates"></a>

If you configure:

```
values1, values2, values3

1, 25, 99

0.1, 2.5, 99
```

The results will be:

```
values3,
values1,
values2,
...

99,
25,
1,
...

99.0,
0.1,
2.5,
...
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.syntho.ai/configure-a-data-generation-job/configure-column-settings/mockers/other.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
