I am writing Java Avro Producer code for my project. I have registered an Avro schema for all the fields which need to be passed. My Registered Schema- { “name”: “Claim”, “type”: “record”, “namespace”: “com.schema.avro”, “fieldsR…
Tag: schema
Parse array JSON Schema with Jackson
I have a JSON Schema defined : It’ll always be a schema which contains firstly items and then it’ll contain properties. In properties can be more arrays or objects found so I want to do that recursively. What i’m trying to achieve is a Map<String, Object> which directly represents the …
xjc: Two declarations cause a collision in the ObjectFactory class
Running the following xjc command raises an error : Although I understand the JAXB bindings and what are is conflict in XJC, I don’t understand where is the conflict in the current schema. how should I fix this ? Thanks, Pierre update: here is the context of the errors: Answer I’ll quote from the …