Skip to content

Discrepancies between JSON schema and DataCite REST API (identifiers and doi) #80

@edager

Description

@edager

Package version (if known): 1.1.3

Describe the bug

The field "dentifiers" corresponds to the optional field additionalIdentifiers in the DataCite XSD, however, in the json schema v4.3 "dentifiers" is a required field, which is not correct (see datacite/schema#134).

Furthermore, the "doi" field is pseudo required in the sense that if not provided in a POST request it will be generated automatically (in the XSD "doi" is the "identifier" element and it is required). It might make sense to have "doi" optional, at least from the perspective of validation (if it needs to correspond not only with the REST API but with the XSD it should be a required field) ?

Additional context

If help is wanted for updating the v4.3, or creating v4.5 I would be willing to help out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions