-
Notifications
You must be signed in to change notification settings - Fork 0
Validate MJSON configuration files and inheritance #65
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
base: main
Are you sure you want to change the base?
Conversation
Comprehensive audit of 8 MJSON files in data/model/questionnaire/: - Validated JSON syntax, inheritance chains, and property descriptors - Identified 2 minor issues: orphaned property in questionnaire-question.mjson and unused definition in variable.mjson - 6 files are fully valid with correct structure
- questionnaire-question.mjson: Add missing notes property to propertyDescriptors - variable.mjson: Remove unused variablePrototype definition
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR validates MJSON configuration files in the data/model/questionnaire directory and fixes two identified issues: an orphaned property definition and an unused definition.
- Added validation report documenting 8 MJSON files
- Fixed orphaned
notesproperty in questionnaire-question.mjson by adding it to propertyDescriptors array - Removed unused
variablePrototypedefinition from variable.mjson
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| mjson-validation-report.md | New validation report documenting the analysis of 8 MJSON configuration files and identifying 2 issues |
| data/model/questionnaire/variable.mjson | Removed unused variablePrototype definition (lines 26-28) |
| data/model/questionnaire/questionnaire-question.mjson | Added notes property reference to propertyDescriptors array to expose the previously orphaned property definition |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "variable": { | ||
| "object": "./variable" | ||
| }, | ||
| "variablePrototype": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unused
| {"@": "possibleAnswers"}, | ||
| {"@": "respondentQuestionnaireAnswers"} | ||
| {"@": "respondentQuestionnaireAnswers"}, | ||
| {"@": "notes"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing LGTM
No description provided.