> ## 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.

# IdentityRule

> Type alias exported by @botmesh/core/testing.

```ts theme={null}
type IdentityRule = 
  | "missing-id"
  | "suspicious-id"
  | "alias-mismatch"
  | "chat-kind"
  | "kind-drift"
  | "unstable-sender"
  | "unstable-chat"
  | "unexpected-sender"
  | "unexpected-chat"
  | "unexpected-kind"
  | "collapsed-humans"
  | "bad-index";
```

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

Machine-readable rule ids reported in [IdentityViolation.rule](https://botmesh.afaya.com.co/api/core/testing/interfaces/IdentityViolation.md#rule).


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