AlmondTill/G3N API

NewConsentPurposeInput

input type

Create-input for a from-scratch ConsentPurpose. The canned lane is copyCannedConsentPurpose — NOT this shape.

Fields

FieldTypeRequiredNotes
captionStringnoOptional: when omitted the per-type default applies — none — the CPG divergence: the caption IS the processing activity's display name, and an omitted caption refuses VALIDATION/INVALID at the boundary instead of defaulting; when supplied it must be non-blank.
codeString String!yes
consentModelString String!yesopt_in | opt_out — immutable after birth. guidance: opt_in IS the strict deny-by-default regime (all 6 canned baselines ship it).

Used by