This repo contains :
- an Scala implementation of JSON Schema
- a diesel DSL for JSON, with Schema-based completion/validation
- façades for use in TS/JS
See build.sh
.
The scala part needs to be built first. It creates the js-facade
CommonJS module, containing everything needed in JS land.
./build-sbt.sh
Then you can build the ts-facade
and run its tests.
./build-ts.sh
Using the lib depends on the target. Scala users will probably use the Scala lib directly, whereas TS (or JS) users will find it easier to depend on the npm modules.