This library's code is dynamically generated using xsdata-pydantic and the official datacite schema definition.
The generated code is verified via the provided datacite schema examples.
To add the support for a version to this library you can generate the code like this:
export DCS_VERSION=4.4
xsdata "http://schema.datacite.org/meta/kernel-DCS_VERSION/metadata.xsd" --output pydantic --package "src.datacite_schema.schema$DCS_VERSION" The datacite XML schema does not map one to one to the JSON data used in their rest API. For future development on this converter, it may be better to use xsdata rather than xsdata-pydantic.