min and max properties validation