# DmarcReadiness

Policy enforcement readiness analysis.

Policy enforcement readiness analysis

```ts
type DmarcReadiness = {
  alignedRate: number | null
  blockers: DmarcBlocker[]
  currentPolicy: string | null
  messages: number
  observedDays: number
  recommendedPolicy: ('quarantine' | 'reject') | null
  reporters: number
  sampled: boolean
  verdict: ('no_data' | 'insufficient_data' | 'not_ready' | 'ready_for_quarantine' | 'ready_for_reject' | 'at_enforcement')
  windowDays: number
}
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `alignedRate` | `number` \| `null` | Overall DMARC pass rate fraction (0.0 to 1.0), or null |
| `blockers` | [`DmarcBlocker[]`](/docs/sdks/typescript/types/dmarc-blocker) | List of blocking conditions preventing stricter policy |
| `currentPolicy` | `string` \| `null` | Current published DMARC policy (none, quarantine, reject), or null |
| `messages` | `number` | Total message count observed in window |
| `observedDays` | `number` | Number of active days with observed reports |
| `recommendedPolicy` | `('quarantine' \| 'reject') \| null` | Recommended next policy progression, or null |
| `reporters` | `number` | Number of distinct reporting mail receivers |
| `sampled` | `boolean` | True if domain policy uses percentage sampling (pct \< 100) |
| `verdict` | `('no_data' \| 'insufficient_data' \| 'not_ready' \| 'ready_for_quarantine' \| 'ready_for_reject' \| 'at_enforcement')` | Enforcement readiness status |
| `windowDays` | `number` | Aggregate reporting window in days |

## Used in

[`DomainDmarc`](/docs/sdks/typescript/types/domain-dmarc).
