I want to add a field to my database that stores DOIs. But I can't seem to find out what their maximum length is. Does anyone know if there is a maximum length?
never mind, I found it:
https://www.doi.org/the-identifier/resources/handbook/1_introduction#1.6.3
DOI names have two components, known as the prefix and the suffix. These are separated by a forward slash. The two components together form the DOI name:
10.1000/123456
In this example, the prefix is "10.1000" and the suffix is "123456".
There is no technical limitation on the length of either the prefix or the suffix; in theory, at least, there is an infinite number of DOI names available.
From a 100K sample, I would go for 255 as max length to be on the safe side...
On the y-axis the length of the DOI and on the x-axis you have the count of DOIs. So, we have 20k DOIs out of 100K that have a DOI length of ~63 or more.
x
and what's on the y
? –
Doiron never mind, I found it:
https://www.doi.org/the-identifier/resources/handbook/1_introduction#1.6.3
DOI names have two components, known as the prefix and the suffix. These are separated by a forward slash. The two components together form the DOI name:
10.1000/123456
In this example, the prefix is "10.1000" and the suffix is "123456".
There is no technical limitation on the length of either the prefix or the suffix; in theory, at least, there is an infinite number of DOI names available.
© 2022 - 2024 — McMap. All rights reserved.