Hacker News new | ask | show | jobs
by BerislavLopac 602 days ago
> There are a few tools that do enable to link JSON schema to views

I'm aware of those, but I'm looking for a visual way to declare JSON Schemas, similar to the Schema view in your project.

1 comments

OK I see. I think exporting to JSON Schema is a feature to implement.

But again, there would be some situations where the 2 representations would not be reconcilable: you would not be able to stream out views & methods to JSON Schema, and in the other way, some weakly declared heterogeneous types of json schema like oneOf, allOf, anyOf might not always be representable in this framework.