# detectNamingSchemas

**Kind:** Function

**Source:** [`atloria-monorepo/libs/parser-core/src/techdocs/naming-schemas.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/libs/parser-core/src/techdocs/naming-schemas.ts#L88)

The naming conventions a corpus actually follows, most populous first.

`total` is the population the share cap is measured against — pass the full entity count so a
convention is judged against the whole codebase and not against the slice being rendered.

## Signature

```ts
function detectNamingSchemas(entities: Entity[], total): NamingSchema[]
```

## Parameters

| Name | Type |
|---|---|
| `entities` | `Entity[]` |
| `total` | `any` |

**Returns:** `NamingSchema[]`
