Location internal nicknames validation rules for length, content restrictions, and uniqueness requirements
Internal Nicknames
CountOfInternalNicknamesMustNotExceedThreshold
| Definition | Severity | API | Sample | Mode |
|---|---|---|---|---|
| Validate that the list of internal nicknames is equal to or less than one (1) |
InternalNicknamesListMustNotIncludeNulls
| Definition | Severity | API | Sample | Mode |
|---|---|---|---|---|
| Validate that a list does not include null |
Name
| Preconditions |
|---|
internalNicknames is present |
InternalNicknamesNameMustBePresent
| Definition | Severity | API | Sample | Mode |
|---|---|---|---|---|
Validate that name is present | Link |
InternalNicknamesNameMustNotBeEmpty
| Definition | Severity | API | Sample | Mode |
|---|---|---|---|---|
Validate that name is not an empty string |
InternalNicknamesMustNotBeEmptyArray
| Definition | Severity | API | Sample | Mode |
|---|---|---|---|---|
Validate that internalNicknames is not an empty array |
Example Validation Report
{
"code": "VALIDATION__InternalNicknamesMustNotBeEmptyArray",
"message": "'{{field}}' must be omitted or contain at least one element; empty arrays are not allowed.",
"severity": "VIOLATION",
"context": {
"field": "internalNicknames"
},
"details": {
"compared": [],
"expected": [],
"submitted": [
{
"field": "$.locationDetails.internalNicknames",
"value": "[]"
}
],
"createdDate": "2026-03-03T13:58:43.946Z"
}
}
InternalNicknamesNameMustNotExceedMaximum
| Definition | Severity | API | Sample | Mode |
|---|---|---|---|---|
Validate that name length does not exceed a maximum value (255) |
InternalNicknamesNameMustNotIncludeURL
| Definition | Severity | API | Sample | Mode |
|---|---|---|---|---|
Validate that name does not include a URL | Link |
InternalNicknamesNameHasUnsupportedCharacter
| Definition | Severity | API | Sample | Mode |
|---|---|---|---|---|
Validate that name does not include an unsupported character | Link |
Locale
| Preconditions |
|---|
internalNicknames is present |
InternalNicknamesLocaleMustBePresent
| Definition | Severity | API | Sample | Mode |
|---|---|---|---|---|
Validate that locale is present | Link |
InternalNicknamesLocaleMustBeValid
| Definition | Severity | API | Sample | Mode |
|---|---|---|---|---|
Validate that locale is valid | Link |
InternalNicknamesLocaleMustNotBeEmpty
| Definition | Severity | API | Sample | Mode |
|---|---|---|---|---|
Validate that locale is not an empty string |