Skip to content

Commit 65a44e0

Browse files
ArtsiomTsybulkoDmitryMatyuginvyakimchikikliashchou
authored
SP-19172 - add format field to RawImageContainer (#202)
* SP-19172 - add format field to RawImageContainer * SP-19172 - update schemas * SP-19172 - sort result_type mapping * SP-19172 - update result_type mapping * Update rt-raw-image.yml * Update rt-raw-image.yml --------- Co-authored-by: DMITRY MATYUGIN <29651624+DmitryMatyugin@users.noreply.github.com> Co-authored-by: Vladislav Yakimchik <31860804+vyakimchik@users.noreply.github.com> Co-authored-by: Ihar Kliashchou <ihar.kliashchou@gmail.com>
1 parent ac5ab71 commit 65a44e0

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

common.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,9 @@ components:
122122
properties:
123123
image:
124124
$ref: "#/components/schemas/ImageBase64"
125+
format:
126+
description: "Image format"
127+
type: string
125128

126129
ImageTransactionData:
127130
type: object

rt-raw-image.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@ components:
44

55
DocumentImageResult:
66
title: "Document Image"
7+
description: "Contains document image."
78
allOf:
89
- type: object
9-
description: "Contains cropped and rotated with perspective compensation image of document.
10-
Single input image can contain multiple document side/pages, which will be returned as separated results.
11-
Most of coordinates in other types defined on that image"
1210
required:
1311
- RawImageContainer
1412
properties:

rt.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ components:
117117
8: "DocumentTypesCandidatesResult"
118118
9: "ChosenDocumentTypeResult"
119119
15: "LexicalAnalysisResult"
120+
16: "DocumentImageResult"
120121
17: "TextDataResult"
121122
18: "TextDataResult"
122123
19: "GraphicsResult"

0 commit comments

Comments
 (0)