{
    "name": "ChatConfig",
    "description": "Chat API config",
    "base": "VnModel",
    "options": {
        "mysql": {
            "table": "chatConfig"
        }
    },
    "properties": {
        "id": {
            "id": true,
            "type": "Number",
            "description": "Identifier"
        },
        "host": {
            "type": "String"
        },
        "api": {
            "type": "String"
        },
        "user": {
            "type": "String"
        },
        "password": {
            "type": "String"
        }
    },
    "acls": [{
        "accessType": "READ",
        "principalType": "ROLE",
        "principalId": "$everyone",
        "permission": "ALLOW"
    }]
}