@universis/dining
Version:
Universis api for dining
87 lines (86 loc) • 2.15 kB
JSON
{
"$schema": "https://themost-framework.github.io/themost/models/2018/2/schema.json",
"@id": "https://universis.io/entities/DiningPlaceLocale",
"name": "DiningPlaceLocale",
"description": "Contains a collection of extra field required for place.",
"title": "DiningPlaceLocale",
"abstract": false,
"contains": "DiningPlace",
"hidden": true,
"sealed": false,
"version": "1.1",
"fields": [
{
"@id": "https://themost.io/schemas/id",
"name": "id",
"title": "ID",
"description": "The identifier of the item.",
"type": "Counter",
"primary": true,
"nullable": false
},
{
"@id": "https://themost.io/schemas/object",
"name": "object",
"title": "object",
"description": "The parent item.",
"type": "DiningPlace"
},
{
"@id": "http://schema.org/inLanguage",
"name": "inLanguage",
"title": "inLanguage",
"description": "The language of this item.",
"type": "Text",
"size": 5
},
{
"name": "name",
"title": "Ονομασία",
"description": "Η ονομασία του αντικειμένου",
"type": "Text",
"nullable": true,
"size": 100
},
{
"name": "description",
"title": "Περιγραφή",
"description": "Περιγραφή του τύπου εργασίας",
"type": "Text",
"nullable": true,
"size": 80
},
{
"name": "displayCode",
"title": "Display code",
"description": "The display code of the place",
"type": "Text",
"size": 15
}
],
"constraints": [
{
"type": "unique",
"fields": [
"object",
"inLanguage"
]
}
],
"privileges": [
{
"mask": 1,
"type": "global",
"account": "*"
},
{
"mask": 15,
"type": "global"
},
{
"mask": 15,
"type": "global",
"account": "Administrators"
}
]
}