diff --git a/common.yml b/common.yml index d2db2685..9e834cbc 100644 --- a/common.yml +++ b/common.yml @@ -503,3 +503,18 @@ components: type: integer ResultStatus: type: integer + + GlaresCheckParams: + title: "GlaresCheckParams" + type: object + properties: + imgMarginPart: + type: number + format: float + description: "Margin from the edges of the image. 0.35 = 35%" + example: 0.35 + maxGlaringPart: + type: number + format: float + description: "The maximum allowable part of the area occupied by the glare. The same: 0.06 = 6%" + example: 0.0 diff --git a/p-process.yml b/p-process.yml index a98d9f38..acd4fe8b 100644 --- a/p-process.yml +++ b/p-process.yml @@ -717,6 +717,8 @@ components: type: array items: $ref: "./rt-image-quality.yml#/components/schemas/InputImageQualityChecks" + glaresCheckParams: + $ref: "./common.yml#/components/schemas/GlaresCheckParams" ProcessRequestImage: title: "ProcessRequestImage"