allowed null value in String type when required is false