code: function getCheckInfo(checkProperty, fieldName) {
  	let severity;
  	let value;
  	if (typeof checkProperty[fieldName] === 'object') {
  		severity = checkProperty[fieldName].severity;
  		value = checkProperty[fieldName].val;
  	} else {
  		severity = checkProperty.severity;
  		value = checkProperty[fieldName];
  	}
  
  	return {
  		val: value,
  		severity: severity
  	};
  }
docs: Extracts the type value and the severity of a given check name from the checkProperty
  @param checkProperty The checkProperty as defined in the schema
  @param fieldName The name of the field in the checkProperty
  @return infoObject An object containing the boolean value and the severity