-
Notifications
You must be signed in to change notification settings - Fork 10
/
rt-images.yml
89 lines (83 loc) · 2.55 KB
/
rt-images.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
openapi: 3.0.3
components:
schemas:
ImagesResult:
title: "Images"
allOf:
- type: object
required:
- Images
properties:
Images:
$ref: "#/components/schemas/Images"
- $ref: "./rt.yml#/components/schemas/ResultItem"
Images:
type: object
required:
- availableSourceList
- fieldList
properties:
availableSourceList:
type: array
items:
$ref: "#/components/schemas/ImagesAvailableSource"
fieldList:
type: array
items:
$ref: "#/components/schemas/ImagesField"
ImagesAvailableSource:
type: object
required:
- source
- sourceName
properties:
containerType:
$ref: "./rt.yml#/components/schemas/ContainerType"
source:
$ref: "./common.yml#/components/schemas/Source"
ImagesField:
type: object
required:
- fieldName
- fieldType
- valueList
properties:
fieldName:
$ref: "./e-graphic-field-type.yml#/components/schemas/GraphicFieldName"
fieldType:
$ref: "./e-graphic-field-type.yml#/components/schemas/GraphicFieldType"
valueList:
type: array
items:
$ref: "#/components/schemas/ImagesFieldValue"
ImagesFieldValue:
type: object
required:
- containerType
- lightIndex
- pageIndex
- source
- value
properties:
source:
$ref: "./common.yml#/components/schemas/Source"
value:
$ref: "./common.yml#/components/schemas/ImageBase64"
originalValue:
description: "Only for images from RFID. Image as was originally stored in the RFID chip."
$ref: "./common.yml#/components/schemas/ImageBase64"
originalPageIndex:
description: "Original page index"
type: integer
pageIndex:
$ref: "./common.yml#/components/schemas/PageIndex"
lightIndex:
$ref: "./common.yml#/components/schemas/Light"
containerType:
$ref: "./rt.yml#/components/schemas/ContainerType"
fieldRect:
description: "Only for images from VISUAL. Coordinates of the image in the normalized image of the document."
$ref: "./common.yml#/components/schemas/RectangleCoordinates"
rfidOrigin:
description: "Only for images from RFID. Image location in RFID chip."
$ref: "./common.yml#/components/schemas/RfidOrigin"