-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathrt-status.yml
More file actions
132 lines (128 loc) · 4.29 KB
/
rt-status.yml
File metadata and controls
132 lines (128 loc) · 4.29 KB
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
openapi: 3.0.4
components:
schemas:
StatusItem:
title: "StatusItem"
type: object
required:
- Status
properties:
Status:
$ref: "#/components/schemas/Status"
Status:
title: "Status"
type: object
required:
- overallStatus
- optical
- portrait
- rfid
- stopList
- detailsOptical
- age
- detailsAge
- mDL
properties:
overallStatus: # Overall checks status. Rootx status
$ref: "./common.yml#/components/schemas/CheckResult"
optical: # Overall optical checks combined status
$ref: "./common.yml#/components/schemas/CheckResult"
portrait: # Portrait comparison status
$ref: "./common.yml#/components/schemas/CheckResult"
rfid: # Overall RFID checks combined status
$ref: "./common.yml#/components/schemas/CheckResult"
stopList: # Stop list check status
$ref: "./common.yml#/components/schemas/CheckResult"
detailsRFID:
$ref: "#/components/schemas/detailsRFID"
detailsOptical:
$ref: "#/components/schemas/detailsOptical"
age:
$ref: "./common.yml#/components/schemas/CheckResult"
detailsAge:
$ref: "#/components/schemas/DetailsAge"
mDL:
$ref: "./common.yml#/components/schemas/CheckResult"
detailsOptical:
title: "detailsOptical"
description: "Details on performed optical checks"
type: object
required:
- overallStatus
- docType
- expiry
- imageQA
- mrz
- pagesCount
- security
- text
properties:
overallStatus: # Overall optical checks combined status
$ref: "./common.yml#/components/schemas/CheckResult"
docType: # Status of document type recognition
$ref: "./common.yml#/components/schemas/CheckResult"
expiry: # Status of document expiration
$ref: "./common.yml#/components/schemas/CheckResult"
imageQA: # Status of document image quality check
$ref: "./common.yml#/components/schemas/CheckResult"
mrz: # Status of document MRZ
$ref: "./common.yml#/components/schemas/CheckResult"
pagesCount:
description: "Number of processed pages in the document"
type: integer
security: # Authenticity verification status
$ref: "./common.yml#/components/schemas/CheckResult"
text: # Status of text fields analysis
$ref: "./common.yml#/components/schemas/CheckResult"
vds:
type: integer
detailsRFID:
title: "detailsRFID"
description: "Details on performed RFID checks"
type: object
required:
- overallStatus
- AA
- BAC
- CA
- PA
- PACE
- TA
properties:
overallStatus: # Overall RFID checks combined status
$ref: "./common.yml#/components/schemas/CheckResult"
AA: # Active Authentication status
$ref: "./common.yml#/components/schemas/CheckResult"
BAC: # Basic Access Control (BAC) status
$ref: "./common.yml#/components/schemas/CheckResult"
CA: # Chip Authentication status
$ref: "./common.yml#/components/schemas/CheckResult"
PA: # Passive Authentication status
$ref: "./common.yml#/components/schemas/CheckResult"
PACE: # Password Authenticated Connection Establishment (PACE) status
$ref: "./common.yml#/components/schemas/CheckResult"
TA: # Terminal Authentication status
$ref: "./common.yml#/components/schemas/CheckResult"
DetailsAge:
title: "DetailsAge"
type: object
required:
- threshold
- overThreshold
- over18
- over21
- over25
- over65
properties:
threshold:
type: integer
overThreshold:
$ref: "./common.yml#/components/schemas/CheckResult"
over18:
$ref: "./common.yml#/components/schemas/CheckResult"
over21:
$ref: "./common.yml#/components/schemas/CheckResult"
over25:
$ref: "./common.yml#/components/schemas/CheckResult"
over65:
$ref: "./common.yml#/components/schemas/CheckResult"