Validation rules for brand asset alt texts including locale requirements, text content, and URL restrictions
Alt Texts
AltTextsLocaleMustBeDistinct
| Definition | Severity | API | Sample | Mode |
|---|---|---|---|---|
Validate that locale is distinct |
AltTextsLocaleMustBePresent
| Preconditions |
|---|
altTexts is present |
| Definition | Severity | API | Sample | Mode |
|---|---|---|---|---|
Validate that locale is present | Link |
AltTextsLocaleMustBeValid
| Definition | Severity | API | Sample | Mode |
|---|---|---|---|---|
Validate that locale is valid | Link |
AltTextsLocaleMustNotBeEmpty
| Definition | Severity | API | Sample | Mode |
|---|---|---|---|---|
Validate that locale is not an empty string |
AltTextsTextMustBePresent
| Preconditions |
|---|
altTexts is present |
| Definition | Severity | API | Sample | Mode |
|---|---|---|---|---|
Validate that text is present | Link |
AltTextsTextMustNotBeEmpty
| Definition | Severity | API | Sample | Mode |
|---|---|---|---|---|
Validate that altTexts is not an empty string |
AltTextsTextMustNotIncludeURL
| Definition | Severity | API | Sample | Mode |
|---|---|---|---|---|
Validate that text does not include a URL | Link |
Example Validation Report
{
"code": "VALIDATION__AltTextsTextMustNotIncludeURL",
"severity": "VIOLATION",
"message": "'{{text}}' must not include a URL",
"context": {
"text": "Quo http://www.example.com/ cumque expedita rem corrupti debitis et quam soluta et minus sapiente sit cumque voluptatem."
},
"details": {
"createdDate": "2026-02-10T11:36:02.00Z",
"submitted": [
{
"field": "$.brandAssetDetails.altTexts[0].text",
"value": "Quo http://www.example.com/ cumque expedita rem corrupti debitis et quam soluta et minus sapiente sit cumque voluptatem."
}
],
"compared": [],
"expected": []
}
}
AltTextsTextMustNotIncludeVulgarWord
| Definition | Severity | API | Sample | Mode |
|---|---|---|---|---|
Validate that text does not include a vulgar word |