jsonsystems / json-schema

JSONSchema.Net Public Repository
Apache License 2.0
663 stars 64 forks source link

feature request: cli / package for infer #58

Closed refactorized closed 4 years ago

refactorized commented 5 years ago

I would love to be able to use this tool offline or programatically. If I could pass in an options object and some json and get a schema out of it, I could put it into a build process for my current endeavor, and that would make me happy.

(I am, bit by bit, altering an old format and creating a schema out of the new format)

It's probably a 'no' but I figure I would ask. Perhaps you could open source the inference with the stipulation that people don't just build a clone of your site?

Thanks

jackwootton commented 5 years ago

This is a good idea. An API is planned for release this year. But perhaps people would prefer a pip package?

steder commented 5 years ago

I would ❤️ a pip package.

jackwootton commented 4 years ago

Duplicate of #30.

Thanks for expressing an interest in the source code or a package. To avoid this slipping down my list again I'm merging with #30.