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

atdcat: what is the <root type name> of the -jsonschema option for? #407

Open
Karmaki opened this issue Mar 28, 2024 · 1 comment
Open

Comments

@Karmaki
Copy link

Karmaki commented Mar 28, 2024

I am trying to use atdcat -jsonschema and I have been very happy to find this feature 👍

But since my ATD files are used to handle different kinds of JSON files, I want to extract the JSON Schema from only a part of them. I thought that was the purpose of the <root type name> argument of the -jsonschema option, but whatever I put, it seems that I always get everything. Is this expected?

@Karmaki
Copy link
Author

Karmaki commented Mar 29, 2024

Sorry, I now understand that <root type name> is used for the top level object (I am not familiar with the JSON Schema...), but what confused me is that all the definitions are still exported.

So, I rephrase my question: would it be possible to export only the definitions that are needed to define the top level object?

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

1 participant