Skip to content

schlothauer-wauer/xsd2jsonSchema

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xsd2jsonSchema

A simple Groovy based program to do convert XSD definitions to JSON schema.

This tool is in a terrible early state, but for me it works :D

Requirements

  • Java 8
  • Gradle v4.*
  • xjc in JAVA_HOME/bin or in search path

Handle with gradle

Using with gradle

# do a complete release to configured maven repository
gradle publish

# builds a release with all dependencies
# release is built in PROJECT_DIR/build/release
# before a release is build the tests are executed - skip not possible
gradle buildRelease

# run program without any arguments from project
gradle myRun

Usage of the release

After you built a release with gradle or you download a release bundle you can start the program with the contained start script. If you start it with the help option you get a full description of the possible parameters

# or a similar path
cd build/release
# start program in bash environment
./xsd2jsonSchema.sh -x PATH_TO_XSD_FILE -o PATH_TO_OUTPUT_FILE -e ENTRY_TYPE_FOR_SERIALIZATION

# show help in bash environment
./xsd2jsonSchema.sh --help

About

tool that converts xsd schemas to json schemas

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •