@universis/dining
Version:
Universis api for dining
101 lines (100 loc) • 2.86 kB
JSON
{
"$schema": "https://themost-framework.github.io/themost/models/2018/2/schema.json",
"@id": "https://universis.io/schemas/DiningInscriptionModeTag",
"name": "DiningInscriptionModeTag",
"title": "DiningInscriptionModeTags",
"hidden": false,
"sealed": false,
"abstract": false,
"implements": "Enumeration",
"version": "1.0",
"fields": [
{
"name": "id",
"title": "Id",
"type": "Counter",
"nullable": false,
"primary": true
},
{
"name": "inscriptionModes",
"type": "InscriptionMode",
"many": true,
"mapping": {
"associationAdapter": "DiningInscriptionModeTagItems",
"parentModel": "DiningInscriptionModeTag",
"parentField": "id",
"childModel": "InscriptionMode",
"childField": "id",
"associationObjectField": "object",
"associationValueField": "value",
"cascade": "delete",
"privileges": [
{
"mask": 1,
"type": "global",
"account": "*"
},
{
"mask": 15,
"type": "global"
},
{
"mask": 15,
"type": "global",
"account": "Administrators"
},
{
"mask": 15,
"type": "global",
"account": "DiningAdministrators"
},
{
"mask": 15,
"type": "global",
"account": "Registrar"
}
]
}
}
],
"privileges": [
{
"mask": 1,
"type": "global",
"account": "*"
},
{
"mask": 15,
"type": "global"
},
{
"mask": 15,
"type": "global",
"account": "Administrators"
},
{
"mask": 15,
"type": "global",
"account": "DiningAdministrators"
}
],
"constraints": [
{
"type": "unique",
"description": "Alternate name must be unique across different records",
"fields": [
"alternateName"
]
},
{
"type": "unique",
"description": "Name must be unique across different records",
"fields": [
"name"
]
}
],
"seed": [],
"eventListeners": []
}