Skip to content

RewriteOperation

An in-place correction a validation can check (#11798). Like a removal, streams refuse it, so the rewrite itself goes through client.thing.rewrite.

operation: "rewrite"


name: string

A Thing’s name or a durable ID.


version: number

The exact version whose body is replaced.


shapes: string[]

The version’s declared Shapes plus CorrectedThing.


data: Record<string, unknown>

The complete replacement body.