diff --git a/libsrc/utils/jsonschema/JsonSchemaChecker.cpp b/libsrc/utils/jsonschema/JsonSchemaChecker.cpp index 4cfa0935..da0c51d8 100644 --- a/libsrc/utils/jsonschema/JsonSchemaChecker.cpp +++ b/libsrc/utils/jsonschema/JsonSchemaChecker.cpp @@ -154,6 +154,8 @@ void JsonSchemaChecker::checkType(const Json::Value & value, const Json::Value & wrongType = !value.isNumeric(); else if (type == "integer") wrongType = !value.isIntegral(); + else if (type == "double") + wrongType = !value.isDouble(); else if (type == "boolean") wrongType = !value.isBool(); else if (type == "object")