> ## Documentation Index
> Fetch the complete documentation index at: https://filecheck.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Update a preflight profile

> A JSON Merge Patch (RFC 7396): send only what changes. Objects merge key by key, `null` removes a key, arrays replace the whole list. Patching a catalog preflight profile saves your own copy under the same id (`customized: true`), which you can undo with revert.



## OpenAPI

````yaml /openapi.json patch /profiles/{id}
openapi: 3.1.0
info:
  title: Filecheck API
  version: 1.1.0
  description: >-
    The Filecheck REST API. Submit files as jobs and fetch results, and set up
    your account: workflows, upload rules, preflight profiles, connectors,
    optimize presets, delivery destinations, product mappings, storefront
    settings and webhooks. All requests are authenticated server-side with your
    secret key (`sk_live_…`).
servers:
  - url: https://api.filecheck.io
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Jobs
    description: >-
      Submit files for preflight, fixing, optimization, validation and previews,
      and read the results.
  - name: Uploads
    description: Presigned credentials to upload large files directly.
  - name: Orders
    description: Attach jobs to commerce orders.
  - name: Workflows
    description: >-
      What happens to a customer's files for a product: the intake rule that
      checks them on upload, the processing streams, proofing, merging and
      delivery. Products in your store map to a workflow.
  - name: Rules
    description: >-
      Upload rules: which files a product accepts (kinds, MIME types, how many),
      which preflight profile checks each kind, and what happens when a file
      fails. A workflow's intake points at one rule.
  - name: Profiles
    description: >-
      Preflight profiles: the checks run on a file (size, bleed, resolution,
      colour, fonts…) with their thresholds, severities and automatic fixes. PDF
      profiles check PDFs (and vector and office files once converted); raster
      profiles check images.
  - name: Connectors
    description: >-
      Connectors wire a product page to the Element: what the shopper chose
      (size, page count, sides, finishing) adjusts the rule's size checks for
      that upload, and what FileCheck measured in the file (page count, size,
      area) can fill the page's own inputs so the store prices from the real
      file. The cart plugins store the chosen connector per product.
  - name: Optimize presets
    description: >-
      Saved optimize settings (compression, downsampling, colour conversion)
      that optimize steps can use.
  - name: Destinations
    description: >-
      Where finished files are delivered: SFTP and FTP hotfolders, S3 buckets,
      webhooks. Workflows list the destinations they deliver to. Secrets are
      write-only.
  - name: Products
    description: >-
      Which workflow each product in your store uses. The storefront Element
      opens the mapped workflow on the product page.
  - name: Settings
    description: >-
      How the storefront Element appears on your product pages: where it mounts,
      the add-to-cart button it guards, display mode and theme.
  - name: Webhooks
    description: >-
      HTTP callbacks for job, proof, account and billing events, signed with
      X-FileCheck-Signature.
paths:
  /profiles/{id}:
    patch:
      tags:
        - Profiles
      summary: Update a preflight profile
      description: >-
        A JSON Merge Patch (RFC 7396): send only what changes. Objects merge key
        by key, `null` removes a key, arrays replace the whole list. Patching a
        catalog preflight profile saves your own copy under the same id
        (`customized: true`), which you can undo with revert.
      operationId: updateProfile
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: The preflight profile id.
        - name: dryRun
          in: query
          schema:
            type: boolean
            default: false
          description: >-
            Validate and check references without saving: the response shows the
            record as it would be saved.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Profile'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  profile:
                    allOf:
                      - $ref: '#/components/schemas/Profile'
                      - $ref: '#/components/schemas/RecordFields'
                  dryRun:
                    type: boolean
                    description: Present and true when nothing was saved.
        '400':
          description: >-
            Invalid request: `code` says why, `param` names the field, `details`
            lists every problem
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: >-
            Conflict: `code` says why (in_use, draft_reference, not_a_draft,
            not_a_catalog_record, cart_not_supported)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Profile:
      title: Profile
      description: >-
        A preflight profile: the checks FileCheck runs on an uploaded file, each
        with its settings (target), how a failure is judged (severity) and
        whether it is repaired automatically. There are two kinds. A PDF profile
        (kind omitted or 'pdf') checks PDFs, and vector and office files once
        converted to PDF; its checks sit in the sections geometry (geom.*),
        color (color.*), text (text.*), images (image.*) and structure
        (struct.*). A raster profile (kind: 'raster') checks image uploads
        (JPEG, PNG, TIFF and so on) with the single section raster (raster.*).
        An upload rule points at profiles through
        rule.accepts[].preflight.profileId: pdf, vector and office accepts need
        a PDF profile, raster accepts a raster profile. A check runs only when
        both its section's enabled and its own enabled are true; everything
        omitted is off. Each check has a severity. reject: a failing file is
        rejected (shown as a warning instead when the upload rule's onFail is
        not reject). warn: it passes with a warning. ignore: the finding is
        recorded but never fails or warns. autofix: the customer is told
        FileCheck repairs it, and the finding is judged as reject when this file
        is beyond the repair; autofix is accepted only on checks that have a
        repair (their description says Autofix: …). Repairs run only in
        workflows with an autofix step, which repairs every failed check that
        has a repair whatever its severity, so to stop a repair disable the
        check. Units are in the field names: _mm millimetres, _pt points (1/72
        in), _dpi or dpi pixels per inch, percent, _px pixels, _mb megabytes.
        Unknown check ids, a check in the wrong section and misspelled settings
        are refused.
      type: object
      additionalProperties: false
      required:
        - sections
      properties:
        title:
          type: string
          minLength: 1
          maxLength: 120
          description: >-
            Name shown in the dashboard and in the profile picker of upload
            rules, e.g. 'Business cards 85 x 55 mm'. Keep it under 45
            characters, the dashboard editor's limit; the dashboard will not
            save a profile without one.
        description:
          type: string
          maxLength: 2000
          default: ''
          description: >-
            Note for the print shop: what the profile is for. Shown in the
            dashboard editor of PDF profiles; never shown to customers.
        kind:
          enum:
            - pdf
            - raster
          description: >-
            'raster' for an image profile; 'pdf' or omitted for a PDF profile.
            Decides which sections are valid: changing it on an existing profile
            means replacing its sections too, and upload rules pointing at it
            must match the new kind.
        metadata:
          type: object
          additionalProperties: false
          description: Legacy metadata carried by built-in catalog profiles.
          properties:
            kind:
              enum:
                - pdf
                - raster
              description: >-
                Legacy copy of kind. Must agree with kind; 'raster' here without
                kind: 'raster' is refused because the dashboard would open the
                profile as a PDF profile and drop its raster checks.
            description:
              type: string
              maxLength: 2000
              description: >-
                Catalog blurb of built-in profiles; not shown anywhere. Use
                description instead.
        tags:
          type: array
          items:
            type: string
            minLength: 1
            maxLength: 64
          uniqueItems: true
          description: >-
            Free-form labels for your own organisation, e.g. ['business-cards',
            'cmyk']. Not shown to customers.
        schemaVersion:
          enum:
            - 1
          default: 1
          description: Record format version. Always 1.
        sections:
          type: object
          description: >-
            The checks, grouped in sections keyed by section id. PDF profiles:
            geometry (geom.* checks), color (color.*), text (text.*), images
            (image.*), structure (struct.*) and page_rules (reserved, keep
            empty). Raster profiles: raster (raster.*). Each section is {
            enabled, rules: { <check id>: { enabled, severity, target,
            autofixStrategy } } }. To change one setting, PATCH only that path,
            e.g. { "sections": { "geometry": { "rules": { "geom.bleed.required":
            { "target": { "required_mm": 3 } } } } } }; when enabling a check,
            also send its section's enabled: true.
      allOf:
        - if:
            type: object
            required:
              - metadata
            properties:
              metadata:
                type: object
                required:
                  - kind
                properties:
                  kind:
                    const: raster
          then:
            type: object
            required:
              - kind
            properties:
              kind:
                const: raster
        - if:
            type: object
            required:
              - kind
            properties:
              kind:
                const: raster
          then:
            properties:
              metadata:
                type: object
                properties:
                  kind:
                    const: raster
        - if:
            type: object
            required:
              - sections
            properties:
              sections:
                type: object
                anyOf:
                  - required:
                      - geometry
                  - required:
                      - color
                  - required:
                      - text
                  - required:
                      - images
                  - required:
                      - structure
                  - required:
                      - page_rules
          then:
            properties:
              kind:
                enum:
                  - pdf
        - if:
            type: object
            required:
              - sections
            properties:
              sections:
                type: object
                required:
                  - raster
          then:
            type: object
            required:
              - kind
            properties:
              kind:
                const: raster
        - if:
            anyOf:
              - type: object
                required:
                  - kind
                properties:
                  kind:
                    const: raster
              - type: object
                required:
                  - metadata
                properties:
                  metadata:
                    type: object
                    required:
                      - kind
                    properties:
                      kind:
                        const: raster
          then:
            properties:
              sections:
                $ref: '#/components/schemas/Profile/definitions/rasterSections'
          else:
            properties:
              sections:
                $ref: '#/components/schemas/Profile/definitions/pdfSections'
      definitions:
        noTarget:
          type:
            - object
            - 'null'
          additionalProperties: false
          description: 'This check has no settings: omit target, or send null or {}.'
        ruleEnabled:
          type: boolean
          default: false
          description: >-
            true runs this check; false or omitted leaves it off. Its section's
            enabled must also be true.
        legacyMessage:
          type:
            - string
            - 'null'
          maxLength: 2000
          description: >-
            Legacy free-text note stored by older dashboards. Not shown to
            customers (their messages come from FileCheck's built-in text for
            each check id); leave null or omit.
        sectionEnabled:
          type: boolean
          description: >-
            Must be true for any check in this section to run: the runtime skips
            the whole section otherwise, whatever the checks say. Keep it true
            exactly when at least one check is enabled, as the dashboard does;
            it is refused as false or missing while a check in the section is
            enabled.
        geom.page_count:
          type: object
          additionalProperties: false
          description: >-
            Number of pages. Fails when the count is not one of allowed (if
            set), or is below min or above max; every limit you set must hold. A
            page count chosen on the storefront product page replaces min and
            max for that order. No automatic repair.
          properties:
            id:
              const: geom.page_count
              description: The check id, 'geom.page_count'. Optional; must equal the key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - ignore
              default: warn
              description: >-
                reject, warn or ignore. Omitted = warn. autofix is refused: this
                check has no repair, and an autofix finding would promise the
                customer a fix that never happens.
            autofixStrategy:
              enum:
                - null
              description: >-
                Display label for the repair. No label exists for this check:
                leave it null or omit it.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                min:
                  type:
                    - integer
                    - 'null'
                  minimum: 1
                  description: Fewest pages accepted. null or omitted = no lower limit.
                max:
                  type:
                    - integer
                    - 'null'
                  minimum: 1
                  description: Most pages accepted. null or omitted = no upper limit.
                allowed:
                  type: array
                  items:
                    type: integer
                    minimum: 1
                  uniqueItems: true
                  description: >-
                    Exact page counts accepted, e.g. [1, 2] for one- or
                    two-sided. Empty or omitted = any count within min and max.
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
          allOf:
            - if:
                type: object
                required:
                  - enabled
                properties:
                  enabled:
                    const: true
              then:
                type: object
                required:
                  - target
                properties:
                  target:
                    type: object
                    anyOf:
                      - required:
                          - min
                        properties:
                          min:
                            type: integer
                      - required:
                          - max
                        properties:
                          max:
                            type: integer
                      - required:
                          - allowed
                        properties:
                          allowed:
                            type: array
                            minItems: 1
        geom.page_size:
          type: object
          additionalProperties: false
          description: >-
            Finished page size. Each page's trim size (its TrimBox when it has
            one, else the visible page) must match one of allowed within
            tolerance_mm, in either orientation. A page with no TrimBox that is
            an allowed size plus an even margin on every side is read as trim +
            bleed when geom.bleed.required asks for bleed on all sides. A size
            chosen on the storefront product page replaces allowed for that
            order. Autofix: rescales the document to the nearest allowed size
            when every page misses by no more than autofix_within_percent and
            all pages need the same size; with fit_mode on, fits each page onto
            the product size instead. A file beyond the repair is judged as
            reject.
          properties:
            id:
              const: geom.page_size
              description: The check id, 'geom.page_size'. Optional; must equal the key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - autofix
                - ignore
              default: warn
              description: >-
                reject, warn, ignore or autofix (FileCheck repairs it; judged as
                reject when this file is beyond the repair). Omitted = warn.
                Severity only decides how a failure is judged: a workflow
                autofix step repairs every failed check that has a repair,
                whatever its severity.
            autofixStrategy:
              enum:
                - rescale-page
                - null
              description: >-
                Display label for the repair, shown in the dashboard; the
                runtime picks the repair from the check id and ignores this
                field. Known labels: 'rescale-page'. null or omitted is fine.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                allowed:
                  type: array
                  description: >-
                    Accepted finished (trim) sizes in millimetres, without
                    bleed. Either orientation passes: 85 x 55 also accepts 55 x
                    85. US sizes in mm: 8.5 x 11 in = 215.9 x 279.4. Required
                    (non-empty) when the check is enabled.
                  items:
                    type: object
                    additionalProperties: false
                    required:
                      - width_mm
                      - height_mm
                    properties:
                      width_mm:
                        type: number
                        description: Finished width in mm.
                        exclusiveMinimum: 0
                        maximum: 10000
                      height_mm:
                        type: number
                        description: Finished height in mm.
                        exclusiveMinimum: 0
                        maximum: 10000
                tolerance_mm:
                  type: number
                  description: >-
                    How far, in mm, each side may differ from an allowed size
                    and still pass. Default 0.5.
                  minimum: 0
                  maximum: 50
                  default: 0.5
                autofix_within_percent:
                  type: number
                  description: >-
                    Near-miss rescale window, in percent of the size: the repair
                    rescales only pages within this distance of an allowed size.
                    Default 10; 0 is read as 10, so to keep the rescale from
                    ever applying use a tiny value such as 0.1. Ignored when
                    fit_mode is on.
                  minimum: 0
                  maximum: 100
                  default: 10
                fit_mode:
                  enum:
                    - 'off'
                    - contain
                    - cover
                  default: 'off'
                  description: >-
                    Fit to product size, for files of any size. off (default):
                    only the near-miss rescale. contain: scale the design to fit
                    inside the product, whole design visible, gaps filled per
                    fit_fill. cover: scale to fill the product, overflow
                    cropped.
                fit_fill:
                  enum:
                    - mirror
                    - white
                  default: mirror
                  description: >-
                    With fit_mode on: mirror (default) fills gaps and bleed by
                    reflecting the artwork edges; white leaves gaps white and
                    mirrors only the bleed where artwork meets the cut.
                fit_max_scale:
                  type: number
                  description: >-
                    With fit_mode on: the largest enlargement factor, and its
                    reciprocal the largest reduction. Default 2 (from half to
                    double size); files needing more are not repaired.
                  minimum: 1
                  maximum: 10
                  default: 2
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
          allOf:
            - if:
                type: object
                required:
                  - enabled
                properties:
                  enabled:
                    const: true
              then:
                type: object
                required:
                  - target
                properties:
                  target:
                    type: object
                    required:
                      - allowed
                    properties:
                      allowed:
                        type: array
                        minItems: 1
        geom.orientation:
          type: object
          additionalProperties: false
          description: >-
            Page orientation: every page must be the allowed orientation
            (portrait = taller than wide, landscape = wider than tall, square =
            equal sides). No automatic repair.
          properties:
            id:
              const: geom.orientation
              description: The check id, 'geom.orientation'. Optional; must equal the key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - ignore
              default: warn
              description: >-
                reject, warn or ignore. Omitted = warn. autofix is refused: this
                check has no repair, and an autofix finding would promise the
                customer a fix that never happens.
            autofixStrategy:
              enum:
                - null
              description: >-
                Display label for the repair. No label exists for this check:
                leave it null or omit it.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                allowed:
                  enum:
                    - portrait
                    - landscape
                    - square
                  description: >-
                    The one orientation accepted. There is no 'any': to accept
                    any orientation, disable the check (the value 'any' would
                    fail every page). Required when the check is enabled.
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
          allOf:
            - if:
                type: object
                required:
                  - enabled
                properties:
                  enabled:
                    const: true
              then:
                type: object
                required:
                  - target
                properties:
                  target:
                    type: object
                    required:
                      - allowed
        geom.bleed.required:
          type: object
          additionalProperties: false
          description: >-
            Bleed: how far the bleed area (BleedBox, else the page edge) extends
            past the trim (TrimBox) on each checked edge, which must be
            required_mm plus or minus tolerance_mm. Pages without a TrimBox are
            judged by their BleedBox margins, or read as trim + bleed when
            geom.page_size allows the inner size. Too much bleed fails too.
            Autofix: rebuilds the page boxes to exactly required_mm of bleed and
            fills the new strip per fill. Not offered for a document whose pages
            disagree.
          properties:
            id:
              const: geom.bleed.required
              description: >-
                The check id, 'geom.bleed.required'. Optional; must equal the
                key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - autofix
                - ignore
              default: warn
              description: >-
                reject, warn, ignore or autofix (FileCheck repairs it; judged as
                reject when this file is beyond the repair). Omitted = warn.
                Severity only decides how a failure is judged: a workflow
                autofix step repairs every failed check that has a repair,
                whatever its severity.
            autofixStrategy:
              enum:
                - add-bleed
                - null
              description: >-
                Display label for the repair, shown in the dashboard; the
                runtime picks the repair from the check id and ignores this
                field. Known labels: 'add-bleed'. null or omitted is fine.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                required_mm:
                  type: number
                  description: >-
                    Bleed each checked edge must have, in mm, e.g. 3 (1/8 in =
                    3.175). Default 3.
                  exclusiveMinimum: 0
                  maximum: 100
                  default: 3
                tolerance_mm:
                  type: number
                  description: >-
                    Allowed difference from required_mm, in mm, either way.
                    Default 0.2.
                  minimum: 0
                  maximum: 50
                  default: 0.2
                sides:
                  type: array
                  items:
                    enum:
                      - all
                      - top
                      - right
                      - bottom
                      - left
                  uniqueItems: true
                  default:
                    - all
                  description: >-
                    Edges to check: ['all'] (default) or any of 'top', 'right',
                    'bottom', 'left'. Empty = all edges.
                fill:
                  enum:
                    - none
                    - mirror
                    - scale
                  default: none
                  description: >-
                    How the repair fills the new bleed strip. none (default):
                    only sets the page boxes, for artwork that already runs past
                    the trim. mirror: reflects the edge artwork into the strip.
                    scale: enlarges the page content slightly to cover it.
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        geom.bleed.content_coverage:
          type: object
          additionalProperties: false
          description: >-
            Artwork in the bleed: whether the printed content really extends
            required_mm past the trim (or reaches the page edge when there is no
            TrimBox), so no white slivers show after cutting. Blank pages are
            skipped; crop marks outside the trim can hide a bare edge. Autofix:
            adds bleed by mirroring or scaling the edge artwork. When
            geom.bleed.required fails on the same file one bleed pass runs and
            the first fill seen wins (normally geom.bleed.required's), so give
            that check a fill of mirror or scale too.
          properties:
            id:
              const: geom.bleed.content_coverage
              description: >-
                The check id, 'geom.bleed.content_coverage'. Optional; must
                equal the key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - autofix
                - ignore
              default: warn
              description: >-
                reject, warn, ignore or autofix (FileCheck repairs it; judged as
                reject when this file is beyond the repair). Omitted = warn.
                Severity only decides how a failure is judged: a workflow
                autofix step repairs every failed check that has a repair,
                whatever its severity.
            autofixStrategy:
              enum:
                - add-bleed
                - null
              description: >-
                Display label for the repair, shown in the dashboard; the
                runtime picks the repair from the check id and ignores this
                field. Known labels: 'add-bleed'. null or omitted is fine.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                required_mm:
                  type: number
                  description: >-
                    How far artwork must extend past the trim on each checked
                    edge, in mm. Default 3.
                  exclusiveMinimum: 0
                  maximum: 100
                  default: 3
                tolerance_mm:
                  type: number
                  description: >-
                    How much short of required_mm still passes, in mm. Default
                    0.5.
                  minimum: 0
                  maximum: 50
                  default: 0.5
                sides:
                  type: array
                  items:
                    enum:
                      - all
                      - top
                      - right
                      - bottom
                      - left
                  uniqueItems: true
                  default:
                    - all
                  description: >-
                    Edges to check: ['all'] (default) or any of 'top', 'right',
                    'bottom', 'left'. Empty = all edges.
                fill:
                  enum:
                    - mirror
                    - scale
                  default: mirror
                  description: >-
                    How the repair synthesises artwork in the strip: mirror
                    (default) reflects the edge artwork, scale enlarges the
                    content slightly.
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        geom.trim.required:
          type: object
          additionalProperties: false
          description: >-
            Trim box: every page must declare a TrimBox inset from the page edge
            (MediaBox) by required_mm plus or minus tolerance_mm on each checked
            edge; a page without one fails. For bleed use geom.bleed.required.
            Autofix: sets the TrimBox to the MediaBox inset by required_mm on
            all four edges (sides is not applied to the repair).
          properties:
            id:
              const: geom.trim.required
              description: >-
                The check id, 'geom.trim.required'. Optional; must equal the
                key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - autofix
                - ignore
              default: warn
              description: >-
                reject, warn, ignore or autofix (FileCheck repairs it; judged as
                reject when this file is beyond the repair). Omitted = warn.
                Severity only decides how a failure is judged: a workflow
                autofix step repairs every failed check that has a repair,
                whatever its severity.
            autofixStrategy:
              enum:
                - add-trim
                - null
              description: >-
                Display label for the repair, shown in the dashboard; the
                runtime picks the repair from the check id and ignores this
                field. Known labels: 'add-trim'. null or omitted is fine.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                required_mm:
                  type: number
                  description: >-
                    Inset of the TrimBox from the page edge, in mm. Default 0
                    (trim at the page edge).
                  minimum: 0
                  maximum: 100
                  default: 0
                tolerance_mm:
                  type: number
                  description: >-
                    Allowed difference from required_mm, in mm, either way.
                    Default 0.2.
                  minimum: 0
                  maximum: 50
                  default: 0.2
                sides:
                  type: array
                  items:
                    enum:
                      - all
                      - top
                      - right
                      - bottom
                      - left
                  uniqueItems: true
                  default:
                    - all
                  description: >-
                    Edges to check: ['all'] (default) or any of 'top', 'right',
                    'bottom', 'left'. Empty = all edges.
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        geom.safety_margin:
          type: object
          additionalProperties: false
          description: >-
            Safe zone: flags text placed closer than min_mm to the trim edge.
            Only text is measured, not images or shapes. It shares one
            measurement with text.edge_safe_zone: when both are enabled the
            larger distance applies to both. No automatic repair.
          properties:
            id:
              const: geom.safety_margin
              description: >-
                The check id, 'geom.safety_margin'. Optional; must equal the
                key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - ignore
              default: warn
              description: >-
                reject, warn or ignore. Omitted = warn. autofix is refused: this
                check has no repair, and an autofix finding would promise the
                customer a fix that never happens.
            autofixStrategy:
              enum:
                - null
              description: >-
                Display label for the repair. No label exists for this check:
                leave it null or omit it.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                min_mm:
                  type: number
                  description: >-
                    Minimum distance of text from the trim edge, in mm, e.g. 3
                    to 5. Omitted = the analyzer default, 3 mm (8.5 pt).
                  minimum: 0
                  maximum: 50
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        geom.rotation:
          type: object
          additionalProperties: false
          description: >-
            Page rotation: each page's viewer rotation (/Rotate) must be one of
            allowed. Autofix: bakes the rotation into the content so pages
            become upright (0) and look the same. Only possible when 0 is
            allowed.
          properties:
            id:
              const: geom.rotation
              description: The check id, 'geom.rotation'. Optional; must equal the key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - autofix
                - ignore
              default: warn
              description: >-
                reject, warn, ignore or autofix (FileCheck repairs it; judged as
                reject when this file is beyond the repair). Omitted = warn.
                Severity only decides how a failure is judged: a workflow
                autofix step repairs every failed check that has a repair,
                whatever its severity.
            autofixStrategy:
              enum:
                - null
              description: >-
                Display label for the repair. No label exists for this check:
                leave it null or omit it.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                allowed:
                  type: array
                  items:
                    enum:
                      - 0
                      - 90
                      - 180
                      - 270
                  minItems: 1
                  uniqueItems: true
                  default:
                    - 0
                  description: >-
                    Accepted /Rotate values in degrees: any of 0, 90, 180, 270.
                    Default [0]. Must include 0 when severity is autofix.
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
          allOf:
            - if:
                type: object
                required:
                  - enabled
                  - severity
                properties:
                  enabled:
                    const: true
                  severity:
                    const: autofix
              then:
                type: object
                properties:
                  target:
                    type:
                      - object
                      - 'null'
                    properties:
                      allowed:
                        type: array
                        contains:
                          const: 0
        geom.consistent_page_sizes:
          type: object
          additionalProperties: false
          description: >-
            Mixed page sizes: fails when the pages are not all the same size
            (compared to 0.01 mm). No automatic repair.
          properties:
            id:
              const: geom.consistent_page_sizes
              description: >-
                The check id, 'geom.consistent_page_sizes'. Optional; must equal
                the key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - ignore
              default: warn
              description: >-
                reject, warn or ignore. Omitted = warn. autofix is refused: this
                check has no repair, and an autofix finding would promise the
                customer a fix that never happens.
            autofixStrategy:
              enum:
                - null
              description: >-
                Display label for the repair. No label exists for this check:
                leave it null or omit it.
            target:
              $ref: '#/components/schemas/Profile/definitions/noTarget'
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        geom.spread_vs_single:
          type: object
          additionalProperties: false
          description: >-
            Spreads versus single pages. NOT EVALUATED YET: the check is skipped
            and never reports, whatever its settings. No automatic repair.
          properties:
            id:
              const: geom.spread_vs_single
              description: >-
                The check id, 'geom.spread_vs_single'. Optional; must equal the
                key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - ignore
              default: warn
              description: >-
                reject, warn or ignore. Omitted = warn. autofix is refused: this
                check has no repair, and an autofix finding would promise the
                customer a fix that never happens.
            autofixStrategy:
              enum:
                - null
              description: >-
                Display label for the repair. No label exists for this check:
                leave it null or omit it.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                mode:
                  enum:
                    - single
                    - spreads
                    - either
                  description: >-
                    Expected layout: single pages, spreads, or either. Stored
                    only.
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        section.geometry:
          type: object
          additionalProperties: false
          description: >-
            Page geometry checks for PDF files: page count, finished size,
            orientation, bleed, trim box, safe zone, rotation. Check ids start
            with 'geom.'.
          properties:
            id:
              const: geometry
              description: The section id, 'geometry'. Optional; must equal the key.
            title:
              type: string
              maxLength: 120
              description: Display title in the dashboard, e.g. 'Page Checks'. Cosmetic.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/sectionEnabled'
            rules:
              type: object
              description: >-
                The checks of this section, keyed by check id: geom.page_count,
                geom.page_size, geom.orientation, geom.bleed.required,
                geom.bleed.content_coverage, geom.trim.required,
                geom.safety_margin, geom.rotation, geom.consistent_page_sizes,
                geom.spread_vs_single. Any other key is refused. Omitted checks
                are off.
              propertyNames:
                pattern: ^geom\.
              additionalProperties: false
              properties:
                geom.page_count:
                  $ref: '#/components/schemas/Profile/definitions/geom.page_count'
                geom.page_size:
                  $ref: '#/components/schemas/Profile/definitions/geom.page_size'
                geom.orientation:
                  $ref: '#/components/schemas/Profile/definitions/geom.orientation'
                geom.bleed.required:
                  $ref: '#/components/schemas/Profile/definitions/geom.bleed.required'
                geom.bleed.content_coverage:
                  $ref: >-
                    #/components/schemas/Profile/definitions/geom.bleed.content_coverage
                geom.trim.required:
                  $ref: '#/components/schemas/Profile/definitions/geom.trim.required'
                geom.safety_margin:
                  $ref: '#/components/schemas/Profile/definitions/geom.safety_margin'
                geom.rotation:
                  $ref: '#/components/schemas/Profile/definitions/geom.rotation'
                geom.consistent_page_sizes:
                  $ref: >-
                    #/components/schemas/Profile/definitions/geom.consistent_page_sizes
                geom.spread_vs_single:
                  $ref: >-
                    #/components/schemas/Profile/definitions/geom.spread_vs_single
          allOf:
            - if:
                type: object
                required:
                  - rules
                properties:
                  rules:
                    type: object
                    not:
                      additionalProperties:
                        not:
                          type: object
                          required:
                            - enabled
                          properties:
                            enabled:
                              const: true
              then:
                type: object
                required:
                  - enabled
                properties:
                  enabled:
                    const: true
        color.mode:
          type: object
          additionalProperties: false
          description: >-
            Colour modes of page content and images: fails when anything is
            painted in a mode not in allowed. Spot colours (Separation,
            DeviceN), patterns and indexed images are not judged here; see
            color.spot_colors. Autofix: converts the document to the
            highest-priority allowed mode: CMYK, else grayscale, else RGB. Needs
            one of those in allowed (not possible for lab alone).
          properties:
            id:
              const: color.mode
              description: The check id, 'color.mode'. Optional; must equal the key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - autofix
                - ignore
              default: warn
              description: >-
                reject, warn, ignore or autofix (FileCheck repairs it; judged as
                reject when this file is beyond the repair). Omitted = warn.
                Severity only decides how a failure is judged: a workflow
                autofix step repairs every failed check that has a repair,
                whatever its severity.
            autofixStrategy:
              enum:
                - null
              description: >-
                Display label for the repair. No label exists for this check:
                leave it null or omit it.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                allowed:
                  type: array
                  items:
                    enum:
                      - cmyk
                      - grayscale
                      - rgb
                      - lab
                  uniqueItems: true
                  description: >-
                    Accepted colour modes, e.g. ['cmyk'] or ['cmyk',
                    'grayscale'] for print. Required (non-empty) when the check
                    is enabled.
                convertSpecialSpaces:
                  type: boolean
                  default: true
                  description: >-
                    Repair: also convert spot (Separation, DeviceN) and
                    ICC-based colours. Default true; set false to keep spot
                    colours printed as separate inks, or list them in preserve.
                preserve:
                  type: array
                  items:
                    enum:
                      - icc
                      - separation
                      - separationAll
                      - deviceN
                      - nchannel
                  uniqueItems: true
                  default: []
                  description: >-
                    Repair: colour spaces left unconverted: icc (ICC-based),
                    separation, separationAll, deviceN, nchannel.
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
          allOf:
            - if:
                type: object
                required:
                  - enabled
                properties:
                  enabled:
                    const: true
              then:
                type: object
                required:
                  - target
                properties:
                  target:
                    type: object
                    required:
                      - allowed
                    properties:
                      allowed:
                        type: array
                        minItems: 1
            - if:
                type: object
                required:
                  - enabled
                  - severity
                properties:
                  enabled:
                    const: true
                  severity:
                    const: autofix
              then:
                type: object
                properties:
                  target:
                    type:
                      - object
                      - 'null'
                    properties:
                      allowed:
                        type: array
                        contains:
                          enum:
                            - cmyk
                            - grayscale
                            - rgb
        color.max_ink_coverage:
          type: object
          additionalProperties: false
          description: >-
            Total ink coverage (TAC): flags pages where the sum of cyan,
            magenta, yellow and black at any point exceeds percent. No automatic
            repair.
          properties:
            id:
              const: color.max_ink_coverage
              description: >-
                The check id, 'color.max_ink_coverage'. Optional; must equal the
                key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - ignore
              default: warn
              description: >-
                reject, warn or ignore. Omitted = warn. autofix is refused: this
                check has no repair, and an autofix finding would promise the
                customer a fix that never happens.
            autofixStrategy:
              enum:
                - null
              description: >-
                Display label for the repair. No label exists for this check:
                leave it null or omit it.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                percent:
                  type: number
                  description: >-
                    Maximum total ink in percent (0 to 400), e.g. 300 for coated
                    stock, lower for uncoated paper or newsprint. Default 300.
                  minimum: 100
                  maximum: 400
                  default: 300
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        color.spot_colors:
          type: object
          additionalProperties: false
          description: >-
            Spot colours: fails when the file uses more than max_count spot
            (named) colours that are not in whitelist. No automatic repair.
          properties:
            id:
              const: color.spot_colors
              description: The check id, 'color.spot_colors'. Optional; must equal the key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - ignore
              default: warn
              description: >-
                reject, warn or ignore. Omitted = warn. autofix is refused: this
                check has no repair, and an autofix finding would promise the
                customer a fix that never happens.
            autofixStrategy:
              enum:
                - null
              description: >-
                Display label for the repair. No label exists for this check:
                leave it null or omit it.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                whitelist:
                  type: array
                  items:
                    type: string
                    minLength: 1
                  uniqueItems: true
                  default: []
                  description: >-
                    Spot colour names always accepted, matched exactly and
                    case-sensitively, e.g. 'PANTONE 186 C'. They do not count
                    toward max_count.
                max_count:
                  type: integer
                  minimum: 0
                  default: 0
                  description: >-
                    How many other spot colours are tolerated. Default 0: any
                    spot colour outside the whitelist fails.
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        color.output_intent_required:
          type: object
          additionalProperties: false
          description: >-
            Output intent: the PDF must declare the print condition its colours
            were prepared for, as PDF/X files do. With expected_profile_name it
            must also match that condition. Autofix: embeds icc_alias (else
            expected_profile_name, read as an ICC alias) as the output intent.
            Needs one of the two.
          properties:
            id:
              const: color.output_intent_required
              description: >-
                The check id, 'color.output_intent_required'. Optional; must
                equal the key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - autofix
                - ignore
              default: warn
              description: >-
                reject, warn, ignore or autofix (FileCheck repairs it; judged as
                reject when this file is beyond the repair). Omitted = warn.
                Severity only decides how a failure is judged: a workflow
                autofix step repairs every failed check that has a repair,
                whatever its severity.
            autofixStrategy:
              enum:
                - null
              description: >-
                Display label for the repair. No label exists for this check:
                leave it null or omit it.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                expected_profile_name:
                  type:
                    - string
                    - 'null'
                  maxLength: 200
                  description: >-
                    Required print condition, matched case-insensitively as part
                    of the file's OutputConditionIdentifier, OutputCondition or
                    Info, e.g. 'FOGRA39' or 'GRACoL'. Empty or null = any output
                    intent passes. The dashboard stores an ICC alias here;
                    hyphenated aliases such as 'iso-coated-v2' rarely appear in
                    files, so set icc_alias for the repair and a plain
                    identifier here.
                icc_alias:
                  enum:
                    - fogra39
                    - fogra51
                    - fogra52
                    - fogra29
                    - iso-coated-v2
                    - iso-coated-v2-300
                    - gracol2013
                    - gracol2006
                    - swop2013
                    - swop
                    - japan-coated
                    - japan-uncoated
                    - psr-lwc
                    - psr-snp
                    - srgb
                    - adobe-rgb
                    - display-p3
                    - greyscale
                  description: >-
                    Repair: the ICC profile embedded as the output intent.
                    Preferred over expected_profile_name. FileCheck ICC aliases:
                    fogra39 (Coated FOGRA39), fogra51 (PSO Coated v3), fogra52
                    (PSO Uncoated v3), fogra29 (Uncoated FOGRA29),
                    iso-coated-v2, iso-coated-v2-300 (300 % ink cap),
                    gracol2013, gracol2006, swop2013, swop (US Web Coated SWOP
                    v2), japan-coated, japan-uncoated, psr-lwc, psr-snp
                    (newsprint), srgb, adobe-rgb, display-p3, greyscale.
                output_condition_identifier:
                  type: string
                  maxLength: 200
                  description: >-
                    Repair: OutputConditionIdentifier written with the embedded
                    intent, e.g. 'FOGRA39'.
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
          allOf:
            - if:
                type: object
                required:
                  - enabled
                  - severity
                properties:
                  enabled:
                    const: true
                  severity:
                    const: autofix
              then:
                type: object
                required:
                  - target
                properties:
                  target:
                    type: object
                    anyOf:
                      - required:
                          - icc_alias
                      - required:
                          - expected_profile_name
                        properties:
                          expected_profile_name:
                            type: string
                            minLength: 1
        color.icc_profile:
          type: object
          additionalProperties: false
          description: >-
            Embedded ICC profiles: fails when the file embeds an ICC profile
            whose name is not in whitelist. Empty whitelist = the check does
            nothing. No automatic repair.
          properties:
            id:
              const: color.icc_profile
              description: The check id, 'color.icc_profile'. Optional; must equal the key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - ignore
              default: warn
              description: >-
                reject, warn or ignore. Omitted = warn. autofix is refused: this
                check has no repair, and an autofix finding would promise the
                customer a fix that never happens.
            autofixStrategy:
              enum:
                - null
              description: >-
                Display label for the repair. No label exists for this check:
                leave it null or omit it.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                whitelist:
                  type: array
                  items:
                    type: string
                    minLength: 1
                  uniqueItems: true
                  default: []
                  description: >-
                    Accepted ICC profile names (the profile description),
                    matched exactly, e.g. 'Coated FOGRA39 (ISO 12647-2:2004)'.
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        color.rich_black_detection:
          type: object
          additionalProperties: false
          description: >-
            Four-colour black: flags DeviceCMYK fills and strokes whose cyan,
            magenta and yellow are all at least threshold (registration-style
            black), on any content, text or not. Autofix: rewrites those colours
            to pure black (0/0/0/100).
          properties:
            id:
              const: color.rich_black_detection
              description: >-
                The check id, 'color.rich_black_detection'. Optional; must equal
                the key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - autofix
                - ignore
              default: warn
              description: >-
                reject, warn, ignore or autofix (FileCheck repairs it; judged as
                reject when this file is beyond the repair). Omitted = warn.
                Severity only decides how a failure is judged: a workflow
                autofix step repairs every failed check that has a repair,
                whatever its severity.
            autofixStrategy:
              enum:
                - convert-to-pure-k
                - null
              description: >-
                Display label for the repair, shown in the dashboard; the
                runtime picks the repair from the check id and ignores this
                field. Known labels: 'convert-to-pure-k'. null or omitted is
                fine.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                threshold:
                  type: number
                  description: >-
                    Minimum cyan, magenta and yellow (0 to 1) for a colour to
                    count as four-colour black. Default 0.85 (85 %).
                  exclusiveMinimum: 0
                  maximum: 1
                  default: 0.85
                scope:
                  enum:
                    - text
                    - all
                  description: >-
                    Stored by the dashboard but not used: detection always
                    covers all content.
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        color.overprint_flags:
          type: object
          additionalProperties: false
          description: >-
            White overprint: flags white objects set to overprint, which vanish
            on press. No automatic repair.
          properties:
            id:
              const: color.overprint_flags
              description: >-
                The check id, 'color.overprint_flags'. Optional; must equal the
                key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - ignore
              default: warn
              description: >-
                reject, warn or ignore. Omitted = warn. autofix is refused: this
                check has no repair, and an autofix finding would promise the
                customer a fix that never happens.
            autofixStrategy:
              enum:
                - null
              description: >-
                Display label for the repair. No label exists for this check:
                leave it null or omit it.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                reject_on_white:
                  type: boolean
                  description: >-
                    Must be true for the check to report anything; required
                    (true) when the check is enabled.
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
          allOf:
            - if:
                type: object
                required:
                  - enabled
                properties:
                  enabled:
                    const: true
              then:
                type: object
                required:
                  - target
                properties:
                  target:
                    type: object
                    required:
                      - reject_on_white
                    properties:
                      reject_on_white:
                        const: true
        color.tint_transforms:
          type: object
          additionalProperties: false
          description: >-
            Broken spot-colour definitions: flags Separation or DeviceN colour
            spaces whose tint transform is missing, malformed or trivial, which
            print the wrong colour. No automatic repair.
          properties:
            id:
              const: color.tint_transforms
              description: >-
                The check id, 'color.tint_transforms'. Optional; must equal the
                key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - ignore
              default: warn
              description: >-
                reject, warn or ignore. Omitted = warn. autofix is refused: this
                check has no repair, and an autofix finding would promise the
                customer a fix that never happens.
            autofixStrategy:
              enum:
                - null
              description: >-
                Display label for the repair. No label exists for this check:
                leave it null or omit it.
            target:
              $ref: '#/components/schemas/Profile/definitions/noTarget'
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        section.color:
          type: object
          additionalProperties: false
          description: >-
            Colour checks for PDF files: colour modes, ink coverage, spot
            colours, output intent, ICC profiles, four-colour black, overprint.
            Check ids start with 'color.'.
          properties:
            id:
              const: color
              description: The section id, 'color'. Optional; must equal the key.
            title:
              type: string
              maxLength: 120
              description: Display title in the dashboard, e.g. 'Colors'. Cosmetic.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/sectionEnabled'
            rules:
              type: object
              description: >-
                The checks of this section, keyed by check id: color.mode,
                color.max_ink_coverage, color.spot_colors,
                color.output_intent_required, color.icc_profile,
                color.rich_black_detection, color.overprint_flags,
                color.tint_transforms. Any other key is refused. Omitted checks
                are off.
              propertyNames:
                pattern: ^color\.
              additionalProperties: false
              properties:
                color.mode:
                  $ref: '#/components/schemas/Profile/definitions/color.mode'
                color.max_ink_coverage:
                  $ref: >-
                    #/components/schemas/Profile/definitions/color.max_ink_coverage
                color.spot_colors:
                  $ref: '#/components/schemas/Profile/definitions/color.spot_colors'
                color.output_intent_required:
                  $ref: >-
                    #/components/schemas/Profile/definitions/color.output_intent_required
                color.icc_profile:
                  $ref: '#/components/schemas/Profile/definitions/color.icc_profile'
                color.rich_black_detection:
                  $ref: >-
                    #/components/schemas/Profile/definitions/color.rich_black_detection
                color.overprint_flags:
                  $ref: >-
                    #/components/schemas/Profile/definitions/color.overprint_flags
                color.tint_transforms:
                  $ref: >-
                    #/components/schemas/Profile/definitions/color.tint_transforms
          allOf:
            - if:
                type: object
                required:
                  - rules
                properties:
                  rules:
                    type: object
                    not:
                      additionalProperties:
                        not:
                          type: object
                          required:
                            - enabled
                          properties:
                            enabled:
                              const: true
              then:
                type: object
                required:
                  - enabled
                properties:
                  enabled:
                    const: true
        text.fonts_embedded:
          type: object
          additionalProperties: false
          description: >-
            Font embedding: fails when any font is not embedded in the PDF. No
            automatic repair.
          properties:
            id:
              const: text.fonts_embedded
              description: >-
                The check id, 'text.fonts_embedded'. Optional; must equal the
                key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - ignore
              default: warn
              description: >-
                reject, warn or ignore. Omitted = warn. autofix is refused: this
                check has no repair, and an autofix finding would promise the
                customer a fix that never happens.
            autofixStrategy:
              enum:
                - embed-missing-fonts
                - null
              description: >-
                Display label for the repair, shown in the dashboard; the
                runtime picks the repair from the check id and ignores this
                field. Known labels: 'embed-missing-fonts'. null or omitted is
                fine.
            target:
              $ref: '#/components/schemas/Profile/definitions/noTarget'
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        text.fonts_subset_required:
          type: object
          additionalProperties: false
          description: >-
            Font subsetting: flags fonts embedded in full instead of subset. No
            automatic repair.
          properties:
            id:
              const: text.fonts_subset_required
              description: >-
                The check id, 'text.fonts_subset_required'. Optional; must equal
                the key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - ignore
              default: warn
              description: >-
                reject, warn or ignore. Omitted = warn. autofix is refused: this
                check has no repair, and an autofix finding would promise the
                customer a fix that never happens.
            autofixStrategy:
              enum:
                - subset-fonts
                - null
              description: >-
                Display label for the repair, shown in the dashboard; the
                runtime picks the repair from the check id and ignores this
                field. Known labels: 'subset-fonts'. null or omitted is fine.
            target:
              $ref: '#/components/schemas/Profile/definitions/noTarget'
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        text.min_font_size_pt:
          type: object
          additionalProperties: false
          description: >-
            Smallest text: fails when any text is smaller than pt points. No
            automatic repair.
          properties:
            id:
              const: text.min_font_size_pt
              description: >-
                The check id, 'text.min_font_size_pt'. Optional; must equal the
                key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - ignore
              default: warn
              description: >-
                reject, warn or ignore. Omitted = warn. autofix is refused: this
                check has no repair, and an autofix finding would promise the
                customer a fix that never happens.
            autofixStrategy:
              enum:
                - null
              description: >-
                Display label for the repair. No label exists for this check:
                leave it null or omit it.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                pt:
                  type: number
                  description: >-
                    Minimum font size in points (1 pt = 1/72 in = 0.353 mm),
                    e.g. 5 or 6. Required when the check is enabled.
                  exclusiveMinimum: 0
                  maximum: 72
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
          allOf:
            - if:
                type: object
                required:
                  - enabled
                properties:
                  enabled:
                    const: true
              then:
                type: object
                required:
                  - target
                properties:
                  target:
                    type: object
                    required:
                      - pt
        text.min_stroke_width_pt:
          type: object
          additionalProperties: false
          description: >-
            Hairlines: flags lines and outlines thinner than pt points, which
            may not print. Autofix: thickens every stroke thinner than pt to pt.
          properties:
            id:
              const: text.min_stroke_width_pt
              description: >-
                The check id, 'text.min_stroke_width_pt'. Optional; must equal
                the key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - autofix
                - ignore
              default: warn
              description: >-
                reject, warn, ignore or autofix (FileCheck repairs it; judged as
                reject when this file is beyond the repair). Omitted = warn.
                Severity only decides how a failure is judged: a workflow
                autofix step repairs every failed check that has a repair,
                whatever its severity.
            autofixStrategy:
              enum:
                - null
              description: >-
                Display label for the repair. No label exists for this check:
                leave it null or omit it.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                pt:
                  type: number
                  description: >-
                    Minimum stroke width in points (0.25 pt = 0.09 mm). Default
                    0.25.
                  exclusiveMinimum: 0
                  maximum: 10
                  default: 0.25
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        text.allowed_font_types:
          type: object
          additionalProperties: false
          description: >-
            Font formats: fails when the file uses a font of a type listed in
            disallowed. Empty = the check does nothing. No automatic repair.
          properties:
            id:
              const: text.allowed_font_types
              description: >-
                The check id, 'text.allowed_font_types'. Optional; must equal
                the key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - ignore
              default: warn
              description: >-
                reject, warn or ignore. Omitted = warn. autofix is refused: this
                check has no repair, and an autofix finding would promise the
                customer a fix that never happens.
            autofixStrategy:
              enum:
                - null
              description: >-
                Display label for the repair. No label exists for this check:
                leave it null or omit it.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                disallowed:
                  type: array
                  items:
                    enum:
                      - Type1
                      - Type3
                      - TrueType
                      - OpenType
                      - CIDFontType0
                      - CIDFontType2
                  uniqueItems: true
                  description: >-
                    Font types refused, e.g. ['Type3'] (bitmap-style fonts that
                    often print poorly).
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        text.text_outlined_required:
          type: object
          additionalProperties: false
          description: >-
            Outlined text: fails when the file contains any live text (any font
            at all), for products that need all text converted to outlines.
            Autofix: converts text to outlines.
          properties:
            id:
              const: text.text_outlined_required
              description: >-
                The check id, 'text.text_outlined_required'. Optional; must
                equal the key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - autofix
                - ignore
              default: warn
              description: >-
                reject, warn, ignore or autofix (FileCheck repairs it; judged as
                reject when this file is beyond the repair). Omitted = warn.
                Severity only decides how a failure is judged: a workflow
                autofix step repairs every failed check that has a repair,
                whatever its severity.
            autofixStrategy:
              enum:
                - outline-text
                - null
              description: >-
                Display label for the repair, shown in the dashboard; the
                runtime picks the repair from the check id and ignores this
                field. Known labels: 'outline-text'. null or omitted is fine.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                nonEmbeddedOnly:
                  type: boolean
                  default: false
                  description: >-
                    Repair: outline only fonts that are not embedded. The check
                    still fails on any remaining font, so leave false unless
                    that is intended. Default false.
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        text.edge_safe_zone:
          type: object
          additionalProperties: false
          description: >-
            Text near the cut: flags text closer than safe_zone_pt points to the
            trim edge. It shares one measurement with geom.safety_margin: when
            both are enabled the larger distance applies to both. No automatic
            repair.
          properties:
            id:
              const: text.edge_safe_zone
              description: >-
                The check id, 'text.edge_safe_zone'. Optional; must equal the
                key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - ignore
              default: warn
              description: >-
                reject, warn or ignore. Omitted = warn. autofix is refused: this
                check has no repair, and an autofix finding would promise the
                customer a fix that never happens.
            autofixStrategy:
              enum:
                - null
              description: >-
                Display label for the repair. No label exists for this check:
                leave it null or omit it.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                safe_zone_pt:
                  type: number
                  description: >-
                    Minimum distance of text from the trim edge, in points (8.5
                    pt = 3 mm, 14.2 pt = 5 mm). Omitted = 8.5.
                  minimum: 0
                  maximum: 144
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        section.text:
          type: object
          additionalProperties: false
          description: >-
            Font, text and stroke checks for PDF files. Check ids start with
            'text.'.
          properties:
            id:
              const: text
              description: The section id, 'text'. Optional; must equal the key.
            title:
              type: string
              maxLength: 120
              description: >-
                Display title in the dashboard, e.g. 'Fonts, Text & Strokes'.
                Cosmetic.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/sectionEnabled'
            rules:
              type: object
              description: >-
                The checks of this section, keyed by check id:
                text.fonts_embedded, text.fonts_subset_required,
                text.min_font_size_pt, text.min_stroke_width_pt,
                text.allowed_font_types, text.text_outlined_required,
                text.edge_safe_zone. Any other key is refused. Omitted checks
                are off.
              propertyNames:
                pattern: ^text\.
              additionalProperties: false
              properties:
                text.fonts_embedded:
                  $ref: '#/components/schemas/Profile/definitions/text.fonts_embedded'
                text.fonts_subset_required:
                  $ref: >-
                    #/components/schemas/Profile/definitions/text.fonts_subset_required
                text.min_font_size_pt:
                  $ref: >-
                    #/components/schemas/Profile/definitions/text.min_font_size_pt
                text.min_stroke_width_pt:
                  $ref: >-
                    #/components/schemas/Profile/definitions/text.min_stroke_width_pt
                text.allowed_font_types:
                  $ref: >-
                    #/components/schemas/Profile/definitions/text.allowed_font_types
                text.text_outlined_required:
                  $ref: >-
                    #/components/schemas/Profile/definitions/text.text_outlined_required
                text.edge_safe_zone:
                  $ref: '#/components/schemas/Profile/definitions/text.edge_safe_zone'
          allOf:
            - if:
                type: object
                required:
                  - rules
                properties:
                  rules:
                    type: object
                    not:
                      additionalProperties:
                        not:
                          type: object
                          required:
                            - enabled
                          properties:
                            enabled:
                              const: true
              then:
                type: object
                required:
                  - enabled
                properties:
                  enabled:
                    const: true
        image.min_resolution_dpi:
          type: object
          additionalProperties: false
          description: >-
            Image resolution: fails when an image is printed at fewer than
            effective pixels per inch at its placed size (scaling counts).
            Autofix: upscales the low-resolution images with AI to effective
            dpi.
          properties:
            id:
              const: image.min_resolution_dpi
              description: >-
                The check id, 'image.min_resolution_dpi'. Optional; must equal
                the key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - autofix
                - ignore
              default: warn
              description: >-
                reject, warn, ignore or autofix (FileCheck repairs it; judged as
                reject when this file is beyond the repair). Omitted = warn.
                Severity only decides how a failure is judged: a workflow
                autofix step repairs every failed check that has a repair,
                whatever its severity.
            autofixStrategy:
              enum:
                - upscale-images
                - upscale-ai
                - null
              description: >-
                Display label for the repair, shown in the dashboard; the
                runtime picks the repair from the check id and ignores this
                field. Known labels: 'upscale-images', 'upscale-ai'. null or
                omitted is fine.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                effective:
                  type: number
                  description: >-
                    Minimum effective resolution in dpi, e.g. 300 for brochures
                    and cards, 150 for posters. Default 300.
                  exclusiveMinimum: 0
                  maximum: 2400
                  default: 300
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        image.max_resolution_dpi:
          type: object
          additionalProperties: false
          description: >-
            Oversampled images: flags images placed above warn_above dpi, which
            bloat the file without improving the print. Autofix: downsamples
            images above warn_above to warn_above dpi.
          properties:
            id:
              const: image.max_resolution_dpi
              description: >-
                The check id, 'image.max_resolution_dpi'. Optional; must equal
                the key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - autofix
                - ignore
              default: warn
              description: >-
                reject, warn, ignore or autofix (FileCheck repairs it; judged as
                reject when this file is beyond the repair). Omitted = warn.
                Severity only decides how a failure is judged: a workflow
                autofix step repairs every failed check that has a repair,
                whatever its severity.
            autofixStrategy:
              enum:
                - downsample-images
                - null
              description: >-
                Display label for the repair, shown in the dashboard; the
                runtime picks the repair from the check id and ignores this
                field. Known labels: 'downsample-images'. null or omitted is
                fine.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                warn_above:
                  type: number
                  description: Highest effective resolution accepted, in dpi. Default 600.
                  exclusiveMinimum: 0
                  maximum: 4800
                  default: 600
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        image.colorspace:
          type: object
          additionalProperties: false
          description: >-
            Image colour spaces: fails when an image's PDF colour-space name
            (DeviceCMYK, DeviceRGB, DeviceGray, ICCBased (DeviceCMYK), Indexed,
            Separation, DeviceN, Lab) contains none of the allowed values,
            compared case-insensitively. Empty = the check does nothing. No
            automatic repair.
          properties:
            id:
              const: image.colorspace
              description: The check id, 'image.colorspace'. Optional; must equal the key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - ignore
              default: warn
              description: >-
                reject, warn or ignore. Omitted = warn. autofix is refused: this
                check has no repair, and an autofix finding would promise the
                customer a fix that never happens.
            autofixStrategy:
              enum:
                - cmyk-convert
                - null
              description: >-
                Display label for the repair, shown in the dashboard; the
                runtime picks the repair from the check id and ignores this
                field. Known labels: 'cmyk-convert'. null or omitted is fine.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                allowed:
                  type: array
                  items:
                    enum:
                      - cmyk
                      - rgb
                      - gray
                      - grayscale
                      - lab
                      - indexed
                      - separation
                      - devicen
                      - iccbased
                  uniqueItems: true
                  description: >-
                    Accepted colour-space fragments, e.g. ['cmyk', 'gray']. Use
                    'gray' for grayscale images: 'grayscale' (what the dashboard
                    stores) matches no PDF colour-space name, so with it
                    grayscale images fail.
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        image.compression:
          type: object
          additionalProperties: false
          description: >-
            Image compression: fails when an image's PDF compression filter name
            (DCTDecode, JPXDecode, FlateDecode, LZWDecode, CCITTFaxDecode,
            JBIG2Decode, RunLengthDecode) contains a disallowed value, compared
            case-insensitively. No automatic repair.
          properties:
            id:
              const: image.compression
              description: The check id, 'image.compression'. Optional; must equal the key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - ignore
              default: warn
              description: >-
                reject, warn or ignore. Omitted = warn. autofix is refused: this
                check has no repair, and an autofix finding would promise the
                customer a fix that never happens.
            autofixStrategy:
              enum:
                - null
              description: >-
                Display label for the repair. No label exists for this check:
                leave it null or omit it.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                disallowed:
                  type: array
                  items:
                    enum:
                      - dct
                      - jpx
                      - flate
                      - lzw
                      - ccitt
                      - jbig2
                      - runlength
                      - jpeg
                      - jpeg2000
                      - none
                  uniqueItems: true
                  description: >-
                    Refused filters: dct (JPEG), jpx (JPEG 2000), flate, lzw,
                    ccitt, jbig2, runlength. The dashboard's 'jpeg', 'jpeg2000'
                    and 'none' match no filter name and have no effect; use
                    'dct' and 'jpx'.
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        image.bpc:
          type: object
          additionalProperties: false
          description: >-
            Image bit depth: fails when an image has fewer than min bits per
            colour component. No automatic repair.
          properties:
            id:
              const: image.bpc
              description: The check id, 'image.bpc'. Optional; must equal the key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - ignore
              default: warn
              description: >-
                reject, warn or ignore. Omitted = warn. autofix is refused: this
                check has no repair, and an autofix finding would promise the
                customer a fix that never happens.
            autofixStrategy:
              enum:
                - null
              description: >-
                Display label for the repair. No label exists for this check:
                leave it null or omit it.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                min:
                  enum:
                    - 1
                    - 2
                    - 4
                    - 8
                    - 16
                  default: 8
                  description: 'Minimum bits per component: 1, 2, 4, 8 or 16. Default 8.'
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        section.images:
          type: object
          additionalProperties: false
          description: >-
            Checks on the images placed inside a PDF (for image uploads use a
            raster profile). Check ids start with 'image.'.
          properties:
            id:
              const: images
              description: The section id, 'images'. Optional; must equal the key.
            title:
              type: string
              maxLength: 120
              description: Display title in the dashboard, e.g. 'Images'. Cosmetic.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/sectionEnabled'
            rules:
              type: object
              description: >-
                The checks of this section, keyed by check id:
                image.min_resolution_dpi, image.max_resolution_dpi,
                image.colorspace, image.compression, image.bpc. Any other key is
                refused. Omitted checks are off.
              propertyNames:
                pattern: ^image\.
              additionalProperties: false
              properties:
                image.min_resolution_dpi:
                  $ref: >-
                    #/components/schemas/Profile/definitions/image.min_resolution_dpi
                image.max_resolution_dpi:
                  $ref: >-
                    #/components/schemas/Profile/definitions/image.max_resolution_dpi
                image.colorspace:
                  $ref: '#/components/schemas/Profile/definitions/image.colorspace'
                image.compression:
                  $ref: '#/components/schemas/Profile/definitions/image.compression'
                image.bpc:
                  $ref: '#/components/schemas/Profile/definitions/image.bpc'
          allOf:
            - if:
                type: object
                required:
                  - rules
                properties:
                  rules:
                    type: object
                    not:
                      additionalProperties:
                        not:
                          type: object
                          required:
                            - enabled
                          properties:
                            enabled:
                              const: true
              then:
                type: object
                required:
                  - enabled
                properties:
                  enabled:
                    const: true
        struct.transparency_allowed:
          type: object
          additionalProperties: false
          description: >-
            Live transparency: flags pages that use transparency (soft masks,
            alpha, blend modes). No automatic repair.
          properties:
            id:
              const: struct.transparency_allowed
              description: >-
                The check id, 'struct.transparency_allowed'. Optional; must
                equal the key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - ignore
              default: warn
              description: >-
                reject, warn or ignore. Omitted = warn. autofix is refused: this
                check has no repair, and an autofix finding would promise the
                customer a fix that never happens.
            autofixStrategy:
              enum:
                - flatten-transparency
                - null
              description: >-
                Display label for the repair, shown in the dashboard; the
                runtime picks the repair from the check id and ignores this
                field. Known labels: 'flatten-transparency'. null or omitted is
                fine.
            target:
              $ref: '#/components/schemas/Profile/definitions/noTarget'
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        struct.layers_allowed:
          type: object
          additionalProperties: false
          description: >-
            Layers: flags optional content (OCG layers). Autofix: flattens the
            layers into the page.
          properties:
            id:
              const: struct.layers_allowed
              description: >-
                The check id, 'struct.layers_allowed'. Optional; must equal the
                key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - autofix
                - ignore
              default: warn
              description: >-
                reject, warn, ignore or autofix (FileCheck repairs it; judged as
                reject when this file is beyond the repair). Omitted = warn.
                Severity only decides how a failure is judged: a workflow
                autofix step repairs every failed check that has a repair,
                whatever its severity.
            autofixStrategy:
              enum:
                - flatten-layers
                - null
              description: >-
                Display label for the repair, shown in the dashboard; the
                runtime picks the repair from the check id and ignores this
                field. Known labels: 'flatten-layers'. null or omitted is fine.
            target:
              $ref: '#/components/schemas/Profile/definitions/noTarget'
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        struct.annotations_allowed:
          type: object
          additionalProperties: false
          description: >-
            Annotations: flags comments, notes, links and other annotations.
            Autofix: removes all annotations.
          properties:
            id:
              const: struct.annotations_allowed
              description: >-
                The check id, 'struct.annotations_allowed'. Optional; must equal
                the key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - autofix
                - ignore
              default: warn
              description: >-
                reject, warn, ignore or autofix (FileCheck repairs it; judged as
                reject when this file is beyond the repair). Omitted = warn.
                Severity only decides how a failure is judged: a workflow
                autofix step repairs every failed check that has a repair,
                whatever its severity.
            autofixStrategy:
              enum:
                - strip-annotations
                - null
              description: >-
                Display label for the repair, shown in the dashboard; the
                runtime picks the repair from the check id and ignores this
                field. Known labels: 'strip-annotations'. null or omitted is
                fine.
            target:
              $ref: '#/components/schemas/Profile/definitions/noTarget'
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        struct.javascript_allowed:
          type: object
          additionalProperties: false
          description: 'JavaScript: flags embedded scripts. Autofix: removes the scripts.'
          properties:
            id:
              const: struct.javascript_allowed
              description: >-
                The check id, 'struct.javascript_allowed'. Optional; must equal
                the key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - autofix
                - ignore
              default: warn
              description: >-
                reject, warn, ignore or autofix (FileCheck repairs it; judged as
                reject when this file is beyond the repair). Omitted = warn.
                Severity only decides how a failure is judged: a workflow
                autofix step repairs every failed check that has a repair,
                whatever its severity.
            autofixStrategy:
              enum:
                - strip-javascript
                - null
              description: >-
                Display label for the repair, shown in the dashboard; the
                runtime picks the repair from the check id and ignores this
                field. Known labels: 'strip-javascript'. null or omitted is
                fine.
            target:
              $ref: '#/components/schemas/Profile/definitions/noTarget'
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        struct.attachments_allowed:
          type: object
          additionalProperties: false
          description: >-
            Attachments: flags files embedded as attachments. Autofix: removes
            the attachments.
          properties:
            id:
              const: struct.attachments_allowed
              description: >-
                The check id, 'struct.attachments_allowed'. Optional; must equal
                the key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - autofix
                - ignore
              default: warn
              description: >-
                reject, warn, ignore or autofix (FileCheck repairs it; judged as
                reject when this file is beyond the repair). Omitted = warn.
                Severity only decides how a failure is judged: a workflow
                autofix step repairs every failed check that has a repair,
                whatever its severity.
            autofixStrategy:
              enum:
                - strip-attachments
                - null
              description: >-
                Display label for the repair, shown in the dashboard; the
                runtime picks the repair from the check id and ignores this
                field. Known labels: 'strip-attachments'. null or omitted is
                fine.
            target:
              $ref: '#/components/schemas/Profile/definitions/noTarget'
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        struct.encryption_allowed:
          type: object
          additionalProperties: false
          description: >-
            Encryption: fails when the PDF is encrypted (password or permission
            protected). No automatic repair.
          properties:
            id:
              const: struct.encryption_allowed
              description: >-
                The check id, 'struct.encryption_allowed'. Optional; must equal
                the key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - ignore
              default: warn
              description: >-
                reject, warn or ignore. Omitted = warn. autofix is refused: this
                check has no repair, and an autofix finding would promise the
                customer a fix that never happens.
            autofixStrategy:
              enum:
                - strip-encryption
                - null
              description: >-
                Display label for the repair, shown in the dashboard; the
                runtime picks the repair from the check id and ignores this
                field. Known labels: 'strip-encryption'. null or omitted is
                fine.
            target:
              $ref: '#/components/schemas/Profile/definitions/noTarget'
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        struct.encryption_permissions:
          type: object
          additionalProperties: false
          description: >-
            Permission restrictions of an encrypted PDF: fails when the file
            carries a restriction its allow_ flag does not tolerate. Unencrypted
            files pass. No automatic repair.
          properties:
            id:
              const: struct.encryption_permissions
              description: >-
                The check id, 'struct.encryption_permissions'. Optional; must
                equal the key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - ignore
              default: warn
              description: >-
                reject, warn or ignore. Omitted = warn. autofix is refused: this
                check has no repair, and an autofix finding would promise the
                customer a fix that never happens.
            autofixStrategy:
              enum:
                - null
              description: >-
                Display label for the repair. No label exists for this check:
                leave it null or omit it.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                allow_no_print:
                  type: boolean
                  default: false
                  description: true tolerates a file that forbids printing. Default false.
                allow_no_copy:
                  type: boolean
                  default: false
                  description: >-
                    true tolerates a file that forbids copying content. Default
                    false.
                allow_no_modify:
                  type: boolean
                  default: false
                  description: true tolerates a file that forbids changes. Default false.
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        struct.linearized_required:
          type: object
          additionalProperties: false
          description: >-
            Fast web view: flags PDFs that are not linearized. Irrelevant to
            print; normally left off. No automatic repair.
          properties:
            id:
              const: struct.linearized_required
              description: >-
                The check id, 'struct.linearized_required'. Optional; must equal
                the key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - ignore
              default: warn
              description: >-
                reject, warn or ignore. Omitted = warn. autofix is refused: this
                check has no repair, and an autofix finding would promise the
                customer a fix that never happens.
            autofixStrategy:
              enum:
                - null
              description: >-
                Display label for the repair. No label exists for this check:
                leave it null or omit it.
            target:
              $ref: '#/components/schemas/Profile/definitions/noTarget'
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        struct.pdf_version:
          type: object
          additionalProperties: false
          description: >-
            PDF version: fails when the file's version is below min or above
            max, or unknown. No automatic repair.
          properties:
            id:
              const: struct.pdf_version
              description: >-
                The check id, 'struct.pdf_version'. Optional; must equal the
                key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - ignore
              default: warn
              description: >-
                reject, warn or ignore. Omitted = warn. autofix is refused: this
                check has no repair, and an autofix finding would promise the
                customer a fix that never happens.
            autofixStrategy:
              enum:
                - null
              description: >-
                Display label for the repair. No label exists for this check:
                leave it null or omit it.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                min:
                  enum:
                    - '1.3'
                    - '1.4'
                    - '1.5'
                    - '1.6'
                    - '1.7'
                    - '2.0'
                    - null
                  description: >-
                    Lowest version accepted, as a string, e.g. '1.4'. null or
                    omitted = no lower limit.
                max:
                  enum:
                    - '1.3'
                    - '1.4'
                    - '1.5'
                    - '1.6'
                    - '1.7'
                    - '2.0'
                    - null
                  description: >-
                    Highest version accepted, e.g. '1.7'. null or omitted = no
                    upper limit.
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        struct.pdfx_required:
          type: object
          additionalProperties: false
          description: >-
            PDF/X: fails when the file does not declare PDF/X conformance, or,
            with standard, declares another flavour. No automatic repair.
          properties:
            id:
              const: struct.pdfx_required
              description: >-
                The check id, 'struct.pdfx_required'. Optional; must equal the
                key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - ignore
              default: warn
              description: >-
                reject, warn or ignore. Omitted = warn. autofix is refused: this
                check has no repair, and an autofix finding would promise the
                customer a fix that never happens.
            autofixStrategy:
              enum:
                - null
              description: >-
                Display label for the repair. No label exists for this check:
                leave it null or omit it.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                standard:
                  enum:
                    - PDF/X-1a
                    - PDF/X-3
                    - PDF/X-4
                    - PDF/X-5
                    - PDF/X-6
                  description: >-
                    Required flavour, matched as part of the declared version
                    ('PDF/X-4' matches 'PDF/X-4:2010'). Omit to accept any
                    PDF/X.
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        struct.pdfa_allowed:
          type: object
          additionalProperties: false
          description: >-
            PDF/A: flags files that declare PDF/A (archival) conformance. No
            automatic repair.
          properties:
            id:
              const: struct.pdfa_allowed
              description: >-
                The check id, 'struct.pdfa_allowed'. Optional; must equal the
                key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - ignore
              default: warn
              description: >-
                reject, warn or ignore. Omitted = warn. autofix is refused: this
                check has no repair, and an autofix finding would promise the
                customer a fix that never happens.
            autofixStrategy:
              enum:
                - null
              description: >-
                Display label for the repair. No label exists for this check:
                leave it null or omit it.
            target:
              $ref: '#/components/schemas/Profile/definitions/noTarget'
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        struct.pdfvt_allowed:
          type: object
          additionalProperties: false
          description: >-
            PDF/VT: flags files that declare PDF/VT (variable data) conformance.
            No automatic repair.
          properties:
            id:
              const: struct.pdfvt_allowed
              description: >-
                The check id, 'struct.pdfvt_allowed'. Optional; must equal the
                key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - ignore
              default: warn
              description: >-
                reject, warn or ignore. Omitted = warn. autofix is refused: this
                check has no repair, and an autofix finding would promise the
                customer a fix that never happens.
            autofixStrategy:
              enum:
                - null
              description: >-
                Display label for the repair. No label exists for this check:
                leave it null or omit it.
            target:
              $ref: '#/components/schemas/Profile/definitions/noTarget'
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        struct.pdfua_allowed:
          type: object
          additionalProperties: false
          description: >-
            PDF/UA: flags files that declare PDF/UA (accessibility) conformance.
            No automatic repair.
          properties:
            id:
              const: struct.pdfua_allowed
              description: >-
                The check id, 'struct.pdfua_allowed'. Optional; must equal the
                key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - ignore
              default: warn
              description: >-
                reject, warn or ignore. Omitted = warn. autofix is refused: this
                check has no repair, and an autofix finding would promise the
                customer a fix that never happens.
            autofixStrategy:
              enum:
                - null
              description: >-
                Display label for the repair. No label exists for this check:
                leave it null or omit it.
            target:
              $ref: '#/components/schemas/Profile/definitions/noTarget'
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        struct.pdf_tagged:
          type: object
          additionalProperties: false
          description: >-
            Tagged PDF: flags files that are NOT tagged (no structure tree).
            Irrelevant to print; normally left off. No automatic repair.
          properties:
            id:
              const: struct.pdf_tagged
              description: The check id, 'struct.pdf_tagged'. Optional; must equal the key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - ignore
              default: warn
              description: >-
                reject, warn or ignore. Omitted = warn. autofix is refused: this
                check has no repair, and an autofix finding would promise the
                customer a fix that never happens.
            autofixStrategy:
              enum:
                - null
              description: >-
                Display label for the repair. No label exists for this check:
                leave it null or omit it.
            target:
              $ref: '#/components/schemas/Profile/definitions/noTarget'
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        struct.structure_warnings:
          type: object
          additionalProperties: false
          description: >-
            Damaged PDF: fails when the structure checker (qpdf) reports more
            than max warnings. Autofix: rewrites the PDF, rebuilding its
            structure.
          properties:
            id:
              const: struct.structure_warnings
              description: >-
                The check id, 'struct.structure_warnings'. Optional; must equal
                the key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - autofix
                - ignore
              default: warn
              description: >-
                reject, warn, ignore or autofix (FileCheck repairs it; judged as
                reject when this file is beyond the repair). Omitted = warn.
                Severity only decides how a failure is judged: a workflow
                autofix step repairs every failed check that has a repair,
                whatever its severity.
            autofixStrategy:
              enum:
                - null
              description: >-
                Display label for the repair. No label exists for this check:
                leave it null or omit it.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                max:
                  type: integer
                  minimum: 0
                  default: 0
                  description: Structural warnings tolerated. Default 0.
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        struct.acroform_allowed:
          type: object
          additionalProperties: false
          description: >-
            Interactive forms: flags AcroForm form fields. Autofix: removes the
            interactive form fields, signature fields included (their on-page
            appearance goes too).
          properties:
            id:
              const: struct.acroform_allowed
              description: >-
                The check id, 'struct.acroform_allowed'. Optional; must equal
                the key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - autofix
                - ignore
              default: warn
              description: >-
                reject, warn, ignore or autofix (FileCheck repairs it; judged as
                reject when this file is beyond the repair). Omitted = warn.
                Severity only decides how a failure is judged: a workflow
                autofix step repairs every failed check that has a repair,
                whatever its severity.
            autofixStrategy:
              enum:
                - flatten-acroform
                - null
              description: >-
                Display label for the repair, shown in the dashboard; the
                runtime picks the repair from the check id and ignores this
                field. Known labels: 'flatten-acroform'. null or omitted is
                fine.
            target:
              $ref: '#/components/schemas/Profile/definitions/noTarget'
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        struct.xfa_allowed:
          type: object
          additionalProperties: false
          description: >-
            XFA forms: flags XFA (dynamic) forms, which print engines handle
            poorly. Autofix: removes the interactive form (the same repair as
            struct.acroform_allowed).
          properties:
            id:
              const: struct.xfa_allowed
              description: >-
                The check id, 'struct.xfa_allowed'. Optional; must equal the
                key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - autofix
                - ignore
              default: warn
              description: >-
                reject, warn, ignore or autofix (FileCheck repairs it; judged as
                reject when this file is beyond the repair). Omitted = warn.
                Severity only decides how a failure is judged: a workflow
                autofix step repairs every failed check that has a repair,
                whatever its severity.
            autofixStrategy:
              enum:
                - convert-xfa-to-standard
                - null
              description: >-
                Display label for the repair, shown in the dashboard; the
                runtime picks the repair from the check id and ignores this
                field. Known labels: 'convert-xfa-to-standard'. null or omitted
                is fine.
            target:
              $ref: '#/components/schemas/Profile/definitions/noTarget'
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        struct.signatures_allowed:
          type: object
          additionalProperties: false
          description: >-
            Digital signatures: flags signed PDFs; any change to the file
            invalidates the signature. No automatic repair.
          properties:
            id:
              const: struct.signatures_allowed
              description: >-
                The check id, 'struct.signatures_allowed'. Optional; must equal
                the key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - ignore
              default: warn
              description: >-
                reject, warn or ignore. Omitted = warn. autofix is refused: this
                check has no repair, and an autofix finding would promise the
                customer a fix that never happens.
            autofixStrategy:
              enum:
                - remove-signatures
                - null
              description: >-
                Display label for the repair, shown in the dashboard; the
                runtime picks the repair from the check id and ignores this
                field. Known labels: 'remove-signatures'. null or omitted is
                fine.
            target:
              $ref: '#/components/schemas/Profile/definitions/noTarget'
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        struct.needs_appearances:
          type: object
          additionalProperties: false
          description: >-
            Form appearance flag: flags forms with NeedAppearances set, whose
            fields may print blank. Autofix: removes the interactive form.
          properties:
            id:
              const: struct.needs_appearances
              description: >-
                The check id, 'struct.needs_appearances'. Optional; must equal
                the key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - autofix
                - ignore
              default: warn
              description: >-
                reject, warn, ignore or autofix (FileCheck repairs it; judged as
                reject when this file is beyond the repair). Omitted = warn.
                Severity only decides how a failure is judged: a workflow
                autofix step repairs every failed check that has a repair,
                whatever its severity.
            autofixStrategy:
              enum:
                - null
              description: >-
                Display label for the repair. No label exists for this check:
                leave it null or omit it.
            target:
              $ref: '#/components/schemas/Profile/definitions/noTarget'
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        struct.producer_whitelist:
          type: object
          additionalProperties: false
          description: >-
            Producing application: checks the PDF's Producer (else Creator)
            text. Fails when it contains a blacklist entry, or when a whitelist
            is set and it contains none of its entries. Case-insensitive. No
            automatic repair.
          properties:
            id:
              const: struct.producer_whitelist
              description: >-
                The check id, 'struct.producer_whitelist'. Optional; must equal
                the key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - ignore
              default: warn
              description: >-
                reject, warn or ignore. Omitted = warn. autofix is refused: this
                check has no repair, and an autofix finding would promise the
                customer a fix that never happens.
            autofixStrategy:
              enum:
                - null
              description: >-
                Display label for the repair. No label exists for this check:
                leave it null or omit it.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                whitelist:
                  type: array
                  items:
                    type: string
                    minLength: 1
                  uniqueItems: true
                  default: []
                  description: >-
                    Accepted producers, matched as part of the text, e.g. 'Adobe
                    InDesign'. Empty = any producer not blacklisted.
                blacklist:
                  type: array
                  items:
                    type: string
                    minLength: 1
                  uniqueItems: true
                  default: []
                  description: >-
                    Refused producers, matched as part of the text, e.g.
                    'Microsoft Word'.
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        struct.blank_pages_allowed:
          type: object
          additionalProperties: false
          description: >-
            Blank pages: fails when more than max pages have nothing painted on
            them. No automatic repair.
          properties:
            id:
              const: struct.blank_pages_allowed
              description: >-
                The check id, 'struct.blank_pages_allowed'. Optional; must equal
                the key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - ignore
              default: warn
              description: >-
                reject, warn or ignore. Omitted = warn. autofix is refused: this
                check has no repair, and an autofix finding would promise the
                customer a fix that never happens.
            autofixStrategy:
              enum:
                - null
              description: >-
                Display label for the repair. No label exists for this check:
                leave it null or omit it.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                max:
                  type: integer
                  minimum: 0
                  default: 0
                  description: >-
                    Blank pages tolerated, e.g. 1 for an intentionally blank
                    inside cover. Default 0.
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        struct.blend_modes_allowed:
          type: object
          additionalProperties: false
          description: >-
            Blend modes: flags transparency blend modes other than Normal
            (Multiply, Screen and so on), which can shift colour when the press
            flattens transparency, except those in allowed. No automatic repair.
          properties:
            id:
              const: struct.blend_modes_allowed
              description: >-
                The check id, 'struct.blend_modes_allowed'. Optional; must equal
                the key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - ignore
              default: warn
              description: >-
                reject, warn or ignore. Omitted = warn. autofix is refused: this
                check has no repair, and an autofix finding would promise the
                customer a fix that never happens.
            autofixStrategy:
              enum:
                - null
              description: >-
                Display label for the repair. No label exists for this check:
                leave it null or omit it.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                allowed:
                  type: array
                  items:
                    enum:
                      - Multiply
                      - Screen
                      - Overlay
                      - Darken
                      - Lighten
                      - ColorDodge
                      - ColorBurn
                      - HardLight
                      - SoftLight
                      - Difference
                      - Exclusion
                      - Hue
                      - Saturation
                      - Color
                      - Luminosity
                  uniqueItems: true
                  default: []
                  description: >-
                    Blend modes your press handles, by PDF name, e.g.
                    ['Multiply'].
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        struct.box_sanity:
          type: object
          additionalProperties: false
          description: >-
            Contradictory page boxes: flags a TrimBox outside the MediaBox, a
            CropBox or BleedBox inside the TrimBox, or a missing MediaBox. No
            automatic repair.
          properties:
            id:
              const: struct.box_sanity
              description: The check id, 'struct.box_sanity'. Optional; must equal the key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - ignore
              default: warn
              description: >-
                reject, warn or ignore. Omitted = warn. autofix is refused: this
                check has no repair, and an autofix finding would promise the
                customer a fix that never happens.
            autofixStrategy:
              enum:
                - null
              description: >-
                Display label for the repair. No label exists for this check:
                leave it null or omit it.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                ignore_missing:
                  type: boolean
                  default: true
                  description: >-
                    true (default) skips missing TrimBox and BleedBox, which
                    geom.trim.required and geom.bleed.required judge; false
                    reports them here too.
                ignore:
                  type: array
                  items:
                    enum:
                      - no_mediabox
                      - no_trimbox
                      - no_bleedbox
                      - trimbox_outside_mediabox
                      - cropbox_inside_trimbox
                      - bleedbox_inside_trimbox
                  uniqueItems: true
                  default: []
                  description: Issue codes never reported.
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        section.structure:
          type: object
          additionalProperties: false
          description: >-
            PDF structure checks: transparency, layers, annotations, scripts,
            attachments, encryption, version and standards, forms, damage, page
            boxes. Check ids start with 'struct.'.
          properties:
            id:
              const: structure
              description: The section id, 'structure'. Optional; must equal the key.
            title:
              type: string
              maxLength: 120
              description: Display title in the dashboard, e.g. 'PDF Structure'. Cosmetic.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/sectionEnabled'
            rules:
              type: object
              description: >-
                The checks of this section, keyed by check id:
                struct.transparency_allowed, struct.layers_allowed,
                struct.annotations_allowed, struct.javascript_allowed,
                struct.attachments_allowed, struct.encryption_allowed,
                struct.encryption_permissions, struct.linearized_required,
                struct.pdf_version, struct.pdfx_required, struct.pdfa_allowed,
                struct.pdfvt_allowed, struct.pdfua_allowed, struct.pdf_tagged,
                struct.structure_warnings, struct.acroform_allowed,
                struct.xfa_allowed, struct.signatures_allowed,
                struct.needs_appearances, struct.producer_whitelist,
                struct.blank_pages_allowed, struct.blend_modes_allowed,
                struct.box_sanity. Any other key is refused. Omitted checks are
                off.
              propertyNames:
                pattern: ^struct\.
              additionalProperties: false
              properties:
                struct.transparency_allowed:
                  $ref: >-
                    #/components/schemas/Profile/definitions/struct.transparency_allowed
                struct.layers_allowed:
                  $ref: >-
                    #/components/schemas/Profile/definitions/struct.layers_allowed
                struct.annotations_allowed:
                  $ref: >-
                    #/components/schemas/Profile/definitions/struct.annotations_allowed
                struct.javascript_allowed:
                  $ref: >-
                    #/components/schemas/Profile/definitions/struct.javascript_allowed
                struct.attachments_allowed:
                  $ref: >-
                    #/components/schemas/Profile/definitions/struct.attachments_allowed
                struct.encryption_allowed:
                  $ref: >-
                    #/components/schemas/Profile/definitions/struct.encryption_allowed
                struct.encryption_permissions:
                  $ref: >-
                    #/components/schemas/Profile/definitions/struct.encryption_permissions
                struct.linearized_required:
                  $ref: >-
                    #/components/schemas/Profile/definitions/struct.linearized_required
                struct.pdf_version:
                  $ref: '#/components/schemas/Profile/definitions/struct.pdf_version'
                struct.pdfx_required:
                  $ref: >-
                    #/components/schemas/Profile/definitions/struct.pdfx_required
                struct.pdfa_allowed:
                  $ref: '#/components/schemas/Profile/definitions/struct.pdfa_allowed'
                struct.pdfvt_allowed:
                  $ref: >-
                    #/components/schemas/Profile/definitions/struct.pdfvt_allowed
                struct.pdfua_allowed:
                  $ref: >-
                    #/components/schemas/Profile/definitions/struct.pdfua_allowed
                struct.pdf_tagged:
                  $ref: '#/components/schemas/Profile/definitions/struct.pdf_tagged'
                struct.structure_warnings:
                  $ref: >-
                    #/components/schemas/Profile/definitions/struct.structure_warnings
                struct.acroform_allowed:
                  $ref: >-
                    #/components/schemas/Profile/definitions/struct.acroform_allowed
                struct.xfa_allowed:
                  $ref: '#/components/schemas/Profile/definitions/struct.xfa_allowed'
                struct.signatures_allowed:
                  $ref: >-
                    #/components/schemas/Profile/definitions/struct.signatures_allowed
                struct.needs_appearances:
                  $ref: >-
                    #/components/schemas/Profile/definitions/struct.needs_appearances
                struct.producer_whitelist:
                  $ref: >-
                    #/components/schemas/Profile/definitions/struct.producer_whitelist
                struct.blank_pages_allowed:
                  $ref: >-
                    #/components/schemas/Profile/definitions/struct.blank_pages_allowed
                struct.blend_modes_allowed:
                  $ref: >-
                    #/components/schemas/Profile/definitions/struct.blend_modes_allowed
                struct.box_sanity:
                  $ref: '#/components/schemas/Profile/definitions/struct.box_sanity'
          allOf:
            - if:
                type: object
                required:
                  - rules
                properties:
                  rules:
                    type: object
                    not:
                      additionalProperties:
                        not:
                          type: object
                          required:
                            - enabled
                          properties:
                            enabled:
                              const: true
              then:
                type: object
                required:
                  - enabled
                properties:
                  enabled:
                    const: true
        raster.format:
          type: object
          additionalProperties: false
          description: >-
            Image file format, as decoded: fails when the upload's format is not
            in allowed. Not offered by the dashboard and has no customer
            message; restricting the upload rule's MIME types is usually better.
            Autofix: converts the image to the FIRST format in allowed, so list
            a print format (tiff, jpeg or png) first.
          properties:
            id:
              const: raster.format
              description: The check id, 'raster.format'. Optional; must equal the key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - autofix
                - ignore
              default: warn
              description: >-
                reject, warn, ignore or autofix (FileCheck repairs it; judged as
                reject when this file is beyond the repair). Omitted = warn.
                Severity only decides how a failure is judged: a workflow
                autofix step repairs every failed check that has a repair,
                whatever its severity.
            autofixStrategy:
              enum:
                - convert
                - null
              description: >-
                Display label for the repair, shown in the dashboard; the
                runtime picks the repair from the check id and ignores this
                field. Known labels: 'convert'. null or omitted is fine.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                allowed:
                  type: array
                  items:
                    enum:
                      - jpeg
                      - png
                      - tiff
                      - webp
                      - gif
                      - heif
                      - avif
                  uniqueItems: true
                  description: >-
                    Accepted formats. Order matters: the repair converts to the
                    first. Required (non-empty) when the check is enabled.
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
          allOf:
            - if:
                type: object
                required:
                  - enabled
                properties:
                  enabled:
                    const: true
              then:
                type: object
                required:
                  - target
                properties:
                  target:
                    type: object
                    required:
                      - allowed
                    properties:
                      allowed:
                        type: array
                        minItems: 1
        raster.min_dimensions_px:
          type: object
          additionalProperties: false
          description: >-
            Minimum pixel size: fails when the image is narrower than min_width
            or shorter than min_height pixels (not swapped for orientation). Do
            not enable it together with raster.effective_dpi (the dashboard
            keeps them exclusive): when both fail, their repairs merge into one
            upscale in which the pixel floor overrides the print-size floor,
            which can leave the file short of min_dpi. Prefer
            raster.effective_dpi when the print size is known. Autofix: upscales
            the image with AI to the pixel minimum.
          properties:
            id:
              const: raster.min_dimensions_px
              description: >-
                The check id, 'raster.min_dimensions_px'. Optional; must equal
                the key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - autofix
                - ignore
              default: warn
              description: >-
                reject, warn, ignore or autofix (FileCheck repairs it; judged as
                reject when this file is beyond the repair). Omitted = warn.
                Severity only decides how a failure is judged: a workflow
                autofix step repairs every failed check that has a repair,
                whatever its severity.
            autofixStrategy:
              enum:
                - null
              description: >-
                Display label for the repair. No label exists for this check:
                leave it null or omit it.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                min_width:
                  type:
                    - integer
                    - 'null'
                  minimum: 1
                  description: Minimum width in pixels. null or omitted = no limit.
                min_height:
                  type:
                    - integer
                    - 'null'
                  minimum: 1
                  description: Minimum height in pixels. null or omitted = no limit.
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        raster.max_dimensions_px:
          type: object
          additionalProperties: false
          description: >-
            Maximum pixel size: fails when the image is wider than max_width or
            taller than max_height pixels. Autofix: downscales the image to fit
            inside the maximum, keeping its proportions.
          properties:
            id:
              const: raster.max_dimensions_px
              description: >-
                The check id, 'raster.max_dimensions_px'. Optional; must equal
                the key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - autofix
                - ignore
              default: warn
              description: >-
                reject, warn, ignore or autofix (FileCheck repairs it; judged as
                reject when this file is beyond the repair). Omitted = warn.
                Severity only decides how a failure is judged: a workflow
                autofix step repairs every failed check that has a repair,
                whatever its severity.
            autofixStrategy:
              enum:
                - null
              description: >-
                Display label for the repair. No label exists for this check:
                leave it null or omit it.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                max_width:
                  type:
                    - integer
                    - 'null'
                  minimum: 1
                  description: Maximum width in pixels. null or omitted = no limit.
                max_height:
                  type:
                    - integer
                    - 'null'
                  minimum: 1
                  description: Maximum height in pixels. null or omitted = no limit.
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        raster.effective_dpi:
          type: object
          additionalProperties: false
          description: >-
            Print resolution (keep raster.min_dimensions_px off when using
            this): the image's pixels divided by its print size in inches must
            reach min_dpi. The print size is target_width_mm/target_height_mm,
            else the size chosen on the order, else the workflow's Convert page
            size; with none of them the check does not run. The DPI written in
            the file header is never used. Autofix: upscales the image with AI
            until it reaches min_dpi at the print size.
          properties:
            id:
              const: raster.effective_dpi
              description: >-
                The check id, 'raster.effective_dpi'. Optional; must equal the
                key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - autofix
                - ignore
              default: warn
              description: >-
                reject, warn, ignore or autofix (FileCheck repairs it; judged as
                reject when this file is beyond the repair). Omitted = warn.
                Severity only decides how a failure is judged: a workflow
                autofix step repairs every failed check that has a repair,
                whatever its severity.
            autofixStrategy:
              enum:
                - upscale-ai
                - null
              description: >-
                Display label for the repair, shown in the dashboard; the
                runtime picks the repair from the check id and ignores this
                field. Known labels: 'upscale-ai'. null or omitted is fine.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                min_dpi:
                  type: number
                  description: >-
                    Minimum resolution in dpi at the print size, e.g. 300 for
                    photos and small prints, 100 to 150 for banners seen from a
                    distance. Required when the check is enabled.
                  exclusiveMinimum: 0
                  maximum: 2400
                target_width_mm:
                  type:
                    - number
                    - 'null'
                  exclusiveMinimum: 0
                  maximum: 100000
                  description: >-
                    Print width in mm. null or omitted = taken from the order or
                    workflow. Turned to match the image's orientation.
                target_height_mm:
                  type:
                    - number
                    - 'null'
                  exclusiveMinimum: 0
                  maximum: 100000
                  description: >-
                    Print height in mm. null or omitted = taken from the order
                    or workflow.
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
          allOf:
            - if:
                type: object
                required:
                  - enabled
                properties:
                  enabled:
                    const: true
              then:
                type: object
                required:
                  - target
                properties:
                  target:
                    type: object
                    required:
                      - min_dpi
        raster.colorspace:
          type: object
          additionalProperties: false
          description: >-
            Image colour mode: fails when the decoded image's mode (rgb, cmyk,
            grayscale or lab) is not in allowed. Autofix: converts to the
            highest-priority allowed mode: CMYK, else grayscale, else RGB,
            through iccAlias when set. Needs one of those in allowed.
          properties:
            id:
              const: raster.colorspace
              description: The check id, 'raster.colorspace'. Optional; must equal the key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - autofix
                - ignore
              default: warn
              description: >-
                reject, warn, ignore or autofix (FileCheck repairs it; judged as
                reject when this file is beyond the repair). Omitted = warn.
                Severity only decides how a failure is judged: a workflow
                autofix step repairs every failed check that has a repair,
                whatever its severity.
            autofixStrategy:
              enum:
                - cmyk-convert
                - null
              description: >-
                Display label for the repair, shown in the dashboard; the
                runtime picks the repair from the check id and ignores this
                field. Known labels: 'cmyk-convert'. null or omitted is fine.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                allowed:
                  type: array
                  items:
                    enum:
                      - cmyk
                      - grayscale
                      - rgb
                      - lab
                  uniqueItems: true
                  description: >-
                    Accepted colour modes, e.g. ['rgb', 'cmyk'] for a photo lab,
                    ['cmyk'] for offset. Required (non-empty) when the check is
                    enabled.
                iccAlias:
                  enum:
                    - fogra39
                    - fogra51
                    - fogra52
                    - fogra29
                    - iso-coated-v2
                    - iso-coated-v2-300
                    - gracol2013
                    - gracol2006
                    - swop2013
                    - swop
                    - japan-coated
                    - japan-uncoated
                    - psr-lwc
                    - psr-snp
                    - srgb
                    - adobe-rgb
                    - display-p3
                    - greyscale
                  description: >-
                    Repair: ICC profile used for the conversion; pick one
                    matching the target mode (a CMYK profile for CMYK).
                    FileCheck ICC aliases: fogra39 (Coated FOGRA39), fogra51
                    (PSO Coated v3), fogra52 (PSO Uncoated v3), fogra29
                    (Uncoated FOGRA29), iso-coated-v2, iso-coated-v2-300 (300 %
                    ink cap), gracol2013, gracol2006, swop2013, swop (US Web
                    Coated SWOP v2), japan-coated, japan-uncoated, psr-lwc,
                    psr-snp (newsprint), srgb, adobe-rgb, display-p3, greyscale.
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
          allOf:
            - if:
                type: object
                required:
                  - enabled
                properties:
                  enabled:
                    const: true
              then:
                type: object
                required:
                  - target
                properties:
                  target:
                    type: object
                    required:
                      - allowed
                    properties:
                      allowed:
                        type: array
                        minItems: 1
            - if:
                type: object
                required:
                  - enabled
                  - severity
                properties:
                  enabled:
                    const: true
                  severity:
                    const: autofix
              then:
                type: object
                properties:
                  target:
                    type:
                      - object
                      - 'null'
                    properties:
                      allowed:
                        type: array
                        contains:
                          enum:
                            - cmyk
                            - grayscale
                            - rgb
        raster.bit_depth:
          type: object
          additionalProperties: false
          description: >-
            Bit depth: fails when the image has fewer than min bits per channel.
            Autofix: converts the image to at least min bits per channel.
          properties:
            id:
              const: raster.bit_depth
              description: The check id, 'raster.bit_depth'. Optional; must equal the key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - autofix
                - ignore
              default: warn
              description: >-
                reject, warn, ignore or autofix (FileCheck repairs it; judged as
                reject when this file is beyond the repair). Omitted = warn.
                Severity only decides how a failure is judged: a workflow
                autofix step repairs every failed check that has a repair,
                whatever its severity.
            autofixStrategy:
              enum:
                - null
              description: >-
                Display label for the repair. No label exists for this check:
                leave it null or omit it.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                min:
                  enum:
                    - 1
                    - 4
                    - 8
                    - 16
                  description: >-
                    Minimum bits per channel: 1, 4, 8 or 16 (usually 8).
                    Required when the check is enabled.
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
          allOf:
            - if:
                type: object
                required:
                  - enabled
                properties:
                  enabled:
                    const: true
              then:
                type: object
                required:
                  - target
                properties:
                  target:
                    type: object
                    required:
                      - min
        raster.transparency:
          type: object
          additionalProperties: false
          description: >-
            Transparency: with allowed false, flags images that have an alpha
            channel. With allowed true or omitted the check does nothing.
            Autofix: flattens the image onto background.
          properties:
            id:
              const: raster.transparency
              description: >-
                The check id, 'raster.transparency'. Optional; must equal the
                key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - autofix
                - ignore
              default: warn
              description: >-
                reject, warn, ignore or autofix (FileCheck repairs it; judged as
                reject when this file is beyond the repair). Omitted = warn.
                Severity only decides how a failure is judged: a workflow
                autofix step repairs every failed check that has a repair,
                whatever its severity.
            autofixStrategy:
              enum:
                - remove-alpha
                - flatten-background
                - null
              description: >-
                Display label for the repair, shown in the dashboard; the
                runtime picks the repair from the check id and ignores this
                field. Known labels: 'remove-alpha', 'flatten-background'. null
                or omitted is fine.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                allowed:
                  type: boolean
                  description: >-
                    false flags transparent images; true accepts them. Required
                    when the check is enabled.
                background:
                  type: string
                  pattern: ^#([0-9a-fA-F]{6}|[0-9a-fA-F]{3})$
                  default: '#ffffff'
                  description: >-
                    Repair: colour the image is flattened onto, as #rrggbb.
                    Default #ffffff (white).
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
          allOf:
            - if:
                type: object
                required:
                  - enabled
                properties:
                  enabled:
                    const: true
              then:
                type: object
                required:
                  - target
                properties:
                  target:
                    type: object
                    required:
                      - allowed
        raster.background_removal:
          type: object
          additionalProperties: false
          description: >-
            Background removal, a requested transform rather than a defect: with
            remove true, every upload that has no transparency yet gets its
            background removed by AI. Severity must be autofix. Autofix: removes
            the background with AI.
          properties:
            id:
              const: raster.background_removal
              description: >-
                The check id, 'raster.background_removal'. Optional; must equal
                the key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - autofix
              default: autofix
              description: >-
                Must be 'autofix': reject, warn, ignore or autofix (FileCheck
                repairs it; judged as reject when this file is beyond the
                repair). Omitted = warn. Severity only decides how a failure is
                judged: a workflow autofix step repairs every failed check that
                has a repair, whatever its severity.
            autofixStrategy:
              enum:
                - remove-bg
                - null
              description: >-
                Display label for the repair, shown in the dashboard; the
                runtime picks the repair from the check id and ignores this
                field. Known labels: 'remove-bg'. null or omitted is fine.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                remove:
                  type: boolean
                  description: >-
                    true to remove backgrounds. Required (true) when the check
                    is enabled.
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
          allOf:
            - if:
                type: object
                required:
                  - enabled
                properties:
                  enabled:
                    const: true
              then:
                type: object
                required:
                  - target
                properties:
                  target:
                    type: object
                    required:
                      - remove
                    properties:
                      remove:
                        const: true
        raster.max_file_size:
          type: object
          additionalProperties: false
          description: >-
            File size: fails when the image file is larger than max_mb
            megabytes. No automatic repair.
          properties:
            id:
              const: raster.max_file_size
              description: >-
                The check id, 'raster.max_file_size'. Optional; must equal the
                key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - ignore
              default: warn
              description: >-
                reject, warn or ignore. Omitted = warn. autofix is refused: this
                check has no repair, and an autofix finding would promise the
                customer a fix that never happens.
            autofixStrategy:
              enum:
                - null
              description: >-
                Display label for the repair. No label exists for this check:
                leave it null or omit it.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                max_mb:
                  type: number
                  description: >-
                    Largest file accepted, in MB (1 MB = 1,048,576 bytes).
                    Required when the check is enabled.
                  exclusiveMinimum: 0
                  maximum: 10000
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
          allOf:
            - if:
                type: object
                required:
                  - enabled
                properties:
                  enabled:
                    const: true
              then:
                type: object
                required:
                  - target
                properties:
                  target:
                    type: object
                    required:
                      - max_mb
        raster.icc_profile_required:
          type: object
          additionalProperties: false
          description: >-
            Embedded colour profile: with 'any', fails when the image has no
            embedded ICC profile; with an alias, fails unless that exact profile
            is embedded. Autofix: embeds expected_profile_name and converts the
            pixels to it; 'any' embeds fogra39, a CMYK profile, so an RGB photo
            becomes CMYK.
          properties:
            id:
              const: raster.icc_profile_required
              description: >-
                The check id, 'raster.icc_profile_required'. Optional; must
                equal the key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - autofix
                - ignore
              default: warn
              description: >-
                reject, warn, ignore or autofix (FileCheck repairs it; judged as
                reject when this file is beyond the repair). Omitted = warn.
                Severity only decides how a failure is judged: a workflow
                autofix step repairs every failed check that has a repair,
                whatever its severity.
            autofixStrategy:
              enum:
                - null
              description: >-
                Display label for the repair. No label exists for this check:
                leave it null or omit it.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                expected_profile_name:
                  enum:
                    - any
                    - fogra39
                    - fogra51
                    - fogra52
                    - fogra29
                    - iso-coated-v2
                    - iso-coated-v2-300
                    - gracol2013
                    - gracol2006
                    - swop2013
                    - swop
                    - japan-coated
                    - japan-uncoated
                    - psr-lwc
                    - psr-snp
                    - srgb
                    - adobe-rgb
                    - display-p3
                    - greyscale
                  description: >-
                    'any' or the ICC alias the image must carry. Required when
                    the check is enabled. FileCheck ICC aliases: fogra39 (Coated
                    FOGRA39), fogra51 (PSO Coated v3), fogra52 (PSO Uncoated
                    v3), fogra29 (Uncoated FOGRA29), iso-coated-v2,
                    iso-coated-v2-300 (300 % ink cap), gracol2013, gracol2006,
                    swop2013, swop (US Web Coated SWOP v2), japan-coated,
                    japan-uncoated, psr-lwc, psr-snp (newsprint), srgb,
                    adobe-rgb, display-p3, greyscale.
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
          allOf:
            - if:
                type: object
                required:
                  - enabled
                properties:
                  enabled:
                    const: true
              then:
                type: object
                required:
                  - target
                properties:
                  target:
                    type: object
                    required:
                      - expected_profile_name
        raster.aspect_ratio:
          type: object
          additionalProperties: false
          description: >-
            Aspect ratio: fails when the image's width divided by height is
            further than tolerance from every ratio in ratio, in either
            orientation. Autofix: pads the image (letterbox or pillarbox,
            nothing cropped) to the nearest allowed ratio, with tolerance 0.02
            when none is set.
          properties:
            id:
              const: raster.aspect_ratio
              description: >-
                The check id, 'raster.aspect_ratio'. Optional; must equal the
                key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - autofix
                - ignore
              default: warn
              description: >-
                reject, warn, ignore or autofix (FileCheck repairs it; judged as
                reject when this file is beyond the repair). Omitted = warn.
                Severity only decides how a failure is judged: a workflow
                autofix step repairs every failed check that has a repair,
                whatever its severity.
            autofixStrategy:
              enum:
                - crop
                - null
              description: >-
                Display label for the repair, shown in the dashboard; the
                runtime picks the repair from the check id and ignores this
                field. Known labels: 'crop'. null or omitted is fine.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                ratio:
                  type: array
                  description: >-
                    Accepted ratios, each as a string 'W:H' (also 'W/H' or
                    'WxH'), e.g. ['3:2', '4:3'], or a number = width divided by
                    height (1.5). Either orientation passes. A list of two whole
                    numbers such as [3, 2] means the ratios 3:1 and 2:1, not
                    3:2, and is refused; [1, 1] (square) is fine. Required
                    (non-empty) when the check is enabled.
                  items:
                    anyOf:
                      - type: string
                        pattern: ^\d+(\.\d+)?[:/xX]\d+(\.\d+)?$
                      - type: number
                        exclusiveMinimum: 0
                  if:
                    type: array
                    minItems: 2
                    maxItems: 2
                    items:
                      type: integer
                    contains:
                      type: integer
                      minimum: 2
                  then: false
                tolerance:
                  type: number
                  description: >-
                    Allowed difference between the image's width/height and a
                    ratio, e.g. 0.02. Omitted = exact match.
                  minimum: 0
                  maximum: 1
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
          allOf:
            - if:
                type: object
                required:
                  - enabled
                properties:
                  enabled:
                    const: true
              then:
                type: object
                required:
                  - target
                properties:
                  target:
                    type: object
                    required:
                      - ratio
                    properties:
                      ratio:
                        type: array
                        minItems: 1
        raster.stitch_set:
          type: object
          additionalProperties: false
          description: >-
            Stitch several uploads into one image. NOT IMPLEMENTED: the check
            never reports and nothing is stitched. Autofix: none in practice
            (the check never fails).
          properties:
            id:
              const: raster.stitch_set
              description: The check id, 'raster.stitch_set'. Optional; must equal the key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - autofix
                - ignore
              default: warn
              description: >-
                reject, warn, ignore or autofix (FileCheck repairs it; judged as
                reject when this file is beyond the repair). Omitted = warn.
                Severity only decides how a failure is judged: a workflow
                autofix step repairs every failed check that has a repair,
                whatever its severity.
            autofixStrategy:
              enum:
                - stitch
                - null
              description: >-
                Display label for the repair, shown in the dashboard; the
                runtime picks the repair from the check id and ignores this
                field. Known labels: 'stitch'. null or omitted is fine.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                layout:
                  enum:
                    - horizontal
                    - vertical
                    - grid
                  description: Stored only.
                gap_px:
                  type: integer
                  minimum: 0
                  description: Stored only.
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        raster.tac:
          type: object
          additionalProperties: false
          description: >-
            Total ink of the image once converted to CMYK: fails when any
            pixel's cyan + magenta + yellow + black exceeds max_percent.
            Autofix: converts the image to CMYK through icc_alias, whose gamut
            mapping caps the ink.
          properties:
            id:
              const: raster.tac
              description: The check id, 'raster.tac'. Optional; must equal the key.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/ruleEnabled'
            severity:
              enum:
                - reject
                - warn
                - autofix
                - ignore
              default: warn
              description: >-
                reject, warn, ignore or autofix (FileCheck repairs it; judged as
                reject when this file is beyond the repair). Omitted = warn.
                Severity only decides how a failure is judged: a workflow
                autofix step repairs every failed check that has a repair,
                whatever its severity.
            autofixStrategy:
              enum:
                - icc-convert
                - null
              description: >-
                Display label for the repair, shown in the dashboard; the
                runtime picks the repair from the check id and ignores this
                field. Known labels: 'icc-convert'. null or omitted is fine.
            target:
              type:
                - object
                - 'null'
              additionalProperties: false
              description: >-
                Settings for this check. Omitted fields use the defaults
                described on each field.
              properties:
                max_percent:
                  type: number
                  description: Maximum total ink in percent. Default 300.
                  minimum: 100
                  maximum: 400
                  default: 300
                icc_alias:
                  enum:
                    - ''
                    - fogra39
                    - fogra51
                    - fogra52
                    - fogra29
                    - iso-coated-v2
                    - iso-coated-v2-300
                    - gracol2013
                    - gracol2006
                    - swop2013
                    - swop
                    - japan-coated
                    - japan-uncoated
                    - psr-lwc
                    - psr-snp
                  description: >-
                    Repair: CMYK ICC profile used for the conversion. '' or
                    omitted = iso-coated-v2-300 (300 % cap); e.g. fogra29 for
                    uncoated stock. FileCheck ICC aliases: fogra39 (Coated
                    FOGRA39), fogra51 (PSO Coated v3), fogra52 (PSO Uncoated
                    v3), fogra29 (Uncoated FOGRA29), iso-coated-v2,
                    iso-coated-v2-300 (300 % ink cap), gracol2013, gracol2006,
                    swop2013, swop (US Web Coated SWOP v2), japan-coated,
                    japan-uncoated, psr-lwc, psr-snp (newsprint), srgb,
                    adobe-rgb, display-p3, greyscale.
            message:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
            friendlyMessage:
              $ref: '#/components/schemas/Profile/definitions/legacyMessage'
        section.raster:
          type: object
          additionalProperties: false
          description: >-
            Checks on an uploaded image file (JPEG, PNG, TIFF, WebP and so on).
            Check ids start with 'raster.'.
          properties:
            id:
              const: raster
              description: The section id, 'raster'. Optional; must equal the key.
            title:
              type: string
              maxLength: 120
              description: Display title in the dashboard, e.g. 'Raster Checks'. Cosmetic.
            enabled:
              $ref: '#/components/schemas/Profile/definitions/sectionEnabled'
            rules:
              type: object
              description: >-
                The checks of this section, keyed by check id: raster.format,
                raster.min_dimensions_px, raster.max_dimensions_px,
                raster.effective_dpi, raster.colorspace, raster.bit_depth,
                raster.transparency, raster.background_removal,
                raster.max_file_size, raster.icc_profile_required,
                raster.aspect_ratio, raster.stitch_set, raster.tac. Any other
                key is refused. Omitted checks are off.
              propertyNames:
                pattern: ^raster\.
              additionalProperties: false
              properties:
                raster.format:
                  $ref: '#/components/schemas/Profile/definitions/raster.format'
                raster.min_dimensions_px:
                  $ref: >-
                    #/components/schemas/Profile/definitions/raster.min_dimensions_px
                raster.max_dimensions_px:
                  $ref: >-
                    #/components/schemas/Profile/definitions/raster.max_dimensions_px
                raster.effective_dpi:
                  $ref: >-
                    #/components/schemas/Profile/definitions/raster.effective_dpi
                raster.colorspace:
                  $ref: '#/components/schemas/Profile/definitions/raster.colorspace'
                raster.bit_depth:
                  $ref: '#/components/schemas/Profile/definitions/raster.bit_depth'
                raster.transparency:
                  $ref: '#/components/schemas/Profile/definitions/raster.transparency'
                raster.background_removal:
                  $ref: >-
                    #/components/schemas/Profile/definitions/raster.background_removal
                raster.max_file_size:
                  $ref: >-
                    #/components/schemas/Profile/definitions/raster.max_file_size
                raster.icc_profile_required:
                  $ref: >-
                    #/components/schemas/Profile/definitions/raster.icc_profile_required
                raster.aspect_ratio:
                  $ref: '#/components/schemas/Profile/definitions/raster.aspect_ratio'
                raster.stitch_set:
                  $ref: '#/components/schemas/Profile/definitions/raster.stitch_set'
                raster.tac:
                  $ref: '#/components/schemas/Profile/definitions/raster.tac'
          allOf:
            - if:
                type: object
                required:
                  - rules
                properties:
                  rules:
                    type: object
                    not:
                      additionalProperties:
                        not:
                          type: object
                          required:
                            - enabled
                          properties:
                            enabled:
                              const: true
              then:
                type: object
                required:
                  - enabled
                properties:
                  enabled:
                    const: true
        section.page_rules:
          type: object
          additionalProperties: false
          description: >-
            Reserved for per-page overrides, which are not evaluated yet. The
            dashboard saves it empty: keep rules {} and entries [], or omit the
            section.
          properties:
            id:
              const: page_rules
              description: The section id, 'page_rules'.
            title:
              type: string
              maxLength: 120
              description: Display title, e.g. 'Page Rules'. Cosmetic.
            enabled:
              type: boolean
              description: Has no effect; the dashboard saves false.
            rules:
              type: object
              additionalProperties: false
              description: Always {}.
            entries:
              type: array
              maxItems: 0
              description: 'Always []: per-page overrides are not supported yet.'
        pdfSections:
          type: object
          additionalProperties: false
          description: Sections of a PDF profile. Omitted sections are off.
          properties:
            geometry:
              $ref: '#/components/schemas/Profile/definitions/section.geometry'
            color:
              $ref: '#/components/schemas/Profile/definitions/section.color'
            text:
              $ref: '#/components/schemas/Profile/definitions/section.text'
            images:
              $ref: '#/components/schemas/Profile/definitions/section.images'
            structure:
              $ref: '#/components/schemas/Profile/definitions/section.structure'
            page_rules:
              $ref: '#/components/schemas/Profile/definitions/section.page_rules'
        rasterSections:
          type: object
          additionalProperties: false
          description: 'Sections of a raster profile: only raster.'
          properties:
            raster:
              $ref: '#/components/schemas/Profile/definitions/section.raster'
    RecordFields:
      type: object
      properties:
        id:
          type: string
          description: The record id.
        source:
          type: string
          enum:
            - domain
            - store
          description: '`domain`: yours. `store`: a built-in catalog record.'
        customized:
          type: boolean
          description: >-
            Your own copy of a built-in record, under the same id. Revert drops
            it.
        draft:
          type: boolean
          description: Present and true on an unpublished draft.
        draftExpiresAt:
          type: string
          format: date-time
          description: When an unpublished draft is deleted.
        created:
          type: integer
          description: Unix time (seconds).
        modified:
          type: integer
          description: Unix time (seconds).
    Error:
      type: object
      properties:
        error:
          type: boolean
          const: true
        code:
          type: string
          description: >-
            Machine-readable reason, such as validation_failed,
            invalid_reference, not_found, in_use, draft_reference.
        message:
          type: string
        param:
          type: string
          description: >-
            The field at fault, as a dotted path (intake.ruleId,
            accepts.0.preflight.profileId).
        details:
          type: array
          description: Every problem found, or the records that block a delete.
          items:
            type: object
            additionalProperties: true
        requestId:
          type: string
          description: Quote it to support.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Your secret key as a bearer token, e.g. `Authorization: Bearer
        sk_live_…`. Secret keys are server-side only.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.