# DOI in biblatex's AIP citation style - just the number?

I use \usepackage[style=phys,doi=true,eprint=true,biblabel=brackets]{biblatex} to implement the AIP citation style with minor changes (showing DOI, using brackets instead of superscript, show arXiv by using eprinttype=arXiv).

Now I've noticed that the DOI is given like

Author John, "Johns text",. Johns Journal 11, 10-12 (2020) 10.1119/1.123456

(meaning without the mention, that this number is a doi).

The arXiv is given as

Author John, "Johns Text", 2013, arXiv:1234.5678

I was wondering if (in the AIP style) it is correct to NOT display e.g.

"DOI: 1234..."

and if so, how one could make this happen (since it might be confusing when I do so for arXiv but not for DOI).

Strictly speaking the question of how DOIs should be displayed is off-topic here. But as far as I can see in published papers, the AIP does not show the DOI at all. Instead the journal name is linked to the DOI. (See e.g. https://aip.scitation.org/doi/pdf/10.1063/5.0076244. In the HTML version of the paper https://aip.scitation.org/doi/10.1063/5.0076244 the bibliography has the full DOI link).

If you want the DOI prefix, you can add it as follows

\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{csquotes}

\usepackage[backend=biber, style=phys, doi=true]{biblatex}

\DeclareFieldFormat{doi}{%
\ifhyperref

\begin{document}
Lorem \autocite{sigfridsson}

\printbibliography
\end{document}


If you want to mimic the HTML version of the bibliography, something like

\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{csquotes}

\usepackage[backend=biber, style=phys, doi=true]{biblatex}

\DeclareFieldFormat{doi}{%
\url{https://doi.org/#1}}