---
url: 'https://adk.nht.io/api/@nhtio/adk/common/interfaces/RawIdentity.md'
description: 'Plain input object supplied to [`Identity`](https://adk.nht.io/api/@nhtio/adk/common/classes/Identity) at construction time.'
---

# Interface: RawIdentity

Defined in: [lib/classes/identity.ts:13](https://github.com/NHTIO/ADK/blob/v1.20260605.0/src/lib/classes/identity.ts#L13)

Plain input object supplied to [Identity](../classes/Identity.md) at construction time.

## Remarks

Validated against `rawIdentitySchema` before the `Identity` instance is created.

## Properties

| Property                                              | Type                                                   | Description                                                                                                                                                                                                                                                            | Defined in                                                                                                    |
| ----------------------------------------------------- | ------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- |
|  `identifier`         | `string` | `number`                                   | The system-facing identifier for this participant. **Remarks** Used internally to correlate messages to a specific participant — e.g. a database ID or a username. Never sent to the model directly; use `representation` for that.                                    | [lib/classes/identity.ts:21](https://github.com/NHTIO/ADK/blob/v1.20260605.0/src/lib/classes/identity.ts#L21) |
|  `representation` | `string` | [`Tokenizable`](../classes/Tokenizable.md) | How this participant should be presented to the model. **Remarks** Accepts a plain string or an existing [@nhtio/adk!Tokenizable](../classes/Tokenizable.md) instance. This is what the model sees when it needs to distinguish between participants of the same role. | [lib/classes/identity.ts:29](https://github.com/NHTIO/ADK/blob/v1.20260605.0/src/lib/classes/identity.ts#L29) |
