diff --git a/lib/classes/ConfigSchemaHandler/index.js b/lib/classes/ConfigSchemaHandler/index.js index 09152d79b02..9a53368100d 100644 --- a/lib/classes/ConfigSchemaHandler/index.js +++ b/lib/classes/ConfigSchemaHandler/index.js @@ -91,7 +91,7 @@ class ConfigSchemaHandler { this.relaxProviderSchema(); } - const ajv = new Ajv({ allErrors: true, verbose: true }); + const ajv = new Ajv({ allErrors: true, coerceTypes: true, verbose: true }); require('ajv-keywords')(ajv, 'regexp'); // Workaround https://github.com/ajv-validator/ajv/issues/1255 normalizeSchemaObject(this.schema, this.schema);