Comments (1)
It's probably because you are calling console.log
with the schema object. console.log
truncates the output on the second level. You might wanna try console.log(JSON.stringify(jsonSchema))
from json-schema-generator.
Related Issues (20)
- Using the library in the browser? HOT 3
- Missing file: test/fixtures/schema/valid.json
- json-schema-generator doesn't handle arrays of primitives correctly HOT 6
- "Maximum call stack size exceeded" when type is object
- console.log('Node') HOT 1
- Mocha/Chai deep.equal fails when validating HOT 1
- schema generated for an empty array is invalid
- Update shrinkwrap and request dependency due to tough-cookie HOT 1
- how to differenciate between date and string?
- draft-06+ support? HOT 1
- Missing field for nested json
- Add support additionalProperties
- Update request -> extend HOT 1
- Update request -> http-signature -> sshpk HOT 1
- Required does not properly work for arrays
- Need a newer version of `extend` dependency
- Need a new version of `sshpk` dependency
- Is this package deprecated? HOT 1
- JSON schema generation on object with an array. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from json-schema-generator.