ImperialCollegeLondon / safedata_validator

Python tools to validate and publish datasets using the safedata metadata format.
https://safedata-validator.readthedocs.io/
MIT License
2 stars 4 forks source link

Make project IDs optional #65

Closed jacobcook1995 closed 1 year ago

jacobcook1995 commented 1 year ago

This PR makes the use of project IDs a configurable option. It also changes the default name for the field from "safe project id" to "project id", and introduces alias checking so that uses of "safe project id" are handled correctly.

The alias checking is only properly set up for mandatory core fields, but hopefully has been written in a way that should be extensible to other fields if there are other places we want to use aliases.

Fixes #50