schema

fun schema(type: KType, map: Map<String, KType> = mapOf()): <Error class: unknown class>

Not meant to be used by the user explicitly.

This function generates the DataType schema for supported classes, including Kotlin data classes, Map, Iterable, Product, Array, and combinations of those.

It's mainly used by generateEncoder/encoder.