A Go parser for publiccode.yml files
Features
-
Parse and validate a standard international publiccode.yml with italian extension
-
Check ISO 3166-1 alpha-2 and alpha-3 country code
-
Validate emails, URLs (http scheme, valid status code), local and remote files, dates as "YYYY-MM-DD", images (colors, mimes)
-
Check pa-types
-
Validate oembed video links
-
Validate SPDX licenses. Without WITH keyword.
-
Check tags
-
And more, as described in publiccode.yml standard.
Assets
- amministrazioni.txt updated on: 12/07/2018.
- oembed_providers.json updated on: 12/07/2018.
In order to update the assets, run this command:
go-bindata -o assets.go data/
And change the package name into publiccode
Contributing
Contributing is always appreciated.
Feel free to open issues, fork and submit a Pull Request.
If you want to know more, like "add a new field", check out CONTRIBUTING.md
ยฉ 2018 Presidenza del consiglio dei Minstri โ Licensed under the EUPL The version control system provides attribution for specific lines of code.