2018-07-25 18:47:07 +00:00
|
|
|
{
|
2018-07-27 09:18:27 +00:00
|
|
|
"name": "Sample",
|
2018-07-25 18:47:07 +00:00
|
|
|
"base": "VnModel",
|
|
|
|
"options": {
|
2019-03-01 06:27:29 +00:00
|
|
|
"mysql": {
|
|
|
|
"table": "sample"
|
|
|
|
}
|
2018-07-25 18:47:07 +00:00
|
|
|
},
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"id": true,
|
2021-07-20 07:09:46 +00:00
|
|
|
"type": "number",
|
2018-07-25 18:47:07 +00:00
|
|
|
"description": "Identifier"
|
|
|
|
},
|
|
|
|
"code": {
|
2021-07-20 07:09:46 +00:00
|
|
|
"type": "string"
|
2018-07-25 18:47:07 +00:00
|
|
|
},
|
|
|
|
"description": {
|
2021-07-20 07:09:46 +00:00
|
|
|
"type": "string"
|
2018-07-25 18:47:07 +00:00
|
|
|
},
|
|
|
|
"isVisible": {
|
2021-07-20 07:09:46 +00:00
|
|
|
"type": "boolean"
|
2018-07-31 09:08:22 +00:00
|
|
|
},
|
|
|
|
"hasCompany": {
|
2021-07-20 07:09:46 +00:00
|
|
|
"type": "boolean"
|
2020-02-26 13:30:30 +00:00
|
|
|
},
|
|
|
|
"hasPreview": {
|
2021-07-20 07:09:46 +00:00
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"datepickerEnabled": {
|
|
|
|
"type": "boolean"
|
2018-07-25 18:47:07 +00:00
|
|
|
}
|
|
|
|
},
|
2019-03-01 06:27:29 +00:00
|
|
|
"scopes": {
|
|
|
|
"visible": {
|
|
|
|
"where": {"isVisible": true}
|
|
|
|
}
|
2018-07-31 09:08:22 +00:00
|
|
|
},
|
2018-07-25 18:47:07 +00:00
|
|
|
"acls": [
|
|
|
|
{
|
|
|
|
"accessType": "READ",
|
|
|
|
"principalType": "ROLE",
|
|
|
|
"principalId": "$everyone",
|
|
|
|
"permission": "ALLOW"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|