Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi file schemas #14

Open
goto40 opened this issue Dec 13, 2022 · 1 comment
Open

Multi file schemas #14

goto40 opened this issue Dec 13, 2022 · 1 comment

Comments

@goto40
Copy link

goto40 commented Dec 13, 2022

Thank you very much for this nice specification.

Did you think of handling schema references across files? This enables better reuse in larger designs and prevents clones.

(I would be happy to discuss. Maybe you could add a discussion section in this repo?)

Best wishes.

@ucarion
Copy link
Contributor

ucarion commented Jan 8, 2023

JSON Typedef is often used in contexts where the concept of multiple files isn't available. I wouldn't want to complicate things for these use-cases.

When you're writing JSON Typedef documents by hand, what you could instead do is define your own build step to take multiple JSON files, and join them together? But JSON Typedef would have nothing to say about the meaning of these separated files; it only imposes meaning on the joined result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants