# DutySeverity

Industry: Workforce

Whether a failed rule is a violation (a "must") or an advisory (a "should").

```ts
import type { DutySeverity } from "@northguild/gmt";
```

## Definition

```ts
type DutySeverity = "violation" | "advisory";
```

## Used by

- [`dutyViolations`](/gmt/reference/workforce/calculate/dutyViolations/)
- [`evaluateDutyLog`](/gmt/reference/workforce/calculate/evaluateDutyLog/)

## Source

[types/duty.ts](https://github.com/northguild/gmt/blob/main/packages/gmt/src/types/duty.ts)
