-
Notifications
You must be signed in to change notification settings - Fork 127
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
Project Validation #186
Comments
Possibly useful links:
|
Nice |
Yeah... FYI, I've talked to Alvand and they'd like to get the schema validation into the API, but it is not there right now. We may want to wait for that versus doing this. |
Maybe I could add that :-) |
FYI: We've updated our validator, which you can find here: https://code.gov/about/compliance/inventory-code/validate-schema It's built with json-schema-validator-web-component a reusable web component! :-) |
Similar to the Code.json Validator it would be helpful to report broken URL links in the Code.json file. I put together a google sheets prototype of sorts here: It publishes a daily report to here: This tool attempts to daily import each agency's code.json file as described by the code.gov site and verify pertinent URLs for each agency's code.json file. These verifications are displayed on the UrlStatus worksheet. This report displays the HTTPS response codes when >=300 from a call to Google App Script UrlFetch() for each URL. It works as is, but only validates files that are found from the existing agencies code.json files. |
Neat! Have you also posted that to the Code.gov repo? |
I just posted this as a comment to Code.gov Administration Tool for Agency Inventory Upload and Maintenance #29 |
Curious why Project Validation is only JSON validation? I'm sure it'll fail if JSON doesn't validate, but wondering the emphasis behind this? |
Happy to include that as well... |
Is there more work to be done for this issue? It looks like JSON is being validated. If there's more to be validated, perhaps it can be clarified in a new issue. |
The format of the JSON is validated, but not the structure that Code.gov really wants, or the content of the information (like that URLs really are URLs, or that there is a POC). |
We should validate the JSON before pushing any changes that could break or improperly update project info.
The text was updated successfully, but these errors were encountered: