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

Add JSON-schema generator #103

Merged
merged 5 commits into from
Feb 6, 2024
Merged

Add JSON-schema generator #103

merged 5 commits into from
Feb 6, 2024

Conversation

gunnar-mb
Copy link
Collaborator

Author: Gunnar Andersson <[email protected]>, MBition GmbH.

JSON-schema generator.

The program was tested solely for our own use cases, which might differ from yours.

The submission is provided under the main project license (LICENSE file in root of project).

Provider Information

@gunnar-mb
Copy link
Collaborator Author

It seems this requires a change to the ifex_ast which was not yet pushed. Converting to draft for now.

@gunnar-mb
Copy link
Collaborator Author

Rebased on #106 to get the proper AST definition (which should hopefully yield a proper schema therefore)

@gunnar-mb
Copy link
Collaborator Author

Again, after updating #106

Signed-off-by: Gunnar Andersson <[email protected]>
Better to build this into ifex_to_json_schema.py later, but it
would require a bit of rework to produce an internal string
instead of just direct "print" as it is now.

Signed-off-by: Gunnar Andersson <[email protected]>
@gunnar-mb
Copy link
Collaborator Author

Final version improves the printouts from the validation program (validate.py)

@gunnar-mb gunnar-mb marked this pull request as ready for review January 31, 2024 17:06
@gunnar-mb gunnar-mb merged commit 3c957d4 into COVESA:master Feb 6, 2024
3 checks passed
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

Successfully merging this pull request may close these issues.

1 participant