← All types
PrepressIn Input object

PreflightReportInput

Input mirror of the PrepressKit PreflightReport tree — the whole engine result, supplied verbatim when a report is upserted from outside the engine

Fields

Overall verdict: PASS (clean), WARNING, or FAIL (error-severity findings)

Possible values (3)
PASS

No finding worse than INFO was raised. Informational findings may still be present — only WARNING and ERROR move the verdict.

WARNING

At least one WARNING finding and no ERROR. The file is usable but something needs a human decision before it goes to press.

FAIL

At least one ERROR finding. The verdict is the worst severity present, so a single error fails the document however many rules passed.

pageCount

Int!Required

Number of pages in the document

fileSize

Int!Required

File size in bytes

Pages successfully analysed (≤ pageCount); a page that failed to render is excluded here and reported as a structural issue

PDF version from the file header, e.g. "1.7"

The /Producer string — the library that wrote the PDF; empty when absent

Name of the preflight profile the document was analysed against

Every finding raised by the profile, at any severity

The full forensic document inventory, supplied regardless of verdict

Which profile and engine version produced this report, and when

PDF/X conformance verdict; omit unless a PDF/X profile was used

Referenced by (1)
Exact type SDL
"""
Input mirror of the PrepressKit PreflightReport tree — the whole engine result, supplied verbatim when a report is upserted from outside the engine
"""
input PreflightReportInput {
  """
  Overall verdict: PASS (clean), WARNING, or FAIL (error-severity findings)
  """
  status: PreflightStatus!
  """Number of pages in the document"""
  pageCount: Int!
  """File size in bytes"""
  fileSize: Int!
  """
  Pages successfully analysed (≤ `pageCount`); a page that failed to render is excluded here and reported as a structural issue
  """
  pagesAnalyzed: Int!
  """
  PDF version from the file header, e.g. "1.7"
  """
  pdfVersion: String!
  """
  The `/Producer` string — the library that wrote the PDF; empty when absent
  """
  producer: String!
  """Name of the preflight profile the document was analysed against"""
  profileUsed: String!
  """Every finding raised by the profile, at any severity"""
  issues: [PreflightIssueInput!]!
  """The full forensic document inventory, supplied regardless of verdict"""
  inventory: DocumentInventoryInput!
  """Which profile and engine version produced this report, and when"""
  provenance: RunProvenanceInput!
  """PDF/X conformance verdict; omit unless a PDF/X profile was used"""
  conformance: ConformanceVerdictInput
}