renamed from enum to required in model classes