Skip to content

Commit 737a9af

Browse files
committed
add per document config param
1 parent 40b8589 commit 737a9af

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

p-process.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,12 @@ components:
212212
changing API."
213213
type: object
214214
additionalProperties: true
215+
config:
216+
description: "This option allows to set additional custom configuration per document type.
217+
If recognized document has id specified in config, processing adjusts according to designated configuration."
218+
type: array
219+
items:
220+
$ref: '#/components/schemas/PerDocumentConfig'
215221
log:
216222
description: "This option can be set to true if you need to get base64 string of transaction processing log."
217223
type: boolean
@@ -348,6 +354,21 @@ components:
348354
- 'INFO'
349355
- 'DEBUG'
350356

357+
358+
PerDocumentConfig:
359+
type: object
360+
properties:
361+
docID:
362+
description: "Specific template IDs, for which apply current custom configuration"
363+
type: array
364+
items:
365+
type: integer
366+
excludeAuthChecks:
367+
description: "Contains items from AuthenticityResultType as sum via OR operation"
368+
type: integer
369+
example: 2
370+
371+
351372
ImageQA:
352373
type: object
353374
properties:

0 commit comments

Comments
 (0)