-
Notifications
You must be signed in to change notification settings - Fork 21
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
Best practices for CI/CD testing of JSON schema files #524
Comments
Good question @kdaily. Assuming you are talking about JSON Schemas (and not schema.org schemas or the current synapse annotations schema format), the first thing that leaps to mind is validating the schema against its meta-schema. |
I meant validating it against the draft-07 (or whichever draft you're using) JSON Schema specification, to ensure that it is a valid schema. |
Got it! Good suggestion. I tried doing this using |
Ah that is a big bummer. I wonder if we could get a contribution in to ajv-cli... |
It's an old issue (2017): |
Starting a discussion around best practices for CI/CD-related issues on schema files. I've enabled Travis on one of my schema repositories, and am only currently linting (using the same original definition as done in this repo).
What are some other things that we should be doing? What are the options for writing tests?
The text was updated successfully, but these errors were encountered: