Skip to main content

Validation rules for brand asset captions including text, title, and locale content restrictions

Text​

CaptionsTextMustNotBeEmpty​

DefinitionSeverityAPISampleMode
Validate that text is not an empty string
VIOLATION
POST_AND_PUT
S

CaptionsTextMustNotIncludeVulgarWord​

DefinitionSeverityAPISampleMode
Validate that text does not include a vulgar word
VIOLATION
POST_AND_PUT
A

Title​

CaptionsTitleMustNotBeEmpty​

DefinitionSeverityAPISampleMode
Validate that title is not an empty string
VIOLATION
POST_AND_PUT
S

Locale​

CaptionsLocaleMustNotBeEmpty​

DefinitionSeverityAPISampleMode
Validate that locale is not an empty string
VIOLATION
POST_AND_PUT
S

CaptionsLocaleMustBeValid​

DefinitionSeverityAPISampleMode
Validate that locale is valid
VIOLATION
POST_AND_PUT
Link
S

CaptionsLocaleMustBeDistinct​

DefinitionSeverityAPISampleMode
Validate that locale is distinct
VIOLATION
POST_AND_PUT
S