Generate single JSON Schema document with all $ref embedded #1700
daneel3001
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello
I am currently in a project with the aim of leverage JSON Schema to describing data structures and metadata.
We are modeling our entities using as much composition as possible meaning that say fields may be declared as schemas.
I would like to know if it would be a good idea to have NJsonSchema to support creation of a different representation of a JSON Schema this time with all $ref embedded as sub schemas.
I would assume this feature would leverage the already built in custom resolvers and would then just emit at the end the new JSON Schema.
The idea is that I would like some schemas to either exist in composite form, with $ref and some flattened/bundled, to support different kind of use cases where a single Json Schema file serves as a data interface.
Beta Was this translation helpful? Give feedback.
All reactions