|type||string||Value must be consent.|
|currentDocUri (TBD)||string||The URI of the document that this consent object is related to.|
|currentDocVersion*||float||The active version number of the consent statement. Either currentDocVersion or currentDocDate are required.|
|currentDocDate*||date||The active version date of the consent statement. Either currentDocVersion or currentDocDate are required.|
|customdata||Array of objects|
An array of custom data objects that are part of the schema for this consent statement. Each data set is comprised of a key-value pair. Both of these are strings.
|description||string||A description of this consent object.|
An object containing the supported locales for this consent statement. Each locale includes the following fields:
For a list of all supported locales, see Advanced Customizations and Localization. Note that legalStatements are not available via accounts.getAccountInfo and can only be viewed inside the Consent Vault.
|required||Boolean||This applies to the requirement of the isConsentGranted field of the Preferences object and defines whether consent is required.|
|tagsstring||Array of strings|
Additional information in the form of a list of tags that you would like to save in the consent vault for any consent collection interaction (Grant/Withdraw/Renew). Once set, this value can be viewed in the Consent Vault, or searched for in the audit log.
Defines whether the isConsentGranted field requires validation in order to be submitted. Possible values are:
Specifies whether to allow unsigned requests to write into this object. This property applies when using the accounts.setAccountInfo method, or when setting fields through the usage of a Screen-Set. The supported values are:
|minDocVersion||float||For statements that are versioned by numbers: The lowest version number that a user can consent to and still be considered to have a valid consent statement assigned to their account.|
|minDocDate||date||For statements that are versioned by dates: The earliest version date that a user can consent to and still be considered to have a valid consent statement assigned to their account.|
|refreshInterval||integer||The number of days since consent was previously given before requesting the user's re-consent.|
An array of comma-separated strings, where each string is an entitlement to which the user granted consent.
Entitlements are a sub-set of each statement, and are used to add nuance to the general consent statement.