0.1.0 • Published 9 years ago
json-schema-parser v0.1.0
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.