From db33b91ee2b9e0e23e1274e81511a63d121b3002 Mon Sep 17 00:00:00 2001 From: sartography-automated-committer Date: Mon, 4 Mar 2024 07:14:06 +0000 Subject: [PATCH] User: admin@spiffworkflow.org added process model file examples/testing1/vacation-request-schema.json --- .../testing1/vacation-request-schema.json | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 examples/testing1/vacation-request-schema.json diff --git a/examples/testing1/vacation-request-schema.json b/examples/testing1/vacation-request-schema.json new file mode 100644 index 00000000..cfb114d5 --- /dev/null +++ b/examples/testing1/vacation-request-schema.json @@ -0,0 +1,26 @@ +{ + "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" + } + } +} \ No newline at end of file