UNPKG

@universis/candidates

Version:

Universis api server plugin for study program candidates, internship selection etc

68 lines (66 loc) 1.84 kB
{ "$schema": "https://themost-framework.github.io/themost/models/2018/2/schema.json", "@id": "https://themost.io/schemas/EnrollmentAttachmentConfiguration", "name": "EnrollmentAttachmentConfiguration", "title": "EnrollmentAttachmentConfiguration", "hidden": false, "sealed": false, "abstract": false, "inherits": "AttachmentConfiguration", "version": "1.1", "fields": [ { "name": "target", "title": "The target model", "value": "javascript:return 'StudyProgramEnrollmentEvent';" }, { "name": "object", "title": "object", "description": "The study program enrollment event.", "type": "StudyProgramEnrollmentEvent", "mapping": { "parentModel": "StudyProgramEnrollmentEvent", "childModel": "EnrollmentAttachmentConfiguration", "parentField": "identifier", "childField": "object", "cascade": "none", "associationType": "association" }, "nullable": false } ], "eventListeners": [ ], "constraints": [ { "type": "unique", "fields": [ "object", "attachmentType" ] } ], "privileges": [ { "mask": 15, "type": "global" }, { "mask": 1, "type": "global", "account": "*" }, { "mask": 15, "type": "self", "account": "Registrar", "filter": "object/organizer eq departments()" }, { "mask": 15, "type": "global", "account": "Administrators" } ] }