sempdf
sempdf v1.9.1Interfaces

Interface: VeraPdfValidateOptions

sempdf v1.9.1


sempdf / VeraPdfValidateOptions

Defined in: src/internal/verapdf-validate.ts:10

Options for validateWithVeraPdf.

The adapter is an optional peer integration: it shells out to a veraPDF executable when one is available, and otherwise returns the supplied custom checker results. It never bundles veraPDF and pulls no extra dependencies.

Properties

PropertyTypeDescriptionDefined in
conformance?DocumentConformanceProfileThe intended conformance profile. Used to pick a veraPDF flavour when one is not given explicitly. When omitted, veraPDF auto-detects from the file.src/internal/verapdf-validate.ts:15
fallbackIssues?readonly PdfComplianceIssue[]Issues from the built-in checker (e.g. doc.validateCompliance()). Returned as-is when veraPDF is not available so callers always get a useful result.src/internal/verapdf-validate.ts:30
flavour?stringExplicit veraPDF flavour string (e.g. "1b", "2b", "ua1"). Overrides the value derived from conformance.src/internal/verapdf-validate.ts:20
timeoutMs?numberMaximum time to wait for veraPDF, in milliseconds. Defaults to 60000.src/internal/verapdf-validate.ts:32
verapdfBin?stringPath to the veraPDF executable. Defaults to the VERAPDF_BIN environment variable, then "verapdf" on the PATH.src/internal/verapdf-validate.ts:25

On this page