AlmondTill/G3N API

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

FieldTypeRequiredNotes
captionStringnoThe processing activity's display name.
codeStringnoThe machine handle — the marker swap rides the update transaction.

Used by