> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# names

# `prefect.types.names`

## Functions

### `raise_on_name_alphanumeric_dashes_only` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/types/names.py#L26](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/types/names.py#L26)</sup>

```python theme={null}
raise_on_name_alphanumeric_dashes_only(value: str | None, field_name: str = 'value') -> str | None
```

### `raise_on_name_alphanumeric_underscores_only` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/types/names.py#L50](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/types/names.py#L50)</sup>

```python theme={null}
raise_on_name_alphanumeric_underscores_only(value: str | None, field_name: str = 'value') -> str | None
```

### `raise_on_name_alphanumeric_dashes_underscores_only` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/types/names.py#L63](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/types/names.py#L63)</sup>

```python theme={null}
raise_on_name_alphanumeric_dashes_underscores_only(value: str, field_name: str = 'value') -> str
```

### `non_emptyish` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/types/names.py#L83](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/types/names.py#L83)</sup>

```python theme={null}
non_emptyish(value: str) -> str
```

### `validate_uri` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/types/names.py#L146](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/types/names.py#L146)</sup>

```python theme={null}
validate_uri(value: str) -> str
```

Validate that a string is a valid URI with lowercase protocol.

### `validate_valid_asset_key` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/types/names.py#L192](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/types/names.py#L192)</sup>

```python theme={null}
validate_valid_asset_key(value: str) -> str
```

Validate asset key with character restrictions and length limit.
