Bayesian P-Value Interpretation

Hello. I have a question on Bayesian p-value interpretation.

When I plot the arviz bayesian p-value, is the idea that the distributions should match closely to each other and close to .5? Is the dotted line supposed to be the u-value as the references from the arviz docs states and the dotted line the posterior predictive distribution?