@OneOf(GR_) says a field holds one of the constants whose names start GR_; @OneOf(GR_GOLD, GR_SILVER) one of those (each must exist); on a string field, @OneOf("box", "hull") one of those words, and every registry row is checked against them.