lexibank / pylexibank

The python curation library for lexibank
Apache License 2.0
18 stars 7 forks source link

Do we need to validate license #193

Closed SimonGreenhill closed 4 years ago

SimonGreenhill commented 4 years ago

Currently we just check that metadata.json::license is non-null. However, do we want to make sure it's a valid URL (e.g. "https://creativecommons.org/licenses/by-nc/4.0/") rather than a plain text string (e.g. "CC-BY")?

xrotwang commented 4 years ago

We do something in this direction at least, see https://github.com/cldf/cldfbench/blob/9c7d04059d76fe08ddf2f8c148ffba3ae89d7d8f/src/cldfbench/metadata.py#L66-L69

SimonGreenhill commented 4 years ago

ok, I'll close this then