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