-
Notifications
You must be signed in to change notification settings - Fork 10
/
rt-image-data.yml
52 lines (49 loc) · 1.81 KB
/
rt-image-data.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
openapi: 3.0.3
components:
schemas:
GraphicsResult:
title: "Graphics (legacy)"
description: "Graphic fields extracted from one of the document sources.
Returns separate results for each provided page."
required:
- DocGraphicsInfo
allOf:
- type: object
properties:
DocGraphicsInfo:
$ref: "#/components/schemas/GraphicFieldsList"
- $ref: "./rt.yml#/components/schemas/ResultItem"
GraphicFieldsList:
type: object
required:
- pArrayFields
properties:
pArrayFields:
type: array
items:
$ref: "#/components/schemas/GraphicField"
GraphicField:
type: object
required:
- FieldType
- image
properties:
FieldType:
$ref: "./e-graphic-field-type.yml#/components/schemas/GraphicFieldType"
image:
$ref: "./common.yml#/components/schemas/ImageData"
FieldRect:
description: "Coordinates of the graphic field in the normalized image of the document"
$ref: "./common.yml#/components/schemas/RectangleCoordinates"
RFID_OriginDG:
description: "Source data group file. Only for Result.RFID_GRAPHICS result."
type: integer
RFID_OriginDGTag:
description: "Index of the source record of the image with biometric information in the information data group. Only for Result.RFID_GRAPHICS result."
type: integer
RFID_OriginTagEntry:
type: integer
description: "Index of the template in the record with biometric data. Only for Result.RFID_GRAPHICS result."
RFID_OriginEntryView:
type: integer
description: "Index of the variant of the biometric data template. Only for Result.RFID_GRAPHICS result."