NewConsentPurposeInput
input type
Create-input for a from-scratch ConsentPurpose. The canned lane is copyCannedConsentPurpose — NOT this shape.
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
caption | String | no | Optional: 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. |
code | String String! | yes | |
consentModel | String String! | yes | opt_in | opt_out — immutable after birth. guidance: opt_in IS the strict deny-by-default regime (all 6 canned baselines ship it). |