pub fn verify(raw: RawDoc) -> Result<Doc, DocVerification>Expand description
Verify the document.
This ensures performs the verification of the RawDoc into the Doc,
while also checking the Project and CanonicalRefs will also
deserialize correctly.