Validator: support 'min' and 'max' validations