UNPKG

@universis/dining

Version:

Universis api for dining

70 lines (69 loc) 1.54 kB
{ "$schema": "https://themost-framework.github.io/themost/models/2018/2/schema.json", "@id": "http://schema.org/DiningPlace", "name": "DiningPlace", "title": "DiningPlace", "abstract": false, "sealed": false, "implements": "Place", "version": "1.1", "fields": [ { "name": "departments", "title": "Departments", "description": "A collection of related departments.", "type": "Department", "mapping": { "associationAdapter": "DiningPlaceDepartments", "parentModel": "Department", "parentField": "id", "childModel": "DiningPlace", "childField": "id", "associationType": "junction", "privileges": [ { "mask": 1, "type": "global", "account": "Students" }, { "mask": 15, "type": "global", "account": "Administrators" }, { "mask": 15, "type": "global", "account": "DiningAdministrators" }, { "mask": 1, "type": "global", "account": "DiningUsers" } ] } } ], "privileges": [ { "mask": 15, "type": "global" }, { "mask": 1, "type": "global", "account": "*" }, { "mask": 15, "type": "global", "account": "Administrators" }, { "mask": 15, "type": "global", "account": "DiningAdministrators" } ] }