diff --git a/ckanext/doi/lib/metadata.py b/ckanext/doi/lib/metadata.py index 4d9b2dd..a1b5cce 100644 --- a/ckanext/doi/lib/metadata.py +++ b/ckanext/doi/lib/metadata.py @@ -196,7 +196,7 @@ def _add_required(key, get_func): license = license_register.get(license_id) if license is not None: optional['rightsList'] = [ - {'url': license.url, 'identifier': license.id} + {'rightsURI': license.url, 'rightsIdentifier': license.id} ] except Exception as e: errors['rightsList'] = e