I am calculating the nuclear magnetic moment of aluminium-27 (Z=13). By looking at a nuclear energy diagram it can be seen that $$j=\frac{5}{2}, s=\frac{1}{2}, l=2.$$ Since there are an even number of neutrons and an odd number of protons, we are concerned with just the final odd proton, since the rest of the nucleons will pair up, resulting in a net magnetic moment of zero.
We must now decide on which Schmidt line to use when calculating the g-factor, the two choices being that corresponding to $j=l+\frac{1}{2}$: $$g_J=\Big(1+\frac{1}{2j}\Big)g_l+\frac{1}{2j}g_s$$ or $j=l-\frac{1}{2}$: $$g_J=\frac{1}{j+1}\Big[\Big(j+\frac{3}{2}\Big)g_l-\frac{1}{2}g_s\Big].$$
Once this has been decided, we can simply use $$\mu_J=g_J\mu_Nj.$$
But how can I decide on which one? I am thinking that it would depend on whether the off nucleon is spin up or spin down, but then how would you know that?