Add the validation for default field in avro schema.