metadata conventions for refs