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

Remove skhema as dependency #75

Merged
merged 1 commit into from
Dec 20, 2024
Merged

Remove skhema as dependency #75

merged 1 commit into from
Dec 20, 2024

Conversation

pipex
Copy link
Collaborator

@pipex pipex commented Dec 16, 2024

This moves the isValid method from the skhema module into an internal json-schema module since skhema is not being maintained or used anywhere else.

Change-type: minor
Depends-on: #74

@pipex pipex changed the title REnm Remove skhema as dependency Dec 16, 2024

const JSON_SCHEMA_SCHEMA = {
$schema: 'http://json-schema.org/draft-07/schema#',
$id: 'jellyfish-meta-schema',
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I think this schema can be simplified, but I'm not familiar with json-schema or AJV to identify what is superfluous

@pipex pipex force-pushed the json-schema-is-valid branch 2 times, most recently from ff7bf78 to 317eebc Compare December 16, 2024 21:59
@flowzone-app flowzone-app bot enabled auto-merge December 16, 2024 22:02
@pipex pipex force-pushed the json-schema-is-valid branch 3 times, most recently from 4a8e565 to f31c103 Compare December 17, 2024 01:45
@pipex pipex requested review from Page- and myarmolinsky December 17, 2024 17:20
@pipex pipex force-pushed the json-schema-is-valid branch from f31c103 to 188ad5f Compare December 18, 2024 12:24
This moves the `isValid` method from the [skhema module](https://github.com/balena-io-modules/skhema)
into an internal json-schema module since skhema is not being maintained
or used anywhere else.

Change-type: minor
Depends-on: #74
@pipex pipex force-pushed the json-schema-is-valid branch from 188ad5f to dffa41e Compare December 19, 2024 15:06
@flowzone-app flowzone-app bot merged commit 8679ae4 into master Dec 20, 2024
52 checks passed
@flowzone-app flowzone-app bot deleted the json-schema-is-valid branch December 20, 2024 13:32
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.

2 participants