mecadoi.crossref.verify

Functions for verifying that a Crossref deposition file is valid.

The DOIs to be assigned to reviews and replies by the deposition file are checked against the Early Evidence Base (EEB) API. EEB’s API is checked because the DOIs will resolve to pages there.

The EEB API must return the same number of reviews and replies as the deposition file wants to create, and the reviews and replies must not have any DOI assigned yet.

Functions

verify(deposition_file)

Checks that all DOIs to be created from the given deposition file resolve to an actual document.

Classes

VerificationResult(preprint_doi[, ...])

The result of verifying a Crossref deposition file.