Submodule that can be used to validate a datapackage.json file for datasets. To use it just include it in the root of your dataset repository as submodule. You can then execute it using python3 running the file 'validate-datapackage.py'. The script will automatically look for the datapackage.json in the root of the repository.
Executing the script on the NUTS repository the NameError exception is raised:
$ python datapackage-validation/validate_datapackage.py
Validation of NUTS
vector-data-resource
vector-data-resource
vector-data-resource
vector-data-resource
Validation error for repository NUTS
Missing properties:
vector/schema
vector/schema
vector/schema
vector/schema
Traceback (most recent call last):
File "datapackage-validation/validate_datapackage.py", line 229, in <module>
tags=tags)
NameError: name 'tags' is not defined
Executing the script on the NUTS repository the NameError exception is raised: