{
    "name": "Chat",
    "base": "VnModel",
    "options": {
        "mysql": {
            "table": "chat"
        }
    },
    "properties": {
        "id": {
            "id": true,
            "type": "number",
            "description": "Identifier"
        },
        "senderFk": {
            "type": "number"
        },
        "recipient": {
            "type": "string"
        },
        "dated": {
            "type": "date"
        },
        "checkUserStatus": {
            "type": "boolean"
        },
        "message": {
            "type": "string"
        },
        "status": {
            "type": "string"
        },
        "attempts": {
            "type": "number"
        },
        "error": {
            "type": "string"
        }
    },
    "acls": [{
        "property": "validations",
        "accessType": "EXECUTE",
        "principalType": "ROLE",
        "principalId": "$everyone",
        "permission": "ALLOW"
	}]
}