@classmethod
def from_dict(cls, dct):
    """
        This will return an inheriting validation
        For example, when passing `file` in the `name`, it will
        load the FileExistValidation and will validate using the internal
        logic of that validation

        """
    name = dct.get('name')
    return cls.get(name)(**dct)
