[Archivesspace_Users_Group] Are ASpace-created ref IDs unique?

Andrew Morrison andrew.morrison at bodleian.ox.ac.uk
Fri Mar 6 06:26:11 EST 2020


The ref ID, when not imported or migrated from another source, is generated here:

https://github.com/archivesspace/archivesspace/blob/master/backend/app/model/archival_object.rb#L42

It is a 32-character hexadecimal string, therefore 16^32 permutations. Uniqueness cannot be guaranteed, but duplicates are very unlikely.

Andrew.


On Fri, 2020-03-06 at 01:00 +0000, Teresa Soleau wrote:

All,

We are considering using the component ref IDs in ASpace as a unique ID outside of the system (to link up with our digitized collections and other metadata repos). However, we're not sure that they are unique across all resources in our instance of ASpace. We found some cases where two different archival object had the same ref ID. They are of the type that migrated in from Archivist's Toolkit (example: ref118_up1) so it may be a legacy issue, but I wanted to confirm with someone who knows that the ASpace created ref IDs are going to be unique across our whole instance of ASpace.

Thanks,
~Teresa
Teresa Soleau
Digital Preservation & Library Systems Manager
Collection & Content Management Systems
The J. Paul Getty Trust
T (310) 440 7601  |  getty.edu<http://www.getty.edu/>

[../../Getty_Logo_EmailSig.png]








_______________________________________________
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org<mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20200306/fbe0b9ea/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 4191 bytes
Desc: image001.png
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20200306/fbe0b9ea/attachment.png>


More information about the Archivesspace_Users_Group mailing list