-
Notifications
You must be signed in to change notification settings - Fork 0
Check MJSON files for typos and errors #64
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?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,11 +6,11 @@ | |
| ] | ||
| }, | ||
| "0199f8df-c7b4-7cdc-b68e-78042e80fa30": { | ||
| "prototype": "data/model/party/profiule/proficency-scale", | ||
| "prototype": "data/model/party/profile/proficiency-scale", | ||
| "values": { | ||
| "name": { | ||
| "en": { | ||
| "US": "Four Level Proficency Scale" | ||
| "US": "Four Level Proficiency Scale" | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @marchant There is a typo Proficency is not a valid English word |
||
| }, | ||
| "fr": { | ||
| "FR": "" | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -304,11 +304,11 @@ | |||||
| "PersonalStrengthAssessment": { | ||||||
| "object": "./model/party/profile/personal-strength-assessment.mjson" | ||||||
| }, | ||||||
| "ProficencyScale": { | ||||||
| "object": "./model/party/profile/proficency-scale.mjson" | ||||||
| "ProficiencyScale": { | ||||||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. typo LGTM |
||||||
| "object": "./model/party/profile/proficiency-scale.mjson" | ||||||
|
||||||
| "object": "./model/party/profile/proficiency-scale.mjson" | |
| "object": "./model/party/profile/proficency-scale.mjson" |
Copilot
AI
Jan 8, 2026
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.
The object reference path has been updated to './model/party/profile/proficiency-level.mjson', which correctly points to the renamed .mjson file. However, that .mjson file internally references './proficiency-level.js' which doesn't exist (the file is still named 'proficency-level.js'). This will cause module loading errors when this descriptor is used.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,7 +16,7 @@ exports.JobRoleSkillExpectation = DataObject.specialize(/** @lends JobRoleSkillE | |
| name: { | ||
| value: undefined | ||
| }, | ||
| proficencyScale: { | ||
| proficiencyScale: { | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. typo LGTM |
||
| value: undefined | ||
| } | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -69,17 +69,17 @@ | |
|
|
||
| } | ||
| }, | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. typo LGTM |
||
| "ProficencyLevelDescriptor": { | ||
| "object": "data/model/party/profile/proficency-level.mjson" | ||
| "ProficiencyLevelDescriptor": { | ||
| "object": "data/model/party/profile/proficiency-level.mjson" | ||
| }, | ||
| "roleHoldeProficiency": { | ||
| "roleHolderProficiency": { | ||
| "prototype": "mod/core/meta/property-descriptor", | ||
| "values": { | ||
| "name": "roleHoldeProficiency", | ||
| "name": "roleHolderProficiency", | ||
| "valueType": "object", | ||
| "cardinality": 1, | ||
| "valueDescriptor": {"@": "ProficencyLevelDescriptor"}, | ||
| "description": "Expections regarding role holder's proficency at that role. That might need to be a range?" | ||
| "valueDescriptor": {"@": "ProficiencyLevelDescriptor"}, | ||
| "description": "Expectations regarding role holder's proficiency at that role. That might need to be a range?" | ||
| } | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,7 +3,7 @@ | |
| "prototype": "mod/core/meta/module-object-descriptor", | ||
| "values": { | ||
| "name": "JobRoleSkillImportanceLevel", | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. typo LGTM |
||
| "description": "Models proficency levels such as Beginner, Intermediate, Advanced, Expert. Together they belong to a scale", | ||
| "description": "Models proficiency levels such as Beginner, Intermediate, Advanced, Expert. Together they belong to a scale", | ||
| "propertyDescriptors": [ | ||
| {"@": "name"}, | ||
| {"@": "scale"}, | ||
|
|
@@ -39,7 +39,7 @@ | |
| "isMandatory": true | ||
| } | ||
| }, | ||
| "proficencyScaleDescriptor": { | ||
| "proficiencyScaleDescriptor": { | ||
| "object": "./job-role-skill-importance-level.mjson" | ||
| }, | ||
| "scale": { | ||
|
|
@@ -48,7 +48,7 @@ | |
| "name": "scale", | ||
| "valueType": "object", | ||
| "cardinality": -1, | ||
| "valueDescriptor": {"@": "proficencyScaleDescriptor"}, | ||
| "valueDescriptor": {"@": "proficiencyScaleDescriptor"}, | ||
| "inversePropertyName": "levels" | ||
| } | ||
| }, | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -38,17 +38,17 @@ | |
| "isMandatory": true | ||
| } | ||
| }, | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. typo LGTM |
||
| "proficencyLevelDescriptor": { | ||
| "object": "./party/profile/proficency-level.mjson" | ||
| "proficiencyLevelDescriptor": { | ||
| "object": "./party/profile/proficiency-level.mjson" | ||
| }, | ||
| "levels": { | ||
| "prototype": "mod/core/meta/property-descriptor", | ||
| "values": { | ||
| "name": "levels", | ||
| "valueType": "object", | ||
| "cardinality": -1, | ||
| "valueDescriptor": {"@": "proficencyLevelDescriptor"}, | ||
| "inversePropertyName": "proficencyScale" | ||
| "valueDescriptor": {"@": "proficiencyLevelDescriptor"}, | ||
| "inversePropertyName": "proficiencyScale" | ||
| } | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,7 +12,7 @@ | |
| "@": "skill" | ||
| }, | ||
| { | ||
| "@": "selfAssessedProficencyLevel" | ||
| "@": "selfAssessedProficiencyLevel" | ||
| }, | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. LGTM |
||
| { | ||
| "@": "assessmentQuestionnaires" | ||
|
|
@@ -54,7 +54,7 @@ | |
| "valueDescriptor": { | ||
| "@": "PersonDescriptor" | ||
| }, | ||
| "inversePropertyName": "strengthAssessments" | ||
| "inversePropertyName": "skillAssessments" | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @marchant Probably good |
||
| } | ||
| }, | ||
| "SkillDescriptor": { | ||
|
|
@@ -72,17 +72,17 @@ | |
| "inversePropertyName": "personalSkillAssessments" | ||
| } | ||
| }, | ||
| "ProficencyLevelDescriptor": { | ||
| "object": "./proficency-level.mjson" | ||
| "ProficiencyLevelDescriptor": { | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. typo LGTM |
||
| "object": "./proficiency-level.mjson" | ||
| }, | ||
| "selfAssessedProficencyLevel": { | ||
| "selfAssessedProficiencyLevel": { | ||
| "prototype": "mod/core/meta/property-descriptor", | ||
| "values": { | ||
| "name": "selfAssessedProficencyLevel", | ||
| "name": "selfAssessedProficiencyLevel", | ||
| "valueType": "object", | ||
| "cardinality": 1, | ||
| "valueDescriptor": { | ||
| "@": "ProficencyLevelDescriptor" | ||
| "@": "ProficiencyLevelDescriptor" | ||
| }, | ||
| "isSearchable": true | ||
| } | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,7 +16,7 @@ exports.PersonalStrengthAssessment = DataObject.specialize(/** @lends PersonalSt | |
| name: { | ||
| value: undefined | ||
| }, | ||
| proficencyScale: { | ||
| proficiencyScale: { | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. typo LGTM |
||
| value: undefined | ||
| } | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,7 +16,7 @@ exports.PersonalStrength = DataObject.specialize(/** @lends PersonalStrength.pro | |
| name: { | ||
| value: undefined | ||
| }, | ||
| proficencyScale: { | ||
| proficiencyScale: { | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. typo LGTM |
||
| value: undefined | ||
| } | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -91,7 +91,7 @@ | |
| } | ||
| }, | ||
|
|
||
| "PersonalSkillAssesssmentDescriptor": { | ||
| "PersonalSkillAssessmentDescriptor": { | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. typo LGTM |
||
| "object": "./personal-skill-assessment.mjson" | ||
| }, | ||
| "skillAssessments": { | ||
|
|
@@ -100,7 +100,7 @@ | |
| "name": "skillAssessments", | ||
| "cardinality": -1, | ||
| "valueType": "object", | ||
| "valueDescriptor": {"@": "PersonalSkillAssesssmentDescriptor"} | ||
| "valueDescriptor": {"@": "PersonalSkillAssessmentDescriptor"} | ||
| } | ||
| }, | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,27 +2,27 @@ | |
| "root": { | ||
| "prototype": "mod/core/meta/module-object-descriptor", | ||
| "values": { | ||
| "name": "ProficencyLevel", | ||
| "description": "Models proficency levels such as Beginner, Intermediate, Advanced, Expert. Together they belong to a proficencyScale", | ||
| "name": "ProficiencyLevel", | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. typo LGTM |
||
| "description": "Models proficiency levels such as Beginner, Intermediate, Advanced, Expert. Together they belong to a proficiencyScale", | ||
| "propertyDescriptors": [ | ||
| {"@": "name"}, | ||
| {"@": "scale"}, | ||
| {"@": "rank"} | ||
| ], | ||
| "objectDescriptorModule": { | ||
| "%": "./proficency-level.mjson" | ||
| "%": "./proficiency-level.mjson" | ||
| }, | ||
| "exportName": "ProficencyLevel", | ||
| "exportName": "ProficiencyLevel", | ||
| "module": { | ||
| "%": "./proficency-level" | ||
| "%": "./proficiency-level" | ||
| }, | ||
| "object":{"@": "proficency-level"}, | ||
| "object":{"@": "proficiency-level"}, | ||
| "parent":{"@": "DataObjectDescriptor"} | ||
|
|
||
| } | ||
| }, | ||
| "proficency-level": { | ||
| "object": "./proficency-level" | ||
| "proficiency-level": { | ||
| "object": "./proficiency-level" | ||
| }, | ||
|
|
||
| "DataObjectDescriptor": { | ||
|
|
@@ -39,16 +39,16 @@ | |
| "isMandatory": true | ||
| } | ||
| }, | ||
| "proficencyScaleDescriptor": { | ||
| "object": "./proficency-scale.mjson" | ||
| "proficiencyScaleDescriptor": { | ||
| "object": "./proficiency-scale.mjson" | ||
| }, | ||
| "scale": { | ||
| "prototype": "mod/core/meta/property-descriptor", | ||
| "values": { | ||
| "name": "scale", | ||
| "valueType": "object", | ||
| "cardinality": -1, | ||
| "valueDescriptor": {"@": "proficencyScaleDescriptor"}, | ||
| "valueDescriptor": {"@": "proficiencyScaleDescriptor"}, | ||
| "inversePropertyName": "levels" | ||
| } | ||
| }, | ||
|
|
@@ -59,7 +59,7 @@ | |
| "name": "rank", | ||
| "valueType": "number", | ||
| "isSearchable": true, | ||
| "description": "The rank of this proficencyLevel within the scale. Other option for naming: order, level" | ||
| "description": "The rank of this proficiencyLevel within the scale. Other option for naming: order, level" | ||
| } | ||
| } | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,26 +2,26 @@ | |
| "root": { | ||
| "prototype": "mod/core/meta/module-object-descriptor", | ||
| "values": { | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. typo LGTM |
||
| "name": "ProficencyScale", | ||
| "description": "ProficencyScale group a list of ", | ||
| "name": "ProficiencyScale", | ||
| "description": "ProficiencyScale groups a list of proficiency levels", | ||
| "propertyDescriptors": [ | ||
| {"@": "name"}, | ||
| {"@": "levels"} | ||
| ], | ||
| "objectDescriptorModule": { | ||
| "%": "./proficency-scale.mjson" | ||
| "%": "./proficiency-scale.mjson" | ||
| }, | ||
| "exportName": "ProficencyScale", | ||
| "exportName": "ProficiencyScale", | ||
| "module": { | ||
| "%": "./proficency-scale" | ||
| "%": "./proficiency-scale" | ||
| }, | ||
| "object":{"@": "proficency-scale"}, | ||
| "object":{"@": "proficiency-scale"}, | ||
| "parent":{"@": "DataObjectDescriptor"} | ||
|
|
||
| } | ||
| }, | ||
| "proficency-scale": { | ||
| "object": "./proficency-scale" | ||
| "proficiency-scale": { | ||
| "object": "./proficiency-scale" | ||
| }, | ||
|
|
||
| "DataObjectDescriptor": { | ||
|
|
@@ -38,16 +38,16 @@ | |
| "isMandatory": true | ||
| } | ||
| }, | ||
| "proficencyLevelDescriptor": { | ||
| "object": "./proficency-level.mjson" | ||
| "proficiencyLevelDescriptor": { | ||
| "object": "./proficiency-level.mjson" | ||
| }, | ||
| "levels": { | ||
| "prototype": "mod/core/meta/property-descriptor", | ||
| "values": { | ||
| "name": "levels", | ||
| "valueType": "object", | ||
| "cardinality": -1, | ||
| "valueDescriptor": {"@": "proficencyLevelDescriptor"}, | ||
| "valueDescriptor": {"@": "proficiencyLevelDescriptor"}, | ||
| "inversePropertyName": "scale" | ||
| } | ||
| } | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,7 +16,7 @@ exports.Skill = DataObject.specialize(/** @lends Skill.prototype */ { | |
| name: { | ||
| value: undefined | ||
| }, | ||
| proficencyScale: { | ||
| proficiencyScale: { | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. typo LGTM |
||
| value: undefined | ||
| } | ||
|
|
||
|
|
||
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.
LGTM