schema for user.ref