{"library":"json-schema-generator","type":"library","category":null,"description":"A CLI and library for generating JSON Schema (draft-v4) from JSON documents. Version 2.0.6 is the latest stable release. It supports local files, URLs, and stdin input with options for pretty-printing and directory output. Note: full draft-v4 spec not yet supported; lacks $ref and location nodes. Alternative to tools like jsonschema or online generators. Low release cadence; GitHub last updated several years ago.","language":"javascript","status":"maintenance","version":"2.0.6","tags":["javascript","json schema","json schema generator","schema","json","generator","draft","v4"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install json-schema-generator","imports":["const jsonSchemaGenerator = require('json-schema-generator');","const jsonSchemaGenerator = require('json-schema-generator');\nconst schema = jsonSchemaGenerator({foo: 'bar'});","json-schema-generator input.json -o schema.json"]},{"cmd":"yarn add json-schema-generator","imports":[]},{"cmd":"pnpm add json-schema-generator","imports":[]}],"homepage":"https://github.com/krg7880/json-schema-generator","github":"https://github.com/krg7880/json-schema-generator","docs":null,"changelog":null,"pypi":null,"npm":"json-schema-generator","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}