Metadata retrieval question

Hello Crossref community.

When I post xml data to crossref that contains affiliations, should I expect to see the affiliation data when I retrieve the same doi?

I am using this url to retrieve the xml:
http s://api.crossref.org/works/{doi}/transform/application/vnd.crossref.unixsd+xml

Also, is it possible to find under which crossref schema version a doi was submitted with?

Thank you

The short answer is: yes, absolutely.

The longer answer is: it depends on the timing of the retrieval. Let’s say that you register a metadata record with us with no affiliations and then come behind that initial registration later and add affiliation metadata to an existing DOI. If you then attempt to retrieve that metadata record in our REST API, there will be a lag before you see the affiliation metadata appear in the REST API. It can take us up to 24 hours to index (or, reindex in this example) a submission.

Here is an example DOI with affiliation metadata registered for its contributors: https://0-api-crossref-org.pugwash.lib.warwick.ac.uk/works/10.1145/3240431.3240434?mailto=support@crossref.org

And, here is that DOI in our XML API: https://0-doi-crossref-org.pugwash.lib.warwick.ac.uk/search/doi?pid=support@crossref.org&format=unixsd&doi=10.1145/3240431.3240434

Also, is it possible to find under which crossref schema version a doi was submitted with?

Unfortunately, neither the JSON output in the REST API nor the XML output in the XML API includes the XML input schema that was used for the registration.

My best,
Isaac