UNPKG

@universis/dining

Version:

Universis api for dining

58 lines (57 loc) 1.34 kB
{ "$schema": "https://themost-framework.github.io/themost/models/2018/2/schema.json", "@id": "https://themost.io/schemas/DiningRequestActionMessage", "name": "DiningRequestActionMessage", "description": "Message that are being sent between users for a dining action", "title": "DiningRequestActionMessages", "abstract": false, "sealed": false, "hidden": false, "inherits": "StudentMessage", "version": "1.1", "fields": [ { "name": "action", "title": "Action", "description": "The action associated with this message.", "type": "DiningRequestAction", "nullable": false } ], "eventListeners": [ ], "privileges": [ { "mask": 15, "type": "global" }, { "mask": 15, "type": "global", "account": "Administrators" }, { "mask": 15, "type": "global", "account": "DiningAdministrators" }, { "mask": 15, "type": "self", "filter": "action/student/department eq departments()", "account": "DiningUsers" }, { "mask": 1, "type": "self", "filter": "sender eq me() or recipient eq me()", "account": "Students" }, { "mask": 2, "type": "self", "filter": "sender eq me() and action/owner eq me()", "account": "Students" } ] }