Returns the validator function which can be used to verify serialized data
Should return the schema for validation, returns the base schema by default (must be extended)
Returns the validator function which can be used to verify serialized data