json-schema-parser
v0.1.0
Published
Parse JSON Schema and resolve $ref
Downloads
1,730
Readme
JsonSchemaParser
Parse JSON Schema and resolve $ref
fields.
Installation
$ npm install json-schema-parser
Usage
var json = require("./spec/fixtures/schema.json");
var parser = require("json-schema-parser");
var schema = parser.parse(json);
console.log(schema); // print the schema that is resolved $ref fields
JsonSchemaParser includes jsonschema.d.ts
and parser.d.ts
.
LICENSE
JsonSchemaParser is licensed under MIT-license.