Validate by settings on relation