Some enhancement thoughts while developing a Java client library for working with INFER output.
- Could the $schema attribute in the elements of the infr array structure returned include json schema draft version? i.e.
“$schema” : “http://json-schema.org/draft-06/schema”
Right nowINFER output only contains:
which fails JSON object -> JSON Schema tools. It would help with tasks like JSON doc validation.
Document which json schema draft(s) is supported by INFER output.
A List bucket.infer(inferParams) method would save some INFER JSON code parsing annoyance.
I know I’m in a corner case, and most uses want to go from Java Class->JSON Schema rather than the reverse!