to-json-schema Forked from https://github.com/Nijikokun/generate-schema/blob/master/src/schemas/json.js But fixed some bugs. npm install @moyuyc/to-json-schema