EditConsentPurposeInput
input type
Edit-input for a ConsentPurpose. Every field optional, at least ONE required; supplied fields replace, omitted fields are preserved; a code edit is the consentPurposeCode marker release/reserve swap (a non-doomed holder of the NEW code refuses CONFLICT/IDENTITY_TAKEN; the OLD code releases). consentModel is NOT here — immutable after birth; templateKey/templateVersion are port-stamped provenance, never editable (the Role law).
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
caption | String | no | The processing activity's display name. |
code | String | no | The machine handle — the marker swap rides the update transaction. |