scan resource annotation