Issue #3425980 by joachim, codebymikey, heddn: weight property should be declared as an int in config schema