@universis/candidates
Version:
Universis api server plugin for study program candidates, internship selection etc
83 lines (82 loc) • 2.46 kB
JSON
{
"$schema": "https://themost-framework.github.io/themost/models/2018/2/schema.json",
"@id": "http://schema.org/CandidateStudentUploadAction",
"name": "CandidateStudentUploadAction",
"description": "The act of uploading a collection of candidate students to import.",
"title": "CandidateStudentUploadAction",
"abstract": false,
"sealed": false,
"inherits": "UploadAction",
"version": "1.5",
"fields": [
{
"name": "totalCandidates",
"title": "Total Candidates",
"description": "The total potentially imported candidates",
"type": "Number"
},
{
"name": "totalInserted",
"title": "Total Successfully Imported Candidates",
"description": "The total successfully imported candidates",
"type": "Number"
},
{
"name": "totalFailed",
"title": "Total Failed Candidates",
"description": "The total candidates that failed to be imported",
"type": "Number"
},
{
"name": "totalSkipped",
"title": "Total Skipped Candidates (due to existance)",
"description": "The total candidates that were skipped due to previous existance",
"type": "Number"
},
{
"name": "updateForced",
"title": "Indicates if the candidates data were forcely updated",
"description": "Indicates if the candidates data were forcely updated",
"type": "Boolean",
"value": "javascript:return false;"
},
{
"name": "inscriptionYear",
"title": "Candidates Inscription Year",
"description": "The candidates inscription year (only if it is the same for all candidates)",
"type": "AcademicYear",
"expandable": true
},
{
"name": "results",
"description": "A collection of results associated with this upload action.",
"type": "CandidateStudentUploadActionResult",
"many": true,
"mapping": {
"parentModel": "CandidateStudentUploadAction",
"childModel": "CandidateStudentUploadActionResult",
"parentField": "id",
"childField": "action",
"cascade": "none",
"associationType": "association"
}
},
{
"name": "message",
"title": "message",
"description": "The error message",
"type": "Note"
}
],
"privileges": [
{
"mask": 15,
"type": "global"
},
{
"mask": 15,
"type": "global",
"account": "Administrators"
}
]
}