--- id: annot-oneof name: @OneOf category: annotations kind: annotation tokens: @OneOf sig: @OneOf(PREFIX_) / @OneOf(A, B) / @OneOf("word", ...) tip: The field holds one of these constants or words. order: 64 --- @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.