This wizard allows an XML schema to be converted to a JSON Schema.
The source file to be converted
The target file that will be created. If the file already exists it will be overwritten.
Determines the version of the JSON Schema standard to create
Determines how the 'additionalProperties' property on the JSON schemas is set by default.
Determines how an XSD Schema with minOccurs=0 and maxOccurs>1 is converted.
Consider the schema.
<xs:element name="Thing" minOccurs="0" maxOccurs="2"/>
When 'Treat arrays as required' is checked then the 'Thing' property is 'required', so the resulting JSON looks like this
{ "Thing" : [1, 2] }
or
{ "Thing" : [] }
When 'Treat arrays as required' is unchecked then the 'Thing' property is not 'required', so the resulting JSON looks like this
{ "Thing" : [1, 2] }
or
{ "Thing" : [] }
or
{ }