more QuerySpec classes to implement Validation