python-orcid
python-orcid copied to clipboard
Minimal example from documentation raises error
The minimal-example from the documentation:
{
'title': {'title': 'API Test Title'},
'type': 'JOURNAL_ARTICLE',
'external-ids': [{
'external-id': [{
'external-id-type': 'source-work-id',
'external-id-value': '1234'
}]
}]
}
Which follows the RC2 schema, is currently failing with the following message:
'Can not deserialize instance of org.orcid.jaxb.model.record_rc2.ExternalIDs out of START_ARRAY token\n at [Source: org.apache.catalina.connector.CoyoteInputStream@10e721f8; line: 1, column: 2] (through reference chain: org.orcid.jaxb.model.record_rc2.Work["external-ids"])