How do we validate resources on DSTU 2 against custom