UNPKG

@universis/dining

Version:

Universis api for dining

87 lines (86 loc) 2.36 kB
{ "$schema": "https://themost-framework.github.io/themost/models/2018/2/schema.json", "@id": "https://universis.io/schemas/SpecialDiningRequestAction", "name": "SpecialDiningRequestAction", "title": "SpecialDiningRequestAction", "hidden": false, "sealed": false, "abstract": false, "inherits": "DiningRequestAction", "version": "1.3", "fields": [ { "@id": "http://schema.org/additionalType", "name": "additionalType", "readonly": true, "nullable": false, "value": "javascript:return this.model.name;" }, { "@id": "https://themost.io/schemas/code", "name": "code", "title": "Action Code", "description": "A sequence of alphanumeric characters which represents a random code associated with this this action.", "type": "Text", "value": "javascript:return this.chars(32);", "nullable": false }, { "name": "requestNumber", "type": "Text", "size": 36, "nullable": false, "value": "javascript:return this.target.code;" }, { "name": "selfSpecialCategory", "title": "Αφορά τον ίδιο", "description": "Αφορά τον ίδιο", "type": "Boolean", "nullable": true } ], "constraints": [], "privileges": [ { "mask": 15, "type": "global" }, { "mask": 15, "type": "global", "account": "Administrators" }, { "mask": 15, "type": "global", "account": "DiningAdministrators" }, { "mask": 15, "type": "self", "filter": "student/department eq departments()", "account": "DiningUsers" }, { "mask": 1, "type": "self", "filter": "owner eq me()", "account": "Students" }, { "mask": 2, "type": "self", "filter": "owner eq me() and agent eq null and actionStatus/alternateName eq 'PotentialActionStatus'", "account": "Students" }, { "mask": 4, "type": "self", "when": "owner eq me() and agent eq null and actionStatus/alternateName eq 'PotentialActionStatus'", "filter": "owner eq me() and agent eq null and (actionStatus/alternateName eq 'PotentialActionStatus' or actionStatus/alternateName eq 'ActiveActionStatus')", "account": "Students" } ], "eventListeners": [] }