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

Extend validator to support new field, 'sds_schema_version' #256

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

VirajP1002
Copy link
Contributor

@VirajP1002 VirajP1002 commented Oct 17, 2024

What is the context of this PR?

Validator needed to be extended to support a new sds_schema_version field. The changes added are needed to align with the SDS and Authors teams to automate the release of SDS schema definitions versions.

sds_schema_version is not currently set in any schema in Runner, thus it will cause schema validation to fail. In order to support this new field, questionnaire_v1.json was updated to include this value as a property at the top level. Additionally, it hasn't been marked as a required field as we want to support the schemas which currently do not use this field.

How to review

  • Check the definition is correct
  • Validate schemas in Runner (Using my branch update-sds-schema-validation - which includes the new field)

Checklist

  • eq-translations updated to support any new schema keys which need translation

@VirajP1002 VirajP1002 marked this pull request as ready for review October 18, 2024 18:15
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