# Operations (sample payloads)

## Main operations

### Random hex

Generates a random Hex.
**Sample Input**

```json
{
    "hex_length": 16
}
```

**Sample Output**

```json
{
    "result": "3a7f9b2c5e1d8f4a6b0c2d3e4f5a6b7c"
}
```

### Random item

Get a random item from a list.
**Sample Input**

```json
\{
    "list": [
        "apple",
        "banana",
        "cherry",
        "date",
        "elderberry"
    ]
\}
```

**Sample Output**

```json
{
    "result": "cherry"
}
```

### Random number

Generates a random number.
**Sample Input**

```json
\{
    "integer": true,
    "smallest": 1,
    "biggest": 100
\}
```

**Sample Output**

```json
{
    "result": 42
}
```

### Random property

Get a random key/value pair from an object.
**Sample Input**

```json
{
    "object": \{
        "name": "John Doe",
        "age": 30,
        "city": "New York",
        "occupation": "Software Engineer",
        "hobbies": [
            "reading",
            "hiking",
            "photography"
        ]
    \}
}
```

**Sample Output**

```json
\{
    "key": "occupation",
    "value": "Software Engineer"
\}
```

### Random string

Generates a random string.
**Sample Input**

```json
\{
    "characters_set": "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",
    "minimum_length": 8,
    "maximum_length": 16
\}
```

**Sample Output**

```json
{
    "result": "Xj9Kl2mRtY"
}
```

### Random UUID

Generates a random UUID.
**Sample Input**

```json
{}
```

**Sample Output**

```json
{
    "result": "550e8400-e29b-41d4-a716-446655440000"
}
```
