com.eignex.skema/JsonSpec/IfThenElse IfThenElse @Serializable@SerialName(value = "IfThenElse")data class IfThenElse(val condition: JsonSpec, val then: JsonSpec? = null, val otherwise: JsonSpec? = null) : JsonSpec(source)Conditional schema. If condition matches, then applies; otherwise otherwise applies. Either branch may be omitted. Constructors IfThenElse constructor(condition: JsonSpec, then: JsonSpec? = null, otherwise: JsonSpec? = null)(source) Properties condition val condition: JsonSpec(source)The condition spec. otherwise val otherwise: JsonSpec?(source)Applied when condition does not match. then val then: JsonSpec?(source)Applied when condition matches. On this pageConstructorsIfThenElsePropertiesconditionotherwisethen