GeethanadhP / xml-avro

Convert XSD -> AVSC and XML -> AVRO
Apache License 2.0
36 stars 26 forks source link

Questions for substitution #9

Closed dan-choe closed 5 years ago

dan-choe commented 5 years ago

If xml/xsd has element as below:

It prints out schema like below:

{ "name" : "unadjustedDate", "type" : [ "null", { "type" : "array", "items" : "IdentifiedDate" }

I want to put "IdentifiedDate"'s schemas into "items" instead of type name only.

I have tried to customize this for 3 days, but I couldn't. Could you please share how to do it?

GeethanadhP commented 5 years ago

hey @dan-choe i think u may have missed something in there

If xml/xsd has element as below:

dan-choe commented 5 years ago

Oh!!! I just found out how to solve this issue. Thank you.