function validateAll(mergedSchema, properties, customValidationFn) {
	const results = {};
	mergedSchema
		.filter(schema => shouldValidate(schema.condition, properties, schema.key))
		.forEach(schema => {
			const value = getValue(properties, schema);
			// deep validation
			const subResults = validateSingle(schema, value, properties, customValidationFn, true);
			Object.assign(results, subResults);
		});
	return results;
}
/**
 * Validate all values in the schema.
 * @param mergedSchema The merged schema array
 * @param properties The values
 * @param customValidationFn A custom validation function
 * that is applied on schema.customValidation = true
 * @returns {object} The validation result by field.
 */
Validate all values in the schema.
@param mergedSchema The merged schema array
@param properties The values
@param customValidationFn A custom validation function
that is applied on schema.customValidation = true
@returns {object} The validation result by field.
Validate all values in the schema . @param mergedSchema The merged schema array @param properties The values @param customValidationFn A custom validation function that is applied on schema . customValidation = true @returns { object } The validation result by field .
function validateAll(mergedSchema, properties, customValidationFn) {
	const results = {};
	mergedSchema
		.filter(schema => shouldValidate(schema.condition, properties, schema.key))
		.forEach(schema => {
			const value = getValue(properties, schema);
			const subResults = validateSingle(schema, value, properties, customValidationFn, true);
			Object.assign(results, subResults);
		});
	return results;
}
function validateAll ( mergedSchema , properties , customValidationFn ) { const results = { } ; mergedSchema . filter ( schema => shouldValidate ( schema . condition , properties , schema . key ) ) . forEach ( schema => { const value = getValue ( properties , schema ) ; const subResults = validateSingle ( schema , value , properties , customValidationFn , true ) ; Object . assign ( results , subResults ) ; } ) ; return results ; }
Validate all values in the schema.
Validate all values in the schema .
// deep validation