← API reference
CANONICAL TYPE REFERENCE

PreflightReport

The exact PrepressKit preflight analysis result

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

Number of pages in the document

fileSizeString!

File size in bytes (string; GraphQL Int is 32-bit)

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

pdfVersionString!

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

producerString!

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

Name of the preflight profile the document was analysed against

passedBoolean!

True only when status is PASS — i.e. no errors and no warnings

Every finding raised by the profile, at any severity

The full forensic document inventory, produced regardless of verdict

Which profile and engine version produced this report, and when

PDF/X conformance verdict; null unless a PDF/X profile was used (PDF_X1A / PDF_X3 / PDF_X4 / PDF_X_CLAIMED)

View exact SDL
"""The exact PrepressKit preflight analysis result"""
type PreflightReport {
  """
  Overall verdict: PASS (clean), WARNING, or FAIL (error-severity findings)
  """
  status: PreflightStatus!
  """Number of pages in the document"""
  pageCount: Int!
  """File size in bytes (string; GraphQL Int is 32-bit)"""
  fileSize: String!
  """
  Pages successfully analysed (≤ `pageCount`). A page that fails to render is reported as a structural issue and excluded here.
  """
  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!
  """True only when `status` is PASS — i.e. no errors and no warnings"""
  passed: Boolean!
  """Every finding raised by the profile, at any severity"""
  issues: [PreflightIssue!]!
  """The full forensic document inventory, produced regardless of verdict"""
  inventory: DocumentInventory!
  """Which profile and engine version produced this report, and when"""
  provenance: RunProvenance!
  """
  PDF/X conformance verdict; null unless a PDF/X profile was used (PDF_X1A / PDF_X3 / PDF_X4 / PDF_X_CLAIMED)
  """
  conformance: ConformanceVerdict
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.