Extract scheme validator to base validator class