Skip to main content

Email ID brand validation rules for resource states and logo asset requirements

Brand

EmailIdBrandIsSubmitted

DefinitionSeverityAPISampleMode
Validate that the resource state of the brand is not SUBMITTED
WARNING
POST_AND_PUT
S
Example Validation Report
{
"code": "VALIDATION__EmailIdBrandIsSubmitted",
"severity": "VIOLATION",
"message": "Referenced brand '{{id}}' is 'SUBMITTED'",
"context": {
"id": "9467895078742654451"
}
}

EmailIdBrandIsRejected

DefinitionSeverityAPISampleMode
Validate that the resource state of the brand is not REJECTED
VIOLATION
POST_AND_PUT
S
Example Validation Report
{
"code": "VALIDATION__EmailIdBrandIsRejected",
"severity": "VIOLATION",
"message": "Referenced brand '{{id}}' is 'REJECTED'",
"context": {
"id": "9467895078742654451"
}
}

Brand Asset

EmailIdHasNoLogoBrandAsset

Preconditions
Email ID resource's associated brand has brand asset
DefinitionSeverityAPISampleMode
Validate that a brand asset, under the associated brand, has an intent that is PLACECARD_LOGO
WARNING
POST_AND_PUT
S
Example Validation Report
{
"code": "VALIDATION__EmailIdHasNoLogoBrandAsset",
"severity": "VIOLATION",
"message": "Email ID's referenced brand currently has no brand asset with 'PLACECARD_LOGO'"
}

EmailIdLogoBrandAssetIsDeleted

Preconditions
Email ID resource's associated brand has brand asset
DefinitionSeverityAPISampleMode
Validate that the resource state of the brand asset is not DELETED
VIOLATION
POST_AND_PUT
S
Example Validation Report
{
"code": "VALIDATION__EmailIdBrandAssetIsDeleted",
"severity": "VIOLATION",
"message": "Referenced brand asset '{{id}}' is 'DELETED'",
"context": {
"id": "9467895078742654451"
}
}

EmailIdLogoBrandAssetIsSubmitted

Preconditions
Email ID resource's associated brand has brand asset
Brand asset's intent is PLACECARD_LOGO
At least one (1) version of a brand asset has intent that is PLACECARD_LOGO and is PUBLISHED
DefinitionSeverityAPISampleMode
Validate that the resource state of the brand asset is not SUBMITTED
WARNING
POST_AND_PUT
S
Example Validation Report
{
"code": "VALIDATION__EmailIdLogoBrandAssetIsSubmitted",
"severity": "VIOLATION",
"message": "Referenced brand's brand asset '{{id}}' with logo is currently 'SUBMITTED'",
"context": {
"id": "9467895078742654452"
}
}

EmailIdLogoBrandAssetIsRejected

Preconditions
Email ID resource's associated brand has brand asset
Brand asset's intent is PLACECARD_LOGO
DefinitionSeverityAPISampleMode
Validate that the resource state of the brand asset is not REJECTED
VIOLATION
POST_AND_PUT
S
Example Validation Report
{
"code": "VALIDATION__EmailIdLogoBrandAssetIsRejected",
"severity": "VIOLATION",
"message": "Referenced brand's brand asset '{{id}}' with logo is 'REJECTED'",
"context": {
"id": "9467895078742654452"
}
}