Skip to main content

Showcase end date validation rules for format, presence, duration limits, and time components

End Date​

DurationMustNotExceedMaximum​

DefinitionSeverityAPISampleMode
Validate that Showcase's duration does not exceed maximum permitted quantity of days (365)
VIOLATION
POST_AND_PUT
Link
S

EndDateMustHaveValidFormat​

DefinitionSeverityAPISampleMode
Validate that endDate formatting is valid
VIOLATION
POST_AND_PUT
S

EndDateMustBePresent​

DefinitionSeverityAPISampleMode
Validate that endDate is present
VIOLATION
POST_AND_PUT
Link
S

EndDateMustNotBeBeforeStartDate​

DefinitionSeverityAPISampleMode
Validate that Showcase's endDate is not before startDate
VIOLATION
POST_AND_PUT
Link
S

EndDateMustNotBeEmpty​

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

EndDateTimeComponentMustBeZero​

DefinitionSeverityAPISampleMode
Validate that the time component is T00:00:00.000, T00:00:00 or T00:00
VIOLATION
POST_AND_PUT
S
Example Validation Report
{
"code": "VALIDATION__EndDateTimeComponentMustBeZero",
"severity": "VIOLATION",
"message": "Time component in '{{endDate}}' must be zero (T00:00:00.000, T00:00:00 or T00:00) with UTC (Z) or timezone offset",
"context": {
"value": "2026-05-10T23:59:59.00Z"
},
"details": {
"createdDate": "2026-02-10T11:36:02.00Z",
"submitted": [
{
"field": "$.showcaseDetailsDetails.endDate",
"value": "2026-05-10T23:59:59.00Z"
}
],
"compared": [],
"expected": []
}
}