---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/validation/types/interfaces/OrderingRepair.md
description: One safe mutation applied while repairing a blocking violation.
---

# Interface: OrderingRepair

Defined in: [src/batteries/validation/types.ts:275](https://github.com/NHTIO/ADK/blob/v1.20260824.1/src/src/batteries/validation/types.ts#L275)

One safe mutation applied while repairing a blocking violation.

## Properties

| Property                                     | Type                                                                       | Description                                                                                                                                                     | Defined in                                                                                                                          |
| -------------------------------------------- | -------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
|  `blockerId?` | `string`                                                                   | `'reorder'` only: id of the primitive the target was moved to sort immediately before.                                                                          | [src/batteries/validation/types.ts:286](https://github.com/NHTIO/ADK/blob/v1.20260824.1/src/src/batteries/validation/types.ts#L286) |
|  `detail`        | `string`                                                                   | Description of the concrete timeline or primitive change.                                                                                                       | [src/batteries/validation/types.ts:281](https://github.com/NHTIO/ADK/blob/v1.20260824.1/src/src/batteries/validation/types.ts#L281) |
|  `strategy`    | `"reorder"` | `"insert-alternation-filler"` | `"fill-required-metadata"` | Safe repair strategy used by mutate mode.                                                                                                                       | [src/batteries/validation/types.ts:279](https://github.com/NHTIO/ADK/blob/v1.20260824.1/src/src/batteries/validation/types.ts#L279) |
|  `targetId?`   | `string`                                                                   | `'reorder'` only: id of the primitive that was moved. Typed so the applying middleware never has to parse `detail`'s prose to recover what it already computed. | [src/batteries/validation/types.ts:284](https://github.com/NHTIO/ADK/blob/v1.20260824.1/src/src/batteries/validation/types.ts#L284) |
|  `violation`  | [`BlockingOrderingViolation`](BlockingOrderingViolation.md)                | The blocking violation this repair addressed.                                                                                                                   | [src/batteries/validation/types.ts:277](https://github.com/NHTIO/ADK/blob/v1.20260824.1/src/src/batteries/validation/types.ts#L277) |
