Altova RaptorXML Server 2025

The jsonschema2xsd command converts a JSON Schema document to an XML Schema document that conforms with the rules of the W3C XSD 1.0 and 1.1 specifications.

 

raptorxml jsonschema2xsd [options] JSONSchemaFile

 

The JSONSchemaFile argument is the JSON Schema file to convert.

Use the --schema-conversion-output option to specify the location of the generated XSD file.

 

Example

Example of the jsonschema2xsd command:

 

raptorxml jsonschema2xsd --schema-conversion-output=c:\MyXMLSchema.xsd c:\MyJSONSchema.json

 

 

Options

Options are listed in short form (if available) and long form. You can use one or two dashes for both short and long forms. An option may or may not take a value. If it takes a value, it is written like this: --option=value. Values can be specified without quotes except in two cases: (i) when the value string contains spaces, or (ii) when explicitly stated in the description of the option that quotes are required. If an option takes a Boolean value and no value is specified, then the option's default value is TRUE. Use the --h, --help option to display information about the command.

 

 

 

© 2018-2024 Altova GmbH