There are only a few valid values, so how about using an enum or checking for valid values using another precondition?