Skip to content

Commit 89793bd

Browse files
Update schemas
1 parent bdc9786 commit 89793bd

6 files changed

Lines changed: 86 additions & 135 deletions

File tree

authenticity/rt-photo-ident.yml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ components:
1717
SourceImage:
1818
$ref: "../common.yml#/components/schemas/ImageData"
1919
ResultImages:
20-
$ref: "#/components/schemas/RawImageContainerList"
20+
$ref: "../common.yml#/components/schemas/RawImageContainerList"
2121
FieldTypesCount:
2222
type: integer
2323
FieldTypesList:
@@ -30,17 +30,3 @@ components:
3030
type: integer
3131
Reserved3:
3232
type: integer
33-
34-
RawImageContainerList:
35-
title: "RawImageContainerList"
36-
type: object
37-
required:
38-
- Count
39-
- Images
40-
properties:
41-
Count:
42-
type: integer
43-
Images:
44-
type: array
45-
items:
46-
$ref: "../common.yml#/components/schemas/ImageData"

common.yml

Lines changed: 67 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -221,12 +221,12 @@ components:
221221
- 3072
222222
x-enum-descriptions:
223223
- "No Light"
224-
- "Upper/lower lighters of white light scheme"
225-
- "Side lighters of white light scheme"
224+
- "Upper/lower white"
225+
- "Side white"
226226
- "White"
227227
- "Infrared"
228228
- "Ultraviolet"
229-
- "White coaxial"
229+
- "Axial white"
230230
x-enum-varnames:
231231
- "OFF"
232232
- "WHITE_TOP"
@@ -358,7 +358,7 @@ components:
358358
InComparison:
359359
type: integer
360360
wLCID:
361-
type: integer
361+
$ref: "./e-lcid.yml#/components/schemas/LCID"
362362
Reserved2:
363363
type: integer
364364
Reserved3:
@@ -435,3 +435,66 @@ components:
435435
type: integer
436436
SubClass:
437437
type: integer
438+
439+
RawImageContainerList:
440+
title: "RawImageContainerList"
441+
type: object
442+
required:
443+
- Count
444+
- Images
445+
properties:
446+
Count:
447+
type: integer
448+
Images:
449+
type: array
450+
items:
451+
$ref: "#/components/schemas/ImageData"
452+
453+
DocumentPosition:
454+
title: "DocumentPosition"
455+
type: object
456+
required:
457+
- docFormat
458+
- Angle
459+
- Width
460+
- Height
461+
- Center
462+
- LeftBottom
463+
- LeftTop
464+
- RightBottom
465+
- RightTop
466+
- Dpi
467+
properties:
468+
docFormat:
469+
$ref: "./rt-doc-type-old.yml#/components/schemas/DocumentFormat"
470+
Angle:
471+
description: "Document rotation angle"
472+
type: number
473+
Width:
474+
description: "Document width"
475+
type: integer
476+
Height:
477+
description: "Document height"
478+
type: integer
479+
Center:
480+
$ref: "./common.yml#/components/schemas/Point"
481+
LeftBottom:
482+
$ref: "./common.yml#/components/schemas/Point"
483+
LeftTop:
484+
$ref: "./common.yml#/components/schemas/Point"
485+
RightBottom:
486+
$ref: "./common.yml#/components/schemas/Point"
487+
RightTop:
488+
$ref: "./common.yml#/components/schemas/Point"
489+
Dpi:
490+
type: integer
491+
Inverse:
492+
type: integer
493+
ObjArea:
494+
type: integer
495+
ObjIntAngleDev:
496+
type: integer
497+
PerspectiveTr:
498+
type: integer
499+
ResultStatus:
500+
type: integer

e-rfid-data-file-type.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,8 @@ components:
184184
- "AUTHENTICITY_V2"
185185
- "ATR"
186186
- "DIR"
187-
- "_E_SIGN_PK"
188-
- "_E_SIGN_SIGNED_DATA"
187+
- "E_SIGN_PK"
188+
- "E_SIGN_SIGNED_DATA"
189189
- "CERTIFICATE"
190190
- "MASTER_LIST"
191191
- "DEFECT_LIST"

rt-document-position.yml

Lines changed: 1 addition & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -8,53 +8,4 @@ components:
88
- DocumentPosition
99
properties:
1010
DocumentPosition:
11-
$ref: "#/components/schemas/DocumentPosition"
12-
13-
DocumentPosition:
14-
title: "DocumentPosition"
15-
type: object
16-
required:
17-
- docFormat
18-
- Angle
19-
- Width
20-
- Height
21-
- Center
22-
- LeftBottom
23-
- LeftTop
24-
- RightBottom
25-
- RightTop
26-
- Dpi
27-
properties:
28-
docFormat:
29-
$ref: "./rt-doc-type-old.yml#/components/schemas/DocumentFormat"
30-
Angle:
31-
description: "Document rotation angle"
32-
type: number
33-
Width:
34-
description: "Document width"
35-
type: integer
36-
Height:
37-
description: "Document height"
38-
type: integer
39-
Center:
40-
$ref: "./common.yml#/components/schemas/Point"
41-
LeftBottom:
42-
$ref: "./common.yml#/components/schemas/Point"
43-
LeftTop:
44-
$ref: "./common.yml#/components/schemas/Point"
45-
RightBottom:
46-
$ref: "./common.yml#/components/schemas/Point"
47-
RightTop:
48-
$ref: "./common.yml#/components/schemas/Point"
49-
Dpi:
50-
type: integer
51-
Inverse:
52-
type: integer
53-
ObjArea:
54-
type: integer
55-
ObjIntAngleDev:
56-
type: integer
57-
PerspectiveTr:
58-
type: integer
59-
ResultStatus:
60-
type: integer
11+
$ref: "./common.yml#/components/schemas/DocumentPosition"

rt-mrz-position.yml

Lines changed: 1 addition & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -8,53 +8,4 @@ components:
88
- MrzPosition
99
properties:
1010
MrzPosition:
11-
$ref: "#/components/schemas/MrzPosition"
12-
13-
MrzPosition:
14-
title: "MrzPosition"
15-
type: object
16-
required:
17-
- docFormat
18-
- Angle
19-
- Width
20-
- Height
21-
- Center
22-
- LeftBottom
23-
- LeftTop
24-
- RightBottom
25-
- RightTop
26-
- Dpi
27-
properties:
28-
docFormat:
29-
$ref: "./rt-doc-type-old.yml#/components/schemas/DocumentFormat"
30-
Angle:
31-
description: "Document rotation angle"
32-
type: number
33-
Width:
34-
description: "Document width"
35-
type: integer
36-
Height:
37-
description: "Document height"
38-
type: integer
39-
Center:
40-
$ref: "./common.yml#/components/schemas/Point"
41-
LeftBottom:
42-
$ref: "./common.yml#/components/schemas/Point"
43-
LeftTop:
44-
$ref: "./common.yml#/components/schemas/Point"
45-
RightBottom:
46-
$ref: "./common.yml#/components/schemas/Point"
47-
RightTop:
48-
$ref: "./common.yml#/components/schemas/Point"
49-
Dpi:
50-
type: integer
51-
Inverse:
52-
type: integer
53-
ObjArea:
54-
type: integer
55-
ObjIntAngleDev:
56-
type: integer
57-
PerspectiveTr:
58-
type: integer
59-
ResultStatus:
60-
type: integer
11+
$ref: "./common.yml#/components/schemas/DocumentPosition"

rt-mrz-test-quality.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -26,27 +26,27 @@ components:
2626
- TEXTUAL_FILLING
2727
properties:
2828
CHECK_SUMS:
29-
type: integer
29+
$ref: "./common.yml#/components/schemas/CheckResult"
3030
CONTRAST_PRINT:
31-
type: integer
31+
$ref: "./common.yml#/components/schemas/CheckResult"
3232
DOC_FORMAT:
3333
type: integer
3434
MRZ_FORMAT:
3535
type: integer
3636
PRINT_POSITION:
37-
type: integer
37+
$ref: "./common.yml#/components/schemas/CheckResult"
3838
STAIN_MRZ:
39-
type: integer
39+
$ref: "./common.yml#/components/schemas/CheckResult"
4040
SYMBOLS_PARAM:
41-
type: integer
41+
$ref: "./common.yml#/components/schemas/CheckResult"
4242
StrCount:
4343
type: integer
4444
Strings:
4545
type: array
4646
items:
4747
$ref: "#/components/schemas/StringItem"
4848
TEXTUAL_FILLING:
49-
type: integer
49+
$ref: "./common.yml#/components/schemas/CheckResult"
5050

5151
StringItem:
5252
title: "StringItem"
@@ -71,9 +71,9 @@ components:
7171
- SymbolsEstimations
7272
properties:
7373
ALIGNMENT_SYMBOLS_IN_STRING:
74-
type: integer
74+
$ref: "./common.yml#/components/schemas/CheckResult"
7575
CHECK_SUMS:
76-
type: integer
76+
$ref: "./common.yml#/components/schemas/CheckResult"
7777
ErrorPOSITION:
7878
$ref: "#/components/schemas/ErrorCoordinates"
7979
FieldCount:
@@ -83,15 +83,15 @@ components:
8383
items:
8484
$ref: "#/components/schemas/FieldItem"
8585
STRINGS_DISTANCE:
86-
type: integer
86+
$ref: "./common.yml#/components/schemas/CheckResult"
8787
STRINGS_INTERVAL:
88-
type: integer
88+
$ref: "./common.yml#/components/schemas/CheckResult"
8989
STRING_FILLING:
90-
type: integer
91-
STRING_POSITION:
92-
type: integer
90+
$ref: "./common.yml#/components/schemas/CheckResult"
91+
STRINGS_POSITION:
92+
$ref: "./common.yml#/components/schemas/CheckResult"
9393
SYMBOLS_PARAM:
94-
type: integer
94+
$ref: "./common.yml#/components/schemas/CheckResult"
9595
SizeError_ALIGNMENT:
9696
type: number
9797
SizeError_DISTANCE:

0 commit comments

Comments
 (0)