Braise ![[travis]](https://img.hex.pm/fetch/91972ce9a61207fe9b130b674145854c5c35a2f8/68747470733a2f2f7472617669732d63692e6f72672f496f72614865616c74682f6272616973652e706e67)
Braise cooks those boring old JSON Schema definitions down into rock-hard-awesome Ember CLI files.
Releases published on hex.pm at https://hex.pm/packages/braise
INSTALLATION
cd ~/src
git clone https://github.com/IoraHealth/braise.git
bash: echo 'export PATH=$PATH:~/src/braise/bin' >> ~/.bash_profile
USAGE
braise --file <JSON_SCHEMA_FILE>
braise -f <JSON_SCHEMA_FILE>Takes that boring JSON schema file and outputs some much better files.
PREREQUISITES
brew install elixir
mix deps.get
mix escript.build
mv braise binEXAMPLES
The examples dir has some input json schemas and the corresponding output produced by braise. To regenerate them
braise --file examples/source/v3/patients.json --output examples/output
braise --file examples/source/v3/medication_verification.json --output examples/output
braise --file examples/source/v20150918/sponsor_api.json --output examples/outputLICENSE
Apache v2.0