nickcmaynard / jsonschemalint

JSON Schema Lint. Like you I'm busy, so pull requests will get merged quicker than feature requests are implemented.
https://jsonschemalint.com
MIT License
80 stars 31 forks source link

Allow yaml for schema, json for data #47

Closed fletchgqc closed 5 years ago

fletchgqc commented 6 years ago

Currently the tool forces the same format for both schema and data.

I have my schema in YAML and my data in JSON. This is quite a common pattern, for example JSON/REST documentation tools like OpenApi default to YAML for the spec these days.

Please allow selecting the format per-text-input, not globally.

nickcmaynard commented 6 years ago

Happy to accept a PR.

nickcmaynard commented 5 years ago

Closing due to lack of activity.

Mingun commented 4 years ago

I want this feature too. Can you reopen so at least it will be seen that the problem is and is tracked