@@ -25,7 +25,9 @@ components:
2525 - 8
2626 - 9
2727 x-enum-descriptions :
28- - ' Contains cropped and rotated image of document. Most of coordinates in other types defined on that image'
28+ - ' Contains cropped and rotated with perspective compensation image of document.
29+ Single input image can contain multiple document side/pages, which will be returned as separated results.
30+ Most of coordinates in other types defined on that image'
2931 - ' Contains check statuses with details, grouped by source'
3032 - ' Contains document textual fields from all sources (mrz, rfid, visual, barcode) with validity and cross-source compare checks'
3133 - ' Contains images from all document sources (mrz, rfid, visual, barcode)'
@@ -42,7 +44,7 @@ components:
4244 - ' Contains list of document type candidates with their probabilities and descriptions'
4345 - ' Contains description of determined document type, if any'
4446 x-enum-varnames :
45- - RAW_IMAGE
47+ - DOCUMENT_IMAGE
4648 - STATUS
4749 - TEXT
4850 - IMAGES
@@ -76,7 +78,7 @@ components:
7678 discriminator :
7779 propertyName : result_type
7880 mapping :
79- 1 : " RawImageResult "
81+ 1 : " DocumentImageResult "
8082 3 : " TextDataResult"
8183 6 : " GraphicsResult"
8284 8 : " DocumentTypesCandidatesResult"
@@ -101,7 +103,7 @@ components:
101103 type : array
102104 items :
103105 anyOf :
104- - $ref : " #/components/schemas/RawImageResult "
106+ - $ref : " #/components/schemas/DocumentImageResult "
105107 - $ref : " #/components/schemas/TextResult"
106108 - $ref : " #/components/schemas/StatusResult"
107109 - $ref : " #/components/schemas/TextDataResult"
@@ -111,8 +113,8 @@ components:
111113 - $ref : " #/components/schemas/DocumentTypesCandidatesResult"
112114 - $ref : " #/components/schemas/ImagesResult"
113115
114- RawImageResult :
115- $ref : " ./rt-raw-image.yml#/components/schemas/RawImageResult "
116+ DocumentImageResult :
117+ $ref : " ./rt-raw-image.yml#/components/schemas/DocumentImageResult "
116118
117119 StatusResult :
118120 $ref : " ./rt-status.yml#/components/schemas/StatusResult"
0 commit comments