# jsonix-schema-compiler **Repository Path**: mirrors_tmm1/jsonix-schema-compiler ## Basic Information - **Project Name**: jsonix-schema-compiler - **Description**: Compiles XML Schemas into XML<->JSON mappings for Jsonix. - **Primary Language**: Unknown - **License**: BSD-2-Clause - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-04-24 - **Last Updated**: 2026-03-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Jsonix Schema Compiler # Generates [Jsonix](https://github.com/highsource/jsonix) mappings for XML Schemas. Please refer to [Wiki](https://github.com/highsource/jsonix-schema-compiler/wiki) for documentation. ## Using in command-line Download `jsonix-schema-compiler-full-.jar` from [releases](https://github.com/highsource/jsonix-schema-compiler/releases) and run it with `java -jar` from the command line: ``` java -jar jsonix-schema-compiler-full-.jar [-compact -logLevel TRACE] schema.xsd [-b bindings.xjb] ``` See [Command-Line Usage](https://github.com/highsource/jsonix-schema-compiler/wiki/Command-Line-Usage). ## Using with NPM From the command line: ``` npm install jsonix-schema-compiler java -jar node_modules/jsonix-schema-compiler/lib/jsonix-schema-compiler-full.jar schema.xsd ``` Or add `jsonix-schema-compiler` as dependency and invoke in `scripts/prepublish`. ```json { "name": "mypackage", ... "dependencies": { ... "jsonix": "", "jsonix-schema-compiler": "" }, "scripts": { ... "prepublish" : "java -jar node_modules/jsonix/lib/jsonix-schema-compiler-full.jar schema.xsd" } } ``` See [NPM Usage](https://github.com/highsource/jsonix-schema-compiler/wiki/NPM-Usage). ## Using with Ant * Include `jsonix-schema-compiler-plugin-.jar` into `xjc/classpath`. * Include `-Xjsonix` and further `-Xjsonix-...` [[command-line options|Command-Line usage]] into `arg/@line`. ```xml ``` See [Ant Usage](https://github.com/highsource/jsonix-schema-compiler/wiki/Ant-Usage). ## Using with Maven ```xml org.jvnet.jaxb2.maven2 maven-jaxb2-plugin true -Xjsonix -Xjsonix-compact org.hisrc.jsonix jsonix-schema-compiler ${jsonix-schema-compiler.version} ``` See [Maven Usage](https://github.com/highsource/jsonix-schema-compiler/wiki/Maven-Usage).