UNPKG

@universis/candidates

Version:

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

95 lines (94 loc) 2.31 kB
{ "$schema": "https://themost-framework.github.io/themost/models/2018/2/schema.json", "@id": "https://universis.io/schemas/CandidateSource", "name": "CandidateSource", "type": "lookup", "title": "CandidateSource", "hidden": false, "sealed": false, "abstract": false, "implements": "Enumeration", "classPath": "./models/CandidateSource", "version": "1.2", "fields": [ { "name": "id", "title": "Id", "type": "Counter", "nullable": false, "primary": true }, { "name": "sourceURL", "title": "Source URL", "description": "The url of the source for the candidates data", "type": "URL" }, { "name": "schemaURL", "title": "Schema URL", "description": "The url of the schema attachment related to this source", "type": "Text" }, { "name": "keychainIdentifier", "title": "Keychain Identifier", "description": "The name of the keychain related to this source (configured in settings)", "type": "Text" }, { "name": "externalSource", "title": "External Source", "description": "Indicates whether the data source is external (e.g. a sourceURL must exist)", "type": "Boolean", "nullable": false, "value": "javascript:return false;" }, { "@id": "https://themost.io/schemas/attachments", "name": "attachments", "type": "Attachment", "mapping": { "cascade": "delete", "associationType": "junction", "associationObjectField": "action", "associationValueField": "attachment", "associationAdapter": "CandidateSourceAttachments", "privileges": [ { "mask": 15, "type": "global", "account": "Administrators" } ] } } ], "privileges": [ { "mask": 1, "type": "global", "account": "*" }, { "mask": 15, "type": "global" }, { "mask": 15, "type": "global", "account": "Administrators" } ], "constraints": [ { "type": "unique", "description": "Name must be unique across different records", "fields": [ "name" ] } ], "seed": [], "eventListeners": [] }