UNPKG

@universis/dining

Version:

Universis api for dining

79 lines (77 loc) 2.13 kB
{ "$schema": "https://themost-framework.github.io/themost/models/2018/2/schema.json", "@id": "https://themost.io/schemas/DiningRequestAttachmentConfiguration", "name": "DiningRequestAttachmentConfiguration", "title": "DiningRequestAttachmentConfiguration", "hidden": false, "sealed": false, "abstract": false, "inherits": "AttachmentConfiguration", "version": "1.8", "fields": [ { "name": "target", "title": "The target model", "value": "javascript:return 'DiningRequestEvent';" }, { "name": "object", "title": "object", "description": "The dining request event.", "type": "DiningRequestEvent", "mapping": { "parentModel": "DiningRequestEvent", "childModel": "DiningRequestAttachmentConfiguration", "parentField": "identifier", "childField": "object", "cascade": "none", "associationType": "association" }, "nullable": false }, { "name": "requiredRule", "type": "Text", "nullable": true, "size": 2048 }, { "name": "numberOfAttachmentsProperty", "type": "Text", "nullable": true } ], "eventListeners": [ ], "constraints": [ { "type": "unique", "description": "Object and attachment type must be unique across different records", "fields": [ "object", "attachmentType" ] } ], "privileges": [ { "mask": 15, "type": "global" }, { "mask": 1, "type": "global", "account": "*" }, { "mask": 15, "type": "global", "account": "Administrators" }, { "mask": 15, "type": "global", "account": "DiningAdministrators" } ] }