validatePdfABasics

Runs a quick, dependency-free self-check of pdf for the entries a PDF/A reader expects, returning human-readable findings (one per issue). An empty list means none of the checked problems were found.

Checks performed:

  • missing XMP metadata packet on the catalog,

  • missing output intent (PDF/A requires a defined output colour space),

  • any non-embedded font found across the pages' resources (PDFont.isEmbedded),

  • the document being encrypted (PDF/A forbids encryption).

This is a quick heuristic, not a validator. It does not parse the XMP for the correct pdfaid part/conformance, check colour spaces, verify the structure tree, or anything else veraPDF does — a clean result here does not imply PDF/A conformance. Use veraPDF for an authoritative verdict.

Return

a list of findings; empty when no checked issue was detected.

Parameters

pdf

the PDF bytes to inspect.