parseManifest

fun parseManifest(data: Any?, onEventIssue: (ChannelEventIssue) -> Unit = {}): BreakManifest

Validate already-decoded manifest data (a JSON object as a Map) and build a typed BreakManifest. Throws IllegalArgumentException with a message identical to the TS reference on any validation failure.