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

# IdentityViolation

> Interface exported by @botmesh/core/testing.

Defined in: [testing/identityContract.ts:116](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/identityContract.ts#L116)

One broken promise of the identity stability contract.

## Properties

### rule

```ts theme={null}
rule: IdentityRule;
```

Defined in: [testing/identityContract.ts:117](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/identityContract.ts#L117)

***

### message

```ts theme={null}
message: string;
```

Defined in: [testing/identityContract.ts:119](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/identityContract.ts#L119)

Human-readable explanation (ids included, so the failure is actionable).

***

### index?

```ts theme={null}
index?: number;
```

Defined in: [testing/identityContract.ts:121](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/identityContract.ts#L121)

Index of the offending event, for per-event rules.

***

### human?

```ts theme={null}
human?: string;
```

Defined in: [testing/identityContract.ts:123](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/identityContract.ts#L123)

Label of the human, for per-human rules.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.