Skip to content

Move jsonschema validation into a utility dir #3515

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

Merged
merged 1 commit into from
May 9, 2025

Conversation

afbjorklund
Copy link
Member

@afbjorklund afbjorklund commented May 8, 2025

This performs the same task as py "check-jsonschema" or "jv".

But included with Lima, instead of being a separate CLI tool.

Add simple example, for unit test.

See https://tour.json-schema.org/

Closes #3510

It is a little wasteful to compile the schema everytime, but on the other hand it doesn't take long to run.

We don't actually validate that the jsonschema library works here, but we could do that if we wanted to...

This performs the same task as py "check-jsonschema" or "jv".

But included with Lima, instead of being a separate CLI tool.

Add simple example, for unit test.

See https://tour.json-schema.org/

Signed-off-by: Anders F Björklund <[email protected]>
@AkihiroSuda AkihiroSuda added this to the v1.1.0 milestone May 9, 2025
Copy link
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@AkihiroSuda AkihiroSuda added the kind/refactoring Refactoring label May 9, 2025
@jandubois jandubois merged commit 34b0e40 into lima-vm:master May 9, 2025
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/refactoring Refactoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

genschema.go shouldn't import multiple jsonschema libraries
3 participants