Type Definitions
Assessment
The assessment object for a specific request item
Properties:
Name | Type | Description |
---|---|---|
purposeId |
string |
The purpose or EULA ID representing the privacy purpose or EULA configured on Verify. |
accessTypeId |
string |
The access type ID representing one of the available access types on Verify. This is one of the access types configured for the purpose and optionally the attribute. |
attributeId |
string |
The attribute ID on Verify. This is one of the attributes for the purpose. |
attributeValue |
string |
The attribute value provided in the request. |
result |
Array.<AssessmentDecision> |
The assessment decision objects. This
might contain more than one object if the request does not include a
specific attribute. In this case, the result contains the corresponding
|
- Source:
AssessmentDecision
The assessment decision object for a specific request item
Properties:
Name | Type | Description |
---|---|---|
attributeId |
string |
The attribute identifier is only included if the request doesn't specify an attribute to be assessed. |
approved |
boolean |
Indicates if the request has been approved |
requiresConsent |
boolean |
Indicates if user consent is required. This does not imply that an existing consent is positive if this value is set to false. |
reason |
VerifyError |
If "approved" is false, the details of the denial |
- Source:
Consent
The consent record
Properties:
Name | Type | Description |
---|---|---|
purposeId |
string |
The purpose or EULA ID representing the privacy purpose or EULA configured on Verify. |
accessTypeId |
string |
The access type ID representing one of the available access types on Verify. This is one of the access types configured for the purpose and optionally the attribute. |
attributeId |
string |
The attribute ID on Verify. This is one of the attributes for the purpose. |
attributeValue |
string |
The attribute value for the attribute. This is typically used when the user has more than one value for the attribute and is consenting to a specific value. |
startTime |
number |
The time since Epoch (in seconds) that indicates when the consent becomes active. |
endTime |
number |
The time since Epoch (in seconds) that indicates when the consent elapses. |
isGlobal |
boolean |
Indicates if the consent applies to all applications |
status |
number |
This is the status of the consent and can be
one of -
|
state |
ConsentTypesEnum |
This is the consent type provided by the user |
geoIP |
string |
This is the IP address where the user consents |
customAttributes |
Array |
This is a list of optional attributes.
Object type within the array is
|
- Source:
ConsentDisplayTypesEnum
Enumeration of different possible consent display types
Properties:
Name | Type | Description |
---|---|---|
DO_NOT_SHOW |
number |
No consent needs to be collected or recorded and do not show the user the request. |
TRANSPARENT |
number |
User is shown the consent record but cannot
choose to deny. Set |
OPTIN_OR_OUT |
number |
User has to opt-in or opt-out. If the user
approves of the consent request, use |
ALLOW_OR_DENY |
number |
User has to allow or deny. If the user
approves of the consent request, use |
- Source:
ConsentOpResult
The consent operation result
Properties:
Name | Type | Description |
---|---|---|
result |
string |
The result of the operation can be
|
value |
ConsentOpResultValue |
The consent storage request record |
error |
string |
The error if the result is |
- Source:
ConsentOpResultValue
The consent operation result
Properties:
Name | Type | Description |
---|---|---|
id |
string |
The consent record identifier |
purposeId |
string |
The purpose or EULA ID representing the privacy purpose or EULA configured on Verify. |
accessTypeId |
string |
The access type ID representing one of the available access types on Verify. This is one of the access types configured for the purpose and optionally the attribute. |
attributeId |
string |
The attribute ID on Verify. This is one of the attributes for the purpose. |
attributeValue |
string |
The attribute value for the attribute. This is typically used when the user has more than one value for the attribute and is consenting to a specific value. |
state |
ConsentTypesEnum |
This is the consent type provided by the user. |
- Source:
ConsentTypesEnum
Enumeration of different possible consent types
Properties:
Name | Type | Description |
---|---|---|
ALLOW |
number |
Usual consent that is not governed by any
regulation. This is the consent type expected if the user chose to
approve the request and the consent display type returned by
|
DENY |
number |
Usual consent that is not governed by any regulation.
This is the consent type expected if the user chose to not approve the
request and the consent display type returned by
|
OPTIN |
number |
Opt-in required based on the assessment.
This is the consent type expected if the user chose to
approve the request and the consent display type returned by
|
OPTOUT |
number |
Opt-out required based on the assessment. This is
the consent type expected if the user chose to not approve the request
and the consent display type returned by
|
TRANSPARENT |
number |
User opted to implicitly consent. This is the
consent type expected when the consent display type returned by
|
- Source:
Metadata
The consent metadata object that contains records based on the request
Properties:
Name | Type | Description |
---|---|---|
eula |
Array.<MetadataRecord> |
The metadata records related to the EULA category |
default |
Array.<MetadataRecord> |
The metadata records related to the default purpose-aware attribute category |
- Source:
MetadataRecord
The consent metadata record
Properties:
Name | Type | Description |
---|---|---|
purposeId |
string |
The purpose or EULA ID representing the privacy purpose or EULA configured on Verify. |
purposeName |
string |
The purpose or EULA name |
accessTypeId |
string |
The access type ID representing one of the available access types on Verify. This is one of the access types configured for the purpose and optionally the attribute. |
accessType |
string |
The access type name |
attributeId |
string |
The attribute ID on Verify. This is one of the attributes for the purpose. |
attributeName |
string |
The attribute name |
attributeValue |
string |
The attribute value in the consent record. |
defaultConsentDuration |
number |
The default duration configured for the user consent. This applies if no explicit start and end time is provided. |
assentUIDefault |
boolean |
Indicates if the consent prompt should default the selection to "accepted" |
consentType |
ConsentDisplayTypesEnum |
Indicates the type of consent
that needs to be collected and stored. If the value is
|
termsOfUseRef |
string |
The terms of use if this record references a EULA. |
status |
string |
The current status of consent. This can be one of -
|
consent |
Consent |
The user consent record that may or may not be active. |
- Source:
VerifyError
The standard error response type
Properties:
Name | Type | Description |
---|---|---|
messageId |
string |
Error code |
messageDescription |
string |
Localized description of the error |
- Source:
WrappedAssessment
The assessment response object
Properties:
Name | Type | Description |
---|---|---|
status |
string |
The overall assessment status is computed based on
the contents of the assessment.
|
assessment |
Array.<Assessment> |
The assessment details for each requested item |
error |
VerifyError |
The error details if the status is "error" |
- Source:
WrappedGetUserConsents
The response object for getUserConsents
Properties:
Name | Type | Description |
---|---|---|
status |
string |
The overall status is computed based on whether
the data was received or not.
|
consents |
Array.<Consent> |
The list of consents |
error |
VerifyError |
The error details if the status is "error" |
- Source:
WrappedMetadata
The consent metadata response object
Properties:
Name | Type | Description |
---|---|---|
status |
string |
The overall metadata status is computed based
on whether the data was received or not.
|
metadata |
Metadata |
The metadata for rendering a consent page |
error |
VerifyError |
The error details if the status is "error" |
- Source:
WrappedStoreUserConsents
The response object for storeUserConsents
Properties:
Name | Type | Description |
---|---|---|
status |
string |
The overall status is computed based on whether
the data was received or not.
|
results |
Array.<ConsentOpResult> |
The results of consent operation.
This should be consulted when the status is |
error |
VerifyError |
The error details if the status is "error" |
- Source: