openapi: 3.0.0
servers:
  - url: '{protocol}://localhost:{port}/rest/dpf/v1'
    variables:
      protocol:
        enum:
          - http
          - https
        default: https
      port:
        enum:
          - '9125'
          - '9126'
        default: '9126'
info:
  title: DPF REST API
  description: REST API of the SEAL Systems Digital Paper Factory
  version: '1.3'
  contact:
    name: SEAL Systems AG, Röttenbach, Germany
    url: https://sealsystems.de/
    email: sales@sealsystems.de
paths:
  /jobs:
    get:
      summary: Get list of jobs
      description: >
        NOT IMPLEMENTED

        provided for a later implementation step because it requires user
        authorization

        (This route provides access to the collection of Job IDs

        known in DPF. Use filters to search for specific jobs,

        and paging to limit the number of results retrieved.)
      tags:
        - Jobs
      parameters:
        - name: filter
          in: query
          required: false
          description: |
            Query for searching jobs. The given value is used to perform a
            substring search in several columns. No wildcards required.
          schema:
            type: string
        - name: show
          in: query
          required: false
          description: |
            Number of records to return at the max (page size). 
            Set to 0 to retrieve ALL jobs at once (careful, may be a big list).
          schema:
            type: integer
        - name: skip
          in: query
          required: false
          description: |
            Number of entries to omit from top of the result list.
          schema:
            type: integer
        - name: sort
          in: query
          required: false
          description: >
            Job property to sort jobs by; may contain keywords ASC or DESC for
            ascending or descending sort order. E.g. '...?sort=status,ID,ASC'
            would sort the job list by status, then by ID, in ascending order.
          schema:
            type: string
      responses:
        '200':
          description: OK. List of Job IDs is returned.
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string
        '401':
          description: unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
        '500':
          description: Unexpected server error, please check log file for more details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
        '501':
          description: not implemented
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
    post:
      summary: Create a new job
      description: |
        Creates a new job entry, either empty or, if jobInfo is provided,
        pre-configured with the given parameters. The job is just created,
        not started (see job controls).
      tags:
        - Jobs
      responses:
        '201':
          description: OK, new job created - returns jobID
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JobID'
        '400':
          description: Invalid job object received
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
        '401':
          description: User lacks required permission to create job
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
        '500':
          description: Unexpected server error, please check log file for more details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
      requestBody:
        content:
          application/json:
            schema:
              oneOf:
                - $ref: '#/components/schemas/ConversionJob'
                - $ref: '#/components/schemas/PDFLLSJob'
                - $ref: '#/components/schemas/GenericJob'
                - $ref: '#/components/schemas/RawJob'
        description: |
          Partial or comprehensive parameters for the new job. 
  /jobs/{jobID}:
    get:
      summary: Get details of a job instance
      description: |
        Retrieves information about a job instance. Query sub-ressources 
        for more details.
      tags:
        - Jobs
      parameters:
        - name: jobID
          description: ID of the job instance to query
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK, job information is returned
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/ConversionJob'
                  - $ref: '#/components/schemas/PDFLLSJob'
                  - $ref: '#/components/schemas/GenericJob'
                  - $ref: '#/components/schemas/RawJob'
        '401':
          description: unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
        '404':
          description: Job not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
        '500':
          description: Unexpected server error, please check log file for more details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
        '501':
          description: not implemented
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
    put:
      summary: Update job metadata (complete, replace)
      description: >-
        A put call to the job root record completely replaces job metadata, but
        does not affect sub-ressources
      tags:
        - Jobs
      parameters:
        - name: jobID
          description: ID of the job instance to query
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              oneOf:
                - $ref: '#/components/schemas/ConversionJob'
                - $ref: '#/components/schemas/PDFLLSJob'
                - $ref: '#/components/schemas/GenericJob'
                - $ref: '#/components/schemas/RawJob'
        description: |
          Partial or comprehensive metadata for the new job. 
      responses:
        '200':
          description: OK, successful update to existing job resource
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
        '401':
          description: unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
        '409':
          description: Conflict e.g. when the job is already started
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
        '500':
          description: Unexpected server error, please check log file for more details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
        '501':
          description: not implemented
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
    delete:
      summary: Delete a job
      tags:
        - Jobs
      parameters:
        - name: jobID
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
        '401':
          description: unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
        '404':
          description: resource not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
        '500':
          description: Unexpected server error, please check log file for more details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
        '501':
          description: not implemented
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
  /jobs/{jobID}/input:
    post:
      summary: Add an input file
      description: |
        Define an additional input file for the job. A POST call to this route
        creates a new entry in the list. Without any parameters, an empty
        record is create. You may include metadata (such as a source URL) with
        the call to define the file
      tags:
        - Jobs
        - Input Files
      parameters:
        - name: jobID
          description: ID of the DPF job to modify
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InputFile'
        description: |
          Input file parameter passed as JSON object. See schema 'InputFile'
      responses:
        '201':
          description: OK, new input file created, returns fileID
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FileID'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
        '401':
          description: User lacks required permission to add input file
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
        '404':
          description: job not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
        '500':
          description: Unexpected server error, please check log file for more details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
  /jobs/{jobID}/input/{fileID}/content:
    post:
      summary: Upload content of input file as stream
      tags:
        - Jobs
        - Input Files
      parameters:
        - name: jobID
          description: ID of the DPF job to query
          in: path
          required: true
          schema:
            type: string
        - name: fileID
          in: path
          required: true
          description: ID of the input file
          schema:
            type: integer
      requestBody:
        content:
          application/octet-stream:
            schema:
              type: string
              format: binary
      responses:
        '200':
          description: successfully uploaded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
        '400':
          description: invalid input
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
        '401':
          description: User lacks required permission to add input file
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
        '404':
          description: job or file not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
        '500':
          description: Unexpected server error, please check log file for more details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
  /jobs/{jobID}/start:
    post:
      summary: Start a job
      description: |
        When a DPF job is defined and ready for processing, it may be
        started by a POST query to this route.
      tags:
        - Jobs
        - Control
      parameters:
        - name: jobID
          description: ID of the DPF job to start
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK, DPF job started.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TrackerURL'
                description: >-
                  If the job can be started, the DPF trackerUrl will be
                  returned.
        '400':
          description: Conflict e.g. missing parameters or job is already running
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
        '401':
          description: unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
        '404':
          description: job not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
        '500':
          description: Unexpected server error, please check log file for more details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
  /jobs/{jobID}/cancel:
    post:
      summary: Stop a running job
      description: |
        A running DPF job may be aborted by a POST query to this route.
      tags:
        - Jobs
        - Control
      parameters:
        - name: jobID
          description: ID of the DPF job to stop
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK, DPF job stopped.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
        '401':
          description: unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
        '403':
          description: >-
            Not modified - e.g. if job is already finished or has not been
            started yet
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
        '404':
          description: job not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
        '500':
          description: Unexpected server error, please check log file for more details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
  /jobs/{jobID}/state:
    get:
      summary: Get status of job
      description: |
        Get status of DPF Job 
      tags:
        - Jobs
        - Control
      parameters:
        - name: jobID
          description: ID of the DPF job to stop
          in: path
          required: true
          schema:
            type: string
        - name: verbose
          description: use verbose to get detailed status information and job history
          in: query
          required: false
          schema:
            type: boolean
      responses:
        '200':
          description: OK, status of DPF Job
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StatusResponse'
        '401':
          description: unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
        '404':
          description: Job not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
        '500':
          description: Unexpected server error, please check log file for more details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
  /jobs/{jobID}/result:
    get:
      summary: Get result parameter
      description: >
        Delievers a result object with result parameters and a list of file IDs
        of generated output files. 

        This subresoures can be received by a GET request to route
        /jobs/{jobID}/result/{fileID}.
      tags:
        - Jobs
        - Results
      parameters:
        - name: jobID
          description: ID of the DPF job to query
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK, result metadata returned
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Result'
        '401':
          description: unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
        '404':
          description: Job or file not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
        '500':
          description: Unexpected server error, please check log file for more details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
  /jobs/{jobID}/result/{fileID}:
    get:
      summary: Retrieve metadata of a result file
      description: |
        A GET query to this route retrieves (if available) meta-information
        about a job result, e.g. status, size, etc. See
        Result schema for details.
      tags:
        - Jobs
        - Results
      parameters:
        - name: jobID
          description: ID of the DPF job to query
          in: path
          required: true
          schema:
            type: string
        - name: fileID
          description: ID of the result file
          in: path
          required: true
          schema:
            type: integer
      responses:
        '200':
          description: OK, metadata is returned
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResultFile'
        '401':
          description: unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
        '404':
          description: Job or Result not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
        '500':
          description: Unexpected server error, please check log file for more details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
  /jobs/{jobID}/result/{fileID}/content:
    get:
      summary: Retreive content of result file as stream
      description: >-
        A GET query to this route retrieves the content of the result file as
        stream.
      tags:
        - Jobs
        - Results
      parameters:
        - name: jobID
          in: path
          required: true
          schema:
            type: string
        - name: fileID
          in: path
          required: true
          schema:
            type: integer
      responses:
        '200':
          description: returns result file as stream
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '401':
          description: unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
        '404':
          description: Job or file not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
        '500':
          description: Unexpected server error, please check log file for more details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
  /jobs/{jobID}/log:
    get:
      summary: Retrieve log file of an job
      description: |
        DPF files log information for each job. Use a GET query to this
        route to access it.
      tags:
        - Jobs
        - Logs
      parameters:
        - name: jobID
          description: ID of the DPF job to query
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK, job log is returned
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '401':
          description: unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
        '404':
          description: job or logfile not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
        '500':
          description: Unexpected server error, please check log file for more details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
        '501':
          description: not implemented
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
  /panels:
    get:
      summary: Retrieve the panel configuration for Seal Operator
      description: >-
        Panel configuration for Seal Operator dynamically generated from DPF
        Configuration File
      tags:
        - UI
      responses:
        '200':
          description: Ok, panel config is returned
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '401':
          description: unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
        '404':
          description: file not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
        '500':
          description: Unexpected server error, please check log file for more details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
  /version:
    get:
      summary: Retrieve the version information
      description: Retreive versions of Swagger API, war file and git
      tags:
        - Version
      responses:
        '200':
          description: Ok, version info is returned
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VersionResponse'
        '500':
          description: Unexpected server error, please check log file for more details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPResponse'
components:
  securitySchemes:
    BasicAuth:
      type: http
      scheme: basic
  schemas:
    JobID:
      type: object
      properties:
        jobid:
          type: string
    FileID:
      type: object
      properties:
        fileid:
          type: integer
    TrackerURL:
      type: object
      properties:
        trackerURL:
          type: string
    ConversionJob:
      type: object
      description: Information about one DPF Conversion job.
      required:
        - conversionType
      properties:
        ID:
          type: string
          description: UUID Job identifier
        conversionType:
          type: string
          description: type of DPF conversion
        status:
          $ref: '#/components/schemas/JobStateEnum'
        dpfParameter:
          type: object
          properties:
            userName:
              type: string
            jobName:
              type: string
            language:
              type: string
            loglevel:
              type: string
            jobPriority:
              type: string
            deleteJob:
              type: string
            errDeleteJob:
              type: string
            forgetJob:
              type: string
            keepUntilForget:
              type: string
        wsControl:
          type: object
          properties:
            callbackURL:
              type: string
        wsdata:
          type: array
          items:
            type: object
            properties:
              number:
                type: string
              text:
                type: string
        resultFileDropPath:
          type: string
        profile:
          type: string
        destFormat:
          type: string
        stampConfig:
          type: object
          properties:
            color:
              type: boolean
            stampText:
              type: array
              items:
                type: object
                properties:
                  number:
                    type: string
                  text:
                    type: string
            selection:
              type: string
            stpFile:
              type: string
        viewConfig:
          type: object
          properties:
            openAction:
              type: string
            pageMode:
              type: string
            viewPreferences:
              type: object
              properties:
                hideToolbar:
                  type: boolean
                hideMenubar:
                  type: boolean
                hideWindowUI:
                  type: boolean
                fitWindow:
                  type: boolean
                centerWindow:
                  type: boolean
                displayDocTitle:
                  type: boolean
        cryptConfig:
          type: object
          properties:
            userPwd:
              type: string
            ownerPwd:
              type: string
            protectPdfConfig:
              type: object
              properties:
                open:
                  type: boolean
                rights:
                  type: boolean
                print:
                  type: string
                  enum:
                    - notallowed
                    - noprotection
                    - lowresolution
                  default: noprotection
                copy:
                  type: string
                  enum:
                    - notallowed
                    - noprotection
                    - text
                    - access
                  default: noprotection
                change:
                  type: string
                  enum:
                    - notallowed
                    - noprotection
                    - assemble
                    - fill
                    - notesandfill
                    - notes
                  default: notallowed
        thumbnailFormat:
          type: string
        thumbnailSize:
          type: string
    GenericJob:
      type: object
      description: Information about one generic DPF job.
      required:
        - jobConfig
      properties:
        ID:
          type: string
          description: UUID Job identifier
        jobConfig:
          type: string
        status:
          $ref: '#/components/schemas/JobStateEnum'
        dpfParameter:
          type: object
          properties:
            userName:
              type: string
            jobName:
              type: string
            language:
              type: string
            loglevel:
              type: string
            jobPriority:
              type: string
            deleteJob:
              type: string
            errDeleteJob:
              type: string
            forgetJob:
              type: string
            keepUntilForget:
              type: string
        genericParams:
          type: array
          items:
            type: object
            properties:
              name:
                type: string
              value:
                type: string
        wsControl:
          type: object
          properties:
            callbackURL:
              type: string
    PDFLLSJob:
      type: object
      description: Information about one DPF PDFLLS job.
      required:
        - operation
      properties:
        ID:
          type: string
          description: UUID Job identifier
        operation:
          type: string
          enum:
            - check
            - adapt
          description: type of DPF operation
        status:
          $ref: '#/components/schemas/JobStateEnum'
        dpfParameter:
          type: object
          properties:
            userName:
              type: string
            jobName:
              type: string
            language:
              type: string
            loglevel:
              type: string
            jobPriority:
              type: string
            deleteJob:
              type: string
            errDeleteJob:
              type: string
            forgetJob:
              type: string
            keepUntilForget:
              type: string
        checkparam:
          type: object
          properties:
            profile:
              type: string
            statesAcceptResult:
              type: array
              items:
                $ref: '#/components/schemas/PDFLLSStateEnum'
        adaptparam:
          type: object
          properties:
            statesRequestAdapt:
              type: array
              description: >-
                Comma-separated list of status values which specifies when
                pdfadapt is to be used for adjusting a PDF file. Here, only the
                status values make sense that can be returned by the PDF check
                and for which an adjustment makes sense; WARNING, ERROR,
                FATAL_FAILURE.
              default: WARNING,ERROR
              items:
                $ref: '#/components/schemas/PDFLLSStateEnum'
            statesRequestConvert:
              type: array
              description: >-
                Comma-separated list of status values which specifies when a
                conversion is to be used for adjusting a PDF file. Here, only
                the status values make sense that can be returned by the PDF
                check and PDF adjustment step and for which a conversion makes
                sense. WARNING, ERROR, FATAL_FAILURE, INTERNAL_FAILURE,
                CHANGE_PROTECTED, NO_ADJUST_NECESSARY, SIGNATURE,
                UNKNOWN_FAILURE
              default: >-
                WARNING, ERROR, FATAL_FAILURE, INTERNAL_FAILURE,
                CHANGE_PROTECTED, SIGNATURE, UNKNOWN_FAILURE
              items:
                $ref: '#/components/schemas/PDFLLSStateEnum'
            convertFlags:
              type: array
              items:
                $ref: '#/components/schemas/PDFLLSConvertFlagsEnum'
    RawJob:
      type: object
      description: jobtype without configuration - for internal use only, not supported
      required:
        - dpfWorkflow
      properties:
        ID:
          type: string
          description: UUID Job Identifier
        dpfWorkflow:
          type: string
          description: name of DPF Workflow
        dpfParameter:
          type: array
          items:
            type: object
            properties:
              name:
                type: string
              value:
                type: string
    InputFile:
      type: object
      description: Metadata of an input file to a DPF job.
      properties:
        ID:
          type: integer
          description: Input files are auto-numbered, starting with 1
          readOnly: true
        fileName:
          type: string
        origFileName:
          type: string
        dpfParamName:
          type: string
        fileType:
          type: string
    Result:
      type: object
      description: Metadata of an DPF result.
      properties:
        jobState:
          $ref: '#/components/schemas/JobStateEnum'
        message:
          type: string
        resultParams:
          type: array
          items:
            type: object
            properties:
              name:
                type: string
              value:
                type: string
        resultFileIDs:
          type: array
          items:
            type: integer
    ResultFile:
      type: object
      description: Metadata of an output file to a DPF job.
      properties:
        fileID:
          type: integer
        fileName:
          type: string
        fileSize:
          type: string
        comment:
          type: string
    StatusResponse:
      type: object
      description: status information for a DPF job
      properties:
        jobstate:
          $ref: '#/components/schemas/JobStateEnum'
        message:
          type: string
          description: >-
            optional text field for additional information in case of jobstate
            error
        jobTrackerUrl:
          type: string
          format: URL
        db_jobstates:
          $ref: '#/components/schemas/DBJobStates'
        jobstate_history:
          type: array
          items:
            $ref: '#/components/schemas/JobStateHistoryItem'
    HTTPResponse:
      type: object
      properties:
        code:
          type: integer
          format: int32
        message:
          type: string
        fields:
          type: string
    VersionResponse:
      type: object
      properties:
        Swagger_API_Version:
          type: string
        War_File_Version:
          type: string
        Git_Commit_ID:
          type: string
    JobStateEnum:
      type: string
      description: current state of dpf job
      enum:
        - undefined
        - added
        - transferred
        - active
        - finished
        - sending
        - canceled
        - suspended
        - error
    DBJobStates:
      type: object
      properties:
        db_jobstate:
          type: string
        db_internalstate:
          type: string
    JobStateHistoryItem:
      type: object
      properties:
        jobid:
          type: string
        exitstatus:
          type: string
        wfname:
          type: string
        wfpos:
          type: string
        wfpath:
          type: string
        time:
          type: string
        internalstate:
          type: string
        nodename:
          type: string
    PDFLLSStateEnum:
      type: string
      description: >-
        status values that can be returned by the PDF check, PDF adjustment and
        PDF conversion steps
      enum:
        - OK
        - ERROR
        - WARNING
        - FATAL_FAILURE
        - UNKNOWN_FAILURE
        - SIGNATURE
        - INTERNAL_FAILURE
        - CONFIGURATION_FAILURE
        - CHANGE_PROTECTED
        - OPEN_PROTECTED
        - NEVER
    PDFLLSConvertFlagsEnum:
      type: string
      description: operations that pdfadapt should apply to the PDF file
      enum:
        - noXmpMetadataRemoval
        - noFlattenTransparency
        - forceConvDocToImage
        - forceConvPageToImage
        - forceConvRedistill
