enum field should have array type values in schemas