Changed config validation to use the schema property instead of the validator