Showcase validation rules for extended dates, resource states, scheduling conflicts, and creative requirements
Extended Dates
EndDateMustNotBeBeforePreviousEndDate
| Definition | Severity | API | Sample | Mode |
|---|---|---|---|---|
Validate that the new endDate in an extend request is not before the Showcase's current endDate |
ShowcaseExtendMustStartBetweenApprovedStartAndEndDate
| Definition | Severity | API | Sample | Mode |
|---|---|---|---|---|
Validate that the new endDate in an extend request does not exceed 30 days from the original startDate |
Resource State
ShowcaseStateDoesNotAllowUpdate
| Definition | Severity | API | Sample | Mode |
|---|---|---|---|---|
Validate that resource state is not any of the following when update is requested: DEACTIVATED, DELETED, EXPIRED, or PUBLISHEDNot any of the following when extend is requested: APPROVED, DEACTIVATED, DELETED, EXPIRED, IN_REVIEW, REJECTED or SUBMITTED |
Showcase
ShowcaseDetailsMustBePresent
| Definition | Severity | API | Sample | Mode |
|---|---|---|---|---|
Validate that showcaseDetails are present |
ShowcaseHasConflictOnScheduledTimePeriod
| Definition | Severity | API | Sample | Mode |
|---|---|---|---|---|
Validate that Showcase's scheduled startDate and endDate are not in conflict for the referenced Location |
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
| Definition | Severity | API | Sample | Mode |
|---|---|---|---|---|
Validate that Showcase resource is APPROVED, EXPIRED, IN_REVIEW, REJECTED or SUBMITTED when delete is requested |
Showcase Creative
ReferencedShowcaseCreativeMustPossessesRequiredState
| Definition | Severity | API | Sample | Mode |
|---|---|---|---|---|
| Validate that the referenced Showcase Creative possesses an expected resource state making the Showcase eligible for association with the identified Showcase Creative |
Example Validation Report
{
"code": "VALIDATION__ReferencedShowcaseCreativeMustPossessesRequiredState",
"severity": "VIOLATION",
"message": "Showcase creative's resource state must be `APPROVED`, `IN_REVIEW` or `SUBMITTED`"
}