Ingests multiple JSON schemas into one schema, by resolving $ref property data. Will ingest absolute and relative references
You know those times when you have loads of json schema and sub-schema that you need to use but don't want to or can't have them on an open network location, well this script allows you to download or ingest them and produce one composite schema, that you can put in that secure location.
Install with npm
$ npm i ngest --save-dev
var ngest = require('ngest'); ngest(source, destination);
If you want to generate sample data use
var ngest = require('ngest'); ngest(source, destination, sample);
Both the source and destination are file locations currently. The script will only ready from a local file system.
Install dev dependencies:
$ npm i -d && npm test
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Copyright © 2016 Kenobi Media Ltd Licensed under the MIT license.