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

Output the JSON schema in a stardard format #20

Open
kskyten opened this issue Feb 19, 2020 · 0 comments
Open

Output the JSON schema in a stardard format #20

kskyten opened this issue Feb 19, 2020 · 0 comments

Comments

@kskyten
Copy link

kskyten commented Feb 19, 2020

EMOD has a command line option to output the schema for configuration files, but it is in a non-standard format. There is an existing standard for JSON schemas. Probably the easiest way to generate this schema is to infer it from existing configuration files using Quicktype.

The schema makes it possible to validate the configuration files and automatically generate wrappers for generating the JSON in a number of different languages such as Python, C++, Rust and Go.

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