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,
|
|
|
|
"type": "Number",
|
|
|
|
"description": "Identifier"
|
|
|
|
},
|
|
|
|
"code": {
|
|
|
|
"type": "String"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "String"
|
|
|
|
},
|
|
|
|
"isVisible": {
|
2019-03-01 06:27:29 +00:00
|
|
|
"type": "Boolean"
|
2018-07-31 09:08:22 +00:00
|
|
|
},
|
|
|
|
"hasCompany": {
|
2020-02-26 13:30:30 +00:00
|
|
|
"type": "Boolean"
|
|
|
|
},
|
|
|
|
"hasPreview": {
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|