justify icon indicating copy to clipboard operation
justify copied to clipboard

Query Schema

Open acet opened this issue 4 years ago • 0 comments

Hi @leadpony , Thanks very much for your efforts on this json validation library which I have found very helpful.

I am looking for a way to find the schema for each of the fields from the root level and downward.

Like in Avro where you can query a schema to get back a list of fields and their schemas, be it primitive or container types like array and object.

I was looking at quite a few of the abstractions in the library such as JsonSchemaWalker but could not figure out a way to get such info without having to parse some of the internals of the schema.

If possible could you point to some resources that would help with this?

Thanks in advance.

acet avatar Sep 15 '21 12:09 acet