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

Store schema in a JSON file #992

Open
3 tasks
datejada opened this issue Jan 10, 2025 · 1 comment
Open
3 tasks

Store schema in a JSON file #992

datejada opened this issue Jan 10, 2025 · 1 comment

Comments

@datejada
Copy link
Member

Description

This will help add helpful information, such as a description of the parameter and suggested units, to the schema file.

  • Create a JSON file with the schema in file input-schemas.jl
  • Change the code to read the schemas of the input files
  • Use the schema file to add to the documentation a nice table with it's information

Validation and testing

Add a test to read the schema file

Motivation

We can use the file add the info in the docs and use it in other languages to generate the Tulipa Tables/files with the correct schema.

Target audience

No response

Can you help?

No response

@clizbe
Copy link
Member

clizbe commented Jan 10, 2025

@datejada This is for the Model Format right?
Having it as a JSON should make it pretty easy to convert to/from the INES format I think. :)

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