@universis/dining
Version:
Universis api for dining
44 lines (43 loc) • 941 B
JSON
{
"$schema": "https://themost-framework.github.io/themost/models/2018/2/schema.json",
"@id": "http://schema.org/CancelDiningCardAction",
"name": "CancelDiningCardAction",
"title": "CancelDiningCardAction",
"abstract": false,
"sealed": false,
"inherits": "Action",
"version": "1.0",
"fields": [
{
"@id": "http://schema.org/diningCard",
"name": "diningCard",
"type": "StudentDiningCard"
}
],
"privileges": [
{
"mask": 15,
"type": "global"
},
{
"mask": 15,
"type": "global",
"account": "Administrators"
},
{
"mask": 15,
"type": "global",
"account": "DiningAdministrators"
},
{
"mask": 15,
"type": "self",
"filter": "diningCard/student/department eq departments()",
"account": "DiningUsers"
}
],
"eventListeners": [{
"type": "@themost/data/previous-state-listener"
}
]
}