Skip to main content

SeedAnomalyStateSchema

Phase 132 Plan 04 — payload for /test/seed-anomaly-state.

device_id is the Device.id UUID as a string. anomaly_type narrows to "stuck" or "overdue" — validated at runtime since Ninja doesn't carry literal-type narrowing into the runtime check.

device_idDevice Id (string)required
anomaly_typeAnomaly Type (string)required

Possible values: [stuck, overdue]

SeedAnomalyStateSchema
{
"device_id": "string",
"anomaly_type": "stuck"
}