def validate(self, protocol_version, values=None):
        """Validate child value types and values against protocol_version."""
        if values is None:
            values = self.values
        return self.get_schema(protocol_version)(values)
def validate ( self , protocol_version , values = None ) : if values is None : values = self . values return self . get_schema ( protocol_version ) ( values )
Validate child value types and values against protocol_version.