Jev Query
A reusable set of questions declared as properties; each property name becomes the question id.
object Triage : JevQuery() {
val urgent by noul("Does this message convey urgency?")
val department by choice<Dept>("Which team should handle this?")
}
val result = jev.ask(Triage, state = ticket)
result[Triage.department].choiceContent copied to clipboard
Questions are validated the first time questions is used, so an invalid definition fails on first use.