Closed DamienAlbert closed 7 months ago
Package version (if known): 1.1.3
When validating the JSON metadata for a DOI with schema41, its is deemed invalid by the plugin if you have a nameType 'Organizational'.
schema41
schema41.validate
schema41.validator.validate
jsonschema.exceptions.ValidationError (ERROR): 'Organizational' is not one of ['Organisational', 'Personal']
'Organizational' is an accepted value for the DataCite nameType schema, cf. view-source:https://schema.datacite.org/meta/kernel-4.1/include/datacite-nameType-v4.1.xsd
The issue is not present in schema 4.2 and later versions.
Unless someone particularly needs 4.1 and want to make a PR, using 4.2 or later seems like a acceptable solution.
Package version (if known): 1.1.3
Describe the bug
When validating the JSON metadata for a DOI with
schema41
, its is deemed invalid by the plugin if you have a nameType 'Organizational'.Steps to Reproduce
schema41.validate
on a metadata (orschema41.validator.validate
to be able to log the exceptions)jsonschema.exceptions.ValidationError (ERROR): 'Organizational' is not one of ['Organisational', 'Personal']
Expected behavior
'Organizational' is an accepted value for the DataCite nameType schema, cf. view-source:https://schema.datacite.org/meta/kernel-4.1/include/datacite-nameType-v4.1.xsd
Additional context
The issue is not present in schema 4.2 and later versions.