Skip to main content

Review author validation rules for name requirements, content restrictions, and authenticity checks

Author​

AuthorMustBePresent​

Preconditions
Review type is USER
DefinitionSeverityAPISampleMode
Validate that author is present
VIOLATION
POST_AND_PUT
S
Example Validation Report
{
"code": "VALIDATION__AuthorMustBePresent",
"severity": "VIOLATION",
"message": "Field '{{field}}' must be present",
"context": {
"field": "author"
},
"details": {
"createdDate": "2026-12-01T21:00:59.865Z",
"submitted": [],
"expected": [
{
"field": "$.reviewDetails.review.author"
}
],
"compared": []
}
}

Alternate Name​

AlternateNameMustNotBeDummyCharacters​

DefinitionSeverityAPISampleMode
Validate that alternateName is not exclusively dummy characters
VIOLATION
POST_AND_PUT
Link
Example Validation Report
{
"code": "VALIDATION__AlternateNameMustNotBeDummyCharacters",
"message": "'{{field}}' value must not be dummy characters",
"severity": "VIOLATION",
"context": {
"field": "alternateName"
},
"details": {
"createdDate": "2026-09-01T21:00:59.865Z",
"submitted": [
{
"field": "$.reviewDetails.review.author.alternateName",
"value": "0"
}
],
"compared": [],
"expected": []
}
}

AlternateNameMustNotBeEmpty​

DefinitionSeverityAPISampleMode
Validate that alternateName is not an empty string
VIOLATION
POST_AND_PUT
S
Example Validation Report
{
"code": "VALIDATION__AlternateNameMustNotBeEmpty",
"severity": "VIOLATION",
"message": "'{{field}}' must not be empty string",
"context": {
"field": "alternateName"
},
"details": {
"createdDate": "2026-09-01T21:00:59.865Z",
"submitted": [],
"compared": [],
"expected": []
}
}

AlternateNameMustNotIncludeURL​

DefinitionSeverityAPISampleMode
Validate that alternateName does not include a URL
VIOLATION
POST_AND_PUT
Link
Example Validation Report
{
"code": "VALIDATION__AlternateNameMustNotIncludeURL",
"severity": "VIOLATION",
"message": "'{{field}}' value must not include URL",
"context": {
"field": "alternateName"
},
"details": {
"createdDate": "2026-06-10T11:36:02.00Z",
"submitted": [
{
"field": "$.reviewDetails.review.author.alternateName",
"value": "Bad Actor (https://www.badactor.com)"
}
],
"compared": [],
"expected": []
}
}

AlternateNameMustNotExceedMaximum​

DefinitionSeverityAPISampleMode
Validate that alternateName length does not exceed a maximum value (255)
VIOLATION
POST_AND_PUT
S

AlternateNameMustNotIncludeVulgarWord​

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

Given Name​

GivenNameMustNotBeDummyCharacters​

DefinitionSeverityAPISampleMode
Validate that givenName is not exclusively dummy characters
VIOLATION
POST_AND_PUT
Link
Example Validation Report
{
"code": "VALIDATION__GivenNameMustNotBeDummyCharacters",
"message": "'{{field}}' value must not be dummy characters",
"severity": "VIOLATION",
"context": {
"field": "givenName"
},
"details": {
"createdDate": "2026-09-01T21:00:59.865Z",
"submitted": [
{
"field": "$.reviewDetails.review.author.givenName",
"value": "0"
}
],
"compared": [],
"expected": []
}
}

GivenNameMustBePresent​

DefinitionSeverityAPISampleMode
Validate that givenName is present
VIOLATION
POST_AND_PUT
S
Example Validation Report
{
"code": "VALIDATION__GivenNameMustBePresent",
"severity": "VIOLATION",
"message": "Field '{{field}}' must be present",
"context": {
"field": "givenName"
},
"details": {
"createdDate": "2026-09-01T21:00:59.865Z",
"submitted": [],
"compared": [],
"expected": []
}
}

GivenNameMustNotBeEmpty​

DefinitionSeverityAPISampleMode
Validate that givenName is not an empty string
VIOLATION
POST_AND_PUT
S
Example Validation Report
{
"code": "VALIDATION__GivenNameMustNotBeEmpty",
"severity": "VIOLATION",
"message": "'{{field}}' must not be empty string",
"context": {
"field": "givenName"
},
"details": {
"createdDate": "2026-09-01T21:00:59.865Z",
"submitted": [],
"compared": [],
"expected": []
}
}

GivenNameMustNotIncludeURL​

DefinitionSeverityAPISampleMode
Validate that givenName does not include a URL
VIOLATION
POST_AND_PUT
Link
Example Validation Report
{
"code": "VALIDATION__GivenNameMustNotIncludeURL",
"severity": "VIOLATION",
"message": "'{{field}}' value must not include URL",
"context": {
"field": "givenName"
},
"details": {
"createdDate": "2026-06-10T11:36:02.00Z",
"submitted": [
{
"field": "$.reviewDetails.review.author.givenName",
"value": "Bad Actor (https://www.badactor.com)"
}
],
"compared": [],
"expected": []
}
}

GivenNameMustNotExceedMaximum​

DefinitionSeverityAPISampleMode
Validate that givenName length does not exceed a maximum value (255)
VIOLATION
POST_AND_PUT
S

GivenNameMustNotIncludeVulgarWord​

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

Image URL​

FilenameExtensionMustBeValid​

DefinitionSeverityAPISampleMode
Validate that filename at end of url is valid
VIOLATION
POST_AND_PUT
Link
S

ImageUrlMustPassUrlScan​

DefinitionSeverityAPISampleMode
Validate that imageUrl passes security checks
VIOLATION
POST_AND_PUT
A
{{reason}}
malformed
not parsable
includes unsupported fragment
only http or https schemes accepted
port not within expected range
hostname is neither FQDN, IP v4 nor IP v6
does not resolve to accepted IP address version (v4 or v6)
does not resolve to accepted IP address
file size exceeds maximum
failed to download
unrecognizable MIME type
unexpected content for MIME type
failed virus scan
Example Validation Report
{
"code": "VALIDATION__ImageUrlMustPassUrlScan",
"message": "URL rejected for reason: '{{reason}}'",
"severity": "VIOLATION",
"context": {
"reason": "only http or https schemes accepted"
},
"details": {
"createdDate": "2026-09-01T21:00:59.865Z",
"submitted": [
{
"field": "$.reviewDetails.review.author.imageUrl",
"value": "ftp://goodpartner.com/media/images/author_profile_pic/user_id=43767642526I/default-avatar.jpg"
}
],
"compared": [],
"expected": []
}
}

ImageUrlLengthMustNotExceedMaximum​

DefinitionSeverityAPISampleMode
Validate that imageUrl length does not exceed a maximum value (255)
VIOLATION
POST_AND_PUT
Link

ImageUrlMustNotBeEmpty​

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

ImageUrlMustNotIncludeUtmParameter​

DefinitionSeverityAPISampleMode
Validate that imageUrl does include UTM parameter(s)
VIOLATION
POST_AND_PUT
Link

ImageUrlMustHaveValidFormat​

DefinitionSeverityAPISampleMode
Validate that imageUrl has valid formatting
VIOLATION
POST_AND_PUT
Link

Last Initial​

LastInitialMustNotBeEmpty​

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

LastInitialMustNotExceedMaximum​

DefinitionSeverityAPISampleMode
Validate that lastInitial length does not exceed a maximum value (2)
VIOLATION
POST_AND_PUT
S

Unsupported Characters​

AlternateNameHasUnsupportedCharacter​

DefinitionSeverityAPISampleMode
Validate that alternateName does not include an unsupported character
VIOLATION
POST_AND_PUT
Link

GivenNameHasUnsupportedCharacter​

DefinitionSeverityAPISampleMode
Validate that givenName does not include an unsupported character
VIOLATION
POST_AND_PUT
Link

LastInitialHasUnsupportedCharacter​

DefinitionSeverityAPISampleMode
Validate that lastInitial does not include an unsupported character
VIOLATION
POST_AND_PUT
Link