#include <kvstore.h> kv_error_t kv_avro_get_schema(kv_value_t *value, avro_schema_t *schema);
Returns the schema used by the value returned from the store. You
must call avro_schema_decref()
on the returned
schema when done.
In Avro terminology, the retrieved schema is the writer schema used to serialize the value prior to writing it to the store.