Email ID brand validation rules for resource states and logo asset requirements
Brand
EmailIdBrandIsSubmitted
| Definition | Severity | API | Sample | Mode |
|---|---|---|---|---|
Validate that the resource state of the brand is not SUBMITTED |
Example Validation Report
{
"code": "VALIDATION__EmailIdBrandIsSubmitted",
"severity": "VIOLATION",
"message": "Referenced brand '{{id}}' is 'SUBMITTED'",
"context": {
"id": "9467895078742654451"
}
}
EmailIdBrandIsRejected
| Definition | Severity | API | Sample | Mode |
|---|---|---|---|---|
Validate that the resource state of the brand is not REJECTED |
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 |
| Definition | Severity | API | Sample | Mode |
|---|---|---|---|---|
Validate that a brand asset, under the associated brand, has an intent that is PLACECARD_LOGO |
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 |
| Definition | Severity | API | Sample | Mode |
|---|---|---|---|---|
Validate that the resource state of the brand asset is not DELETED |
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 |
| Definition | Severity | API | Sample | Mode |
|---|---|---|---|---|
Validate that the resource state of the brand asset is not SUBMITTED |
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 |
| Definition | Severity | API | Sample | Mode |
|---|---|---|---|---|
Validate that the resource state of the brand asset is not REJECTED |
Example Validation Report
{
"code": "VALIDATION__EmailIdLogoBrandAssetIsRejected",
"severity": "VIOLATION",
"message": "Referenced brand's brand asset '{{id}}' with logo is 'REJECTED'",
"context": {
"id": "9467895078742654452"
}
}