Pydantic validator multiple fields example. type_ is float and v < 0 .