diff --git a/common.yml b/common.yml index fb4e2ed..be2b661 100644 --- a/common.yml +++ b/common.yml @@ -525,6 +525,16 @@ components: description: "The maximum allowable part of the area occupied by the glare. The same: 0.06 = 6%" example: 0.0 + OcclusionCheckParams: + title: "OcclusionCheckParams" + type: object + properties: + maxOcclusionPart: + type: number + format: float + description: "The maximum size for the occluded area of a document; only those exceeding this size will be validated" + example: 0.01 + MDLDeviceEngagement: title: "MDLDeviceEngagement" type: integer diff --git a/p-process.yml b/p-process.yml index 494e5d7..49432ef 100644 --- a/p-process.yml +++ b/p-process.yml @@ -759,6 +759,8 @@ components: $ref: "./rt-image-quality.yml#/components/schemas/InputImageQualityChecks" glaresCheckParams: $ref: "./common.yml#/components/schemas/GlaresCheckParams" + occlusionCheckParams: + $ref: "./common.yml#/components/schemas/OcclusionCheckParams" ProcessRequestImage: title: "ProcessRequestImage"