Um DOIs von einer älteren Version auf Schema 4 mit der REST API zu aktualisieren, sollten Sie eine explizite Aktualisierung auf Version 4 für Ihre DOIs im resource-Feld bei XML und in dem Attributfeld "schemaVersion" bei JSON angeben.
XML-Beispiel:
Codeblock |
---|
<resource
xmlns="http://datacite.org/schema/kernel-4"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://datacite.org/schema/kernel-4 http://schema.datacite.org/meta/kernel-4/metadata.xsd"> |
JSON-Beispiel:
Codeblock | ||
---|---|---|
| ||
{ "data": { "id": "10.0138/1f84-ta02", "type": "dois", "attributes": { "doi": "10.0138/1f84-ta02", "schemaVersion": "http://datacite.org/schema/kernel-4" } } } |
...