Skip to main content

Showcase validation rules for extended dates, resource states, scheduling conflicts, and creative requirements

Extended Dates

EndDateMustNotBeBeforePreviousEndDate

DefinitionSeverityAPISampleMode
Validate that the new endDate in an extend request is not before the Showcase's current endDate
VIOLATION
POST_AND_PUT
S

ShowcaseExtendMustStartBetweenApprovedStartAndEndDate

DefinitionSeverityAPISampleMode
Validate that the new endDate in an extend request does not exceed 30 days from the original startDate
VIOLATION
POST_AND_PUT
S

Resource State

ShowcaseStateDoesNotAllowUpdate

DefinitionSeverityAPISampleMode
Validate that resource state is not any of the following when update is requested: DEACTIVATED, DELETED, EXPIRED, or PUBLISHED

Not any of the following when extend is requested: APPROVED, DEACTIVATED, DELETED, EXPIRED, IN_REVIEW, REJECTED or SUBMITTED
VIOLATION
POST_AND_PUT
S

Showcase

ShowcaseDetailsMustBePresent

DefinitionSeverityAPISampleMode
Validate that showcaseDetails are present
VIOLATION
POST_AND_PUT
S

ShowcaseHasConflictOnScheduledTimePeriod

DefinitionSeverityAPISampleMode
Validate that Showcase's scheduled startDate and endDate are not in conflict for the referenced Location
VIOLATION
POST_AND_PUT
S
Example Validation Report
{
"code": "VALIDATION__ShowcaseHasConflictOnScheduledTimePeriod",
"severity": "VIOLATION",
"message": "Showcase has conflict with schedule startDate and endDate for given location",
"details": {
"createdDate": "2026-04-30T18:11:48.151Z",
"submitted": [
{
"field": "$.showcaseDetails.startDate",
"value": "2026-05-14T00:00:00-04:00"
},
{
"field": "$.showcaseDetails.endDate",
"value": "2026-05-20T00:00:00-04:00"
},
{
"field": "$.showcaseDetails.resourceDetails.id",
"value": "1554044491242931734"
}
],
"compared": [
{
"field": "$.showcaseDetails.startDate",
"value": "2026-05-10T04:00:00Z"
},
{
"field": "$.showcaseDetails.endDate",
"value": "2026-05-15T04:00:00Z"
}
],
"expected": []
}
}

ShowcaseMustHaveValidStateForDeletion

DefinitionSeverityAPISampleMode
Validate that Showcase resource is APPROVED, EXPIRED, IN_REVIEW, REJECTED or SUBMITTED when delete is requested
VIOLATION
POST_AND_PUT
S

Showcase Creative

ReferencedShowcaseCreativeMustPossessesRequiredState

DefinitionSeverityAPISampleMode
Validate that the referenced Showcase Creative possesses an expected resource state making the Showcase eligible for association with the identified Showcase Creative
VIOLATION
POST_AND_PUT
S
Example Validation Report
{
"code": "VALIDATION__ReferencedShowcaseCreativeMustPossessesRequiredState",
"severity": "VIOLATION",
"message": "Showcase creative's resource state must be `APPROVED`, `IN_REVIEW` or `SUBMITTED`"
}