# EditDecorationInput

input type

Edit-input for a Decoration. Every field optional, at least ONE required; supplied fields REPLACE, omitted fields are preserved (no clearing semantic). purpose / attachedToType / attachedToId are NOT editable (the identity coordinate is immutable at birth, DC-c — moving or re-purposing content = recreate); locale / ordinal / text / code / caption are ordinary replace-only edits.

## Fields

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `caption` | [String](/types/#scalars) | no | No further notes. |
| `locale` | [String](/types/#scalars) | no | No further notes. |
| `ordinal` | [Int](/types/#scalars) | no | No further notes. |
| `text` | [String](/types/#scalars) | no | No further notes. |
| `code` | [String](/types/#scalars) | no | No further notes. |

## Used by

- [updateDecoration](/reference/decoration/updateDecoration/)
