# Cuid

Effect Schema and branded string type for 24-character CUID values.

## Signatures

```ts
export declare const Cuid: Schema.brand<Schema.String, "@typed/id/CUID">;
```

```ts
export type Cuid = Schema.Schema.Type<typeof Cuid>;
```

## Why

The schema validates transport or persisted strings before restoring the compile-time brand; generating a new client ID is not hydration identity.

## Ownership and lifetime

This module-level schema value acquires no resources and is shared; no runtime freezing guarantee is implied.

## Examples

```ts
import { Cuid } from "@typed/id/Cuid"
const id = Cuid.make("a00000000000000000000000")
```
See [Effect Schema](https://effect.website/docs/schema/introduction/).
