src/pds_doi_service/core/outputs/doi_validator.py
def validate_release_request(self, doi: Doi):
        """
        Perform the suite of validation checks applicable to a release request
        on the provided Doi object.

        Parameters
        ----------
        doi : Doi
            The parsed Doi object to validate.

        """
        # For release requests, need to check if there are any other DOI records
        # using the same PDS identifier
        if doi.doi:
            self._check_for_preexisting_doi(doi)

        self._check_node_id(doi)
        self._check_identifier_fields(doi)
        self._check_lidvid_field(doi)
        self._check_field_title_duplicate(doi)
        self._check_field_title_content(doi)

        # Release requests require a valid URL assigned, so check for that here
        self._check_field_site_url(doi)

        Perform the suite of validation checks applicable to a release request
        on the provided Doi object.

        Parameters
        ----------
        doi : Doi
            The parsed Doi object to validate.

        
Perform the suite of validation checks applicable to a release request
on the provided Doi object.

Parameters

doi : Doi
The parsed Doi object to validate.
Perform the suite of validation checks applicable to a release request on the provided Doi object . Parameters doi : Doi The parsed Doi object to validate .
def validate_release_request(self, doi: Doi):
        if doi.doi:
            self._check_for_preexisting_doi(doi)
        self._check_node_id(doi)
        self._check_identifier_fields(doi)
        self._check_lidvid_field(doi)
        self._check_field_title_duplicate(doi)
        self._check_field_title_content(doi)
        self._check_field_site_url(doi)
def validate_release_request ( self , doi : Doi ) : if doi . doi : self . _check_for_preexisting_doi ( doi ) self . _check_node_id ( doi ) self . _check_identifier_fields ( doi ) self . _check_lidvid_field ( doi ) self . _check_field_title_duplicate ( doi ) self . _check_field_title_content ( doi ) self . _check_field_site_url ( doi )
Perform the suite of validation checks applicable to a release request
on the provided Doi object.
Perform the suite of validation checks applicable to a release request on the provided Doi object .
"""
        Perform the suite of validation checks applicable to a release request
        on the provided Doi object.

        Parameters
        ----------
        doi : Doi
            The parsed Doi object to validate.

        """ # For release requests, need to check if there are any other DOI records # using the same PDS identifier # Release requests require a valid URL assigned, so check for that here
self
doi
Doi