andrewbober / xsd2jsonschema

A pure JavaScript library for translating complex XML Schemas into JSON Schemas.
https://www.xsd2jsonschema.org
Apache License 2.0
47 stars 25 forks source link

Various errors when converting xsd #26

Open bartbutenaers opened 3 years ago

bartbutenaers commented 3 years ago

Hi Andrew,

I have tried to convert onvif.xsd to a json schema, but cannot get it done...
I assume the xsd is correct, because Onvif is an international protocol to communicate with IP camera's.

Your package is very easy to use, so I think this is the correct way to do it:

image

Hopefully you can give me tips about what I am doing wrong...

Thanks in advance!!! Bart Butenaers