26 lines
622 B
JSON
26 lines
622 B
JSON
{
|
|
"title": "Vacation Request Form",
|
|
"description": "Please provide information about your vacation",
|
|
"type": "object",
|
|
"required": [
|
|
"start_date", "end_date"
|
|
],
|
|
"properties": {
|
|
"description": {
|
|
"type": "string",
|
|
"title": "Explination"
|
|
},
|
|
"start_date": {
|
|
"type": "string",
|
|
"format": "date",
|
|
"title": "Start Date",
|
|
"validationErrorMessage": "Date must be today's date or later"
|
|
},
|
|
"end_date": {
|
|
"type": "string",
|
|
"format": "date",
|
|
"title": "End Date",
|
|
"validationErrorMessage": "Date must be today's date or later"
|
|
}
|
|
}
|
|
} |