Generates a JSON Schema JsonObject from a serializable class descriptor.
Maps a kotlinx.serialization SerialKind to a JSON Schema type string.