From 2d5de9c1f4093d81a99c34b5e59a8efa0af0107e Mon Sep 17 00:00:00 2001 From: Goi Jia Jian Date: Wed, 14 Oct 2020 16:34:42 +0800 Subject: [PATCH] feat: GovTech internship cert schema --- public/sg/gov/tech/internship/1.0/schema.json | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 public/sg/gov/tech/internship/1.0/schema.json diff --git a/public/sg/gov/tech/internship/1.0/schema.json b/public/sg/gov/tech/internship/1.0/schema.json new file mode 100644 index 0000000..ba44427 --- /dev/null +++ b/public/sg/gov/tech/internship/1.0/schema.json @@ -0,0 +1,55 @@ +{ + "$id": "internship/v1.0", + "$schema": "http://json-schema.org/draft-07/schema#", + "type": "object", + "properties": { + "recipient": { + "type": "object", + "required": [ + "firstName", + "lastName" + ], + "properties": { + "firstName": { + "title": "First Name", + "type": "string" + }, + "lastName": { + "title": "Last Name", + "type": "string" + } + } + }, + "programme": { + "title": "Internship Programme", + "type": "object", + "properties": { + "startDate": { + "title": "Start Date", + "type": "string" + }, + "endDate": { + "title": "End Date", + "type": "string" + } + } + }, + "recommendations": { + "type": "array", + "title": "Recommendations", + "items": { + "type": "object", + "properties": { + "recommendation": { + "title": "Recommendation", + "type": "string" + }, + "name": { + "title": "Name", + "type": "string" + } + } + } + } + } +} \ No newline at end of file