Base validator class
Base validator allows validating serialized (or deserialized) parameter values according to a
type
.
Usage: This class should not be used as it, but rather use to implement validator subclasses.
It provides the construction :meth:from_specs
to create usable basic validators.
:property type: The expected type of the value :type type: type