You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 5, 2021. It is now read-only.
Metadata 2.0.0 Schema Validator not validating arrays correctly.
Expected Behavior
Validator is expected to identify syntax errors on "licenses" field array. The system does not show syntax error when an array is missing.
Current Behavior
On the validator to screen to show the licenses field error when an array is not being used - expected value.
Possible Solution
Improve error checking on code.json file and show all syntax errors.
Steps to Reproduce (for bugs)
on a code.json file add the following code for licenses field on a release.
"licenses": {
"name": "Apache v2",
"URL": "https://www.apache.org/licenses/LICENSE-2.0"
},
Your Environment
https://www.code.gov/#/policy-guide/docs/compliance/inventory-code/tools/validate-schema
The text was updated successfully, but these errors were encountered: