remove resource_ref from verifications, make unnecessary fields nullable