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

Use premade NPM package for JSON schema validation. (OSOE-406) #15

Open
sarahelsaig opened this issue Oct 20, 2022 · 0 comments
Open

Use premade NPM package for JSON schema validation. (OSOE-406) #15

sarahelsaig opened this issue Oct 20, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@sarahelsaig
Copy link
Member

sarahelsaig commented Oct 20, 2022

Followup to OSOE-84.

The validate-config.js script's purpose is schema validation. Instead of custom logic that's hard to maintain, let's use jsonschema and describe the valid states of our package file extension using JSON Schema.

The detected errors should be displayed as MSBuild errors using the handleErrorObject or handleErrorMessage functions from this repo (see OSOE-92)

Once done, we should review if we use custom JSON structures anywhere else and if so, create schemas for them as well.

Jira issue

@github-actions github-actions bot changed the title Use premade NPM package for JSON schema validation. Use premade NPM package for JSON schema validation. (OSOE-406) Oct 20, 2022
@Piedone Piedone added the enhancement New feature or request label Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants