convert OrientDB Schema to JSON schema
See JSON Schema.
First, write your OrientDB credentials to orientjs.opts.
Refer to orientjs.opts.example
or orientjs help.
npm i
node index [json schema id prefix]
default json schema id prefix
is ./schema/
.
It generates json schema files to directory schema
.
It has many limitations.
this.linkedType = config.linkedType || null;
to ./node_modules/orientjs/lib/db/class/property.js:42
See the code, search FIXME for other limitations.
Thanks. Welcome.