ORCID / ORCID-Parent

Repository for the real ORCID code. Any issues with devsandbox.orcid.org should be logged here.
9 stars 0 forks source link

Query on ORCID checksum algorithm #17

Closed sjm closed 12 years ago

sjm commented 12 years ago

From the various documentation, we've gleaned that the ORCID includes a final checksum digit generated according to ISO/IEC 7064:2003, MOD 11-2.

Is this correct? And do you have more specific details on the algorithm you use? Our engineers say there is some inconsistency in the way this algorithm is applied, specifically to 'weighting' applied to different numbers of digits.

While the preferred mechanism for entering an ORCID is retrieval via the API, there are use cases where users can type an ORCID in and checksum/format validation would be appropriate.

Thanks,

Sean M Aries Systems

gthorisson commented 12 years ago

Hi. Documentation on the identifier structure will be added to the developer portal very shortly. Keep an eye on http://dev.orcid.org/resources.

I'm don't know off the top of my head whether details on the algorithm will be on - let me forward this to Laura Paglione who's pulling this material together.

sjm commented 12 years ago

Thanks for the response.

We're working on this for a forthcoming release, so any guidance you can give us will be appreciated.

sjm commented 12 years ago

Bit of additional research throws up some python libraries that contain an 11-2 algorithm - the algorithms in the following python source work fine for the example ORCIDs I've seen:

http://python-stdnum.sourcearchive.com/documentation/0.3-1/mod__11__2_8py_source.html

ghost commented 12 years ago

Just published a spreadsheet that describes the algorithm used for the ORCID Checksum. I haven't checked it against the python library version that you describe above. You can find the spreadsheet description here:

https://docs.google.com/a/orcid.org/spreadsheet/ccc?key=0Ama2-Z0ou3KTdG1Qckc5b3ZCaF84bl9CTFNnODB3dVE#gid=0

Also encourage you to take a look at a new page on the ORCID Developers Portal page that provides more detail about the ID. As I receive more library/formulaic versions I will post them on this page as well.

http://dev.orcid.org/structure-orcid-identifier

Thanks! Best, Laura