hot fix for json checker

now shema extension with 'default' 'title' and 'description' is valid for the checker
This commit is contained in:
redPanther 2016-08-19 08:50:48 +02:00 committed by GitHub
parent d8f6f86948
commit 55cc06615b

View File

@ -108,6 +108,8 @@ void QJsonSchemaChecker::validate(const QJsonValue & value, const QJsonObject &s
; // nothing to do. value is present so always oke
else if (attribute == "id")
; // references have already been collected
else if (attribute == "title" || attribute == "description" || attribute == "default")
; // nothing to do.
else
{
// no check function defined for this attribute