Add schema.org sdLicense
Add a field for the metadata's license
See #544
MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅
https://schema.org/sdLicense is in the spec now. I set the sdLicenses to Apache 2.0, since the repository is Apache 2.0. sdLicense is either None or string for now.
Note: migration for bigcode-the-stack/metadata.json seems to have lost some information. I'm not sure if this is intended or not.
@marcenacp The migration tool applies these changes even to v0.8, so I manually merged the diffs. Also, I think the migration tool may reorder the alphabetical order differently than a JSON formatter/linter, but this seems minor.
@marcenacp Is there something that would block the merge if I rebased onto the current main?
@Zack-83 They are schema.org fields so you can find the documentation on respectively https://schema.org/license and https://schema.org/sdLicense. Does this make sense to you? We could explicitly point to those URLs.
@mkuchnik Nothing blocks the merge on my side. Do you have all the rights for merge?
@Zack-83 They are schema.org fields so you can find the documentation on respectively https://schema.org/license and https://schema.org/sdLicense. Does this make sense to you? We could explicitly point to those URLs.
@mkuchnik Nothing blocks the merge on my side. Do you have all the rights for merge?
@marcenacp thanks for considering my suggestion. I suppose that it would be useful to reference the URLs or disambiguate the two terms in another way at whatever position where the user inputs the license manually or where he/she gets some output, e.g. in the error messages of metadata.py.