skema/com.eignex.skema/JsonSpec/OneOf OneOf @Serializable@SerialName(value = "OneOf")data class OneOf(val branches: List<JsonSpec>) : JsonSpec(source)Value must match exactly one of the listed specs. MembersMembers & Extensions Constructors OneOf Link copied to clipboard constructor(branches: List<JsonSpec>) Properties branches Link copied to clipboard val branches: List<JsonSpec>Branches; exactly one must match. Functions toJsonSchema Link copied to clipboard fun JsonSpec.toJsonSchema(): JsonObjectJSON Schema fragment describing the value this primitive validates. OneOf constructor(branches: List<JsonSpec>)(source) branches val branches: List<JsonSpec>(source)Branches; exactly one must match.