def validate_reference_data(self, ref_data):
        """Validate the reference data.

        Zotero.check_items() caches data after the first API call.
        """
        try:
            self._zotero_lib.check_items([ref_data])
        except InvalidItemFields as e:
            raise InvalidZoteroItemError from e
def validate_reference_data ( self , ref_data ) : try : self . _zotero_lib . check_items ( [ ref_data ] ) except InvalidItemFields as e : raise InvalidZoteroItemError from e
Validate the reference data.

        Zotero.check_items() caches data after the first API call.