Skip to content

Commit 9a69cd2

Browse files
Merge pull request #300 from regulaforensics/feature/43841-updated
43841 - update Result, Status, TextFieldType enum and add new enums
2 parents 1660530 + 0cd2195 commit 9a69cd2

File tree

6 files changed

+104
-0
lines changed

6 files changed

+104
-0
lines changed

.github/workflows/verify-clients.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424

2525
- name: Verify update Python client
2626
working-directory: python-client
27+
env:
28+
API_BASE_PATH: ${{ github.base_ref == 'develop' && 'https://nightly-api.regulaforensics.com' || 'https://rc-api.regulaforensics.com' }}
2729
run: |
2830
./update-models.sh strict
2931
./setup.sh
@@ -44,6 +46,8 @@ jobs:
4446

4547
- name: Verify update CSharp client
4648
working-directory: csharp-client
49+
env:
50+
API_BASE_PATH: ${{ github.base_ref == 'develop' && 'https://nightly-api.regulaforensics.com' || 'https://rc-api.regulaforensics.com' }}
4751
run: |
4852
./update-models.sh strict
4953
./setup.sh
@@ -91,6 +95,8 @@ jobs:
9195

9296
- name: Verify update Java client
9397
working-directory: java-client
98+
env:
99+
API_BASE_PATH: ${{ github.base_ref == 'develop' && 'https://nightly-api.regulaforensics.com' || 'https://rc-api.regulaforensics.com' }}
94100
run: |
95101
./update-models.sh strict
96102
./gradlew clean :example:run

common.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -518,3 +518,35 @@ components:
518518
format: float
519519
description: "The maximum allowable part of the area occupied by the glare. The same: 0.06 = 6%"
520520
example: 0.0
521+
522+
MDLDeviceEngagement:
523+
title: "MDLDeviceEngagement"
524+
type: integer
525+
enum:
526+
- 0
527+
- 1
528+
x-enum-varnames:
529+
- "QR"
530+
- "NFC"
531+
532+
MDLDeviceRetrieval:
533+
title: "MDLDeviceRetrieval"
534+
type: integer
535+
enum:
536+
- 1
537+
- 2
538+
- 3
539+
x-enum-varnames:
540+
- "NFC"
541+
- "BLE"
542+
- "WIFI_AWARE"
543+
544+
MDLServerRetrieval:
545+
title: "MDLServerRetrieval"
546+
type: integer
547+
enum:
548+
- 0
549+
- 1
550+
x-enum-varnames:
551+
- "WEB_API"
552+
- "OIDC"

e-text-field-type.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -654,6 +654,9 @@ components:
654654
- 697
655655
- 698
656656
- 699
657+
- 701
658+
- 702
659+
- 703
657660
x-enum-descriptions:
658661
- "Document class code"
659662
- "Issuing state code"
@@ -1304,6 +1307,9 @@ components:
13041307
- "Nationality code (Alpha-2)"
13051308
- "First issue date check digit"
13061309
- "First issue date checksum"
1310+
- "Commercial indicator"
1311+
- "Non domiciled indicator"
1312+
- "Jurisdiction specific data"
13071313
x-enum-varnames:
13081314
- "DOCUMENT_CLASS_CODE"
13091315
- "ISSUING_STATE_CODE"
@@ -1954,3 +1960,6 @@ components:
19541960
- "FT_NATIONALITY_CODE_ALPHA2"
19551961
- "FT_FIRST_ISSUE_DATE_CHECK_DIGIT"
19561962
- "FT_FIRST_ISSUE_DATE_CHECKSUM"
1963+
- "FT_COMMERCIAL_INDICATOR"
1964+
- "FT_NON_DOMICILED_INDICATOR"
1965+
- "FT_JURISDICTION_SPECIFIC_DATA"

index.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,9 @@ components:
8787
$ref: "./e-rfid-pkd-resourcetype.yml#/components/schemas/RFIDPKDResourceType"
8888
ParsingErrorCodes:
8989
$ref: "./e-parsing-error-codes.yml#/components/schemas/ParsingErrorCodes"
90+
MDLDeviceEngagement:
91+
$ref: "./common.yml#/components/schemas/MDLDeviceEngagement"
92+
MDLDeviceRetrieval:
93+
$ref: "./common.yml#/components/schemas/MDLDeviceRetrieval"
94+
MDLServerRetrieval:
95+
$ref: "./common.yml#/components/schemas/MDLServerRetrieval"

rt-status.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ components:
2020
- rfid
2121
- stopList
2222
- detailsOptical
23+
- age
24+
- detailsAge
25+
- mDL
2326
properties:
2427
overallStatus: # Overall checks status. Rootx status
2528
$ref: "./common.yml#/components/schemas/CheckResult"
@@ -35,6 +38,12 @@ components:
3538
$ref: "#/components/schemas/detailsRFID"
3639
detailsOptical:
3740
$ref: "#/components/schemas/detailsOptical"
41+
age:
42+
$ref: "./common.yml#/components/schemas/CheckResult"
43+
detailsAge:
44+
$ref: "#/components/schemas/DetailsAge"
45+
mDL:
46+
$ref: "./common.yml#/components/schemas/CheckResult"
3847

3948
detailsOptical:
4049
title: "detailsOptical"
@@ -97,3 +106,27 @@ components:
97106
$ref: "./common.yml#/components/schemas/CheckResult"
98107
TA: # Terminal Authentication status
99108
$ref: "./common.yml#/components/schemas/CheckResult"
109+
110+
DetailsAge:
111+
title: "DetailsAge"
112+
type: object
113+
required:
114+
- threshold
115+
- overThreshold
116+
- over18
117+
- over21
118+
- over25
119+
- over65
120+
properties:
121+
threshold:
122+
type: integer
123+
overThreshold:
124+
$ref: "./common.yml#/components/schemas/CheckResult"
125+
over18:
126+
$ref: "./common.yml#/components/schemas/CheckResult"
127+
over21:
128+
$ref: "./common.yml#/components/schemas/CheckResult"
129+
over25:
130+
$ref: "./common.yml#/components/schemas/CheckResult"
131+
over65:
132+
$ref: "./common.yml#/components/schemas/CheckResult"

rt.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ components:
4747
- 104
4848
- 105
4949
- 109
50+
- 120
51+
- 121
52+
- 122
53+
- 123
54+
- 124
55+
- 125
5056
x-enum-descriptions:
5157
- "Contains cropped and rotated with perspective compensation image of document. Single input image can contain multiple document side/pages, which will be returned as separated results. Most of coordinates in other types defined on that image"
5258
- "Contains MRZ OCR results"
@@ -84,6 +90,12 @@ components:
8490
- "Contains RFID binary data"
8591
- "Contains RFID original graphics data"
8692
- "Digital Travel Credential data"
93+
- "Contains mDL device raw response"
94+
- "Contains mDL device parsed response"
95+
- "Contains mDL server raw response"
96+
- "Contains mDL server parsed response"
97+
- "Contains result of VDS NC"
98+
- "Contains result of VDS"
8799
x-enum-varnames:
88100
- "DOCUMENT_IMAGE"
89101
- "MRZ_TEXT"
@@ -121,6 +133,12 @@ components:
121133
- "RFID_BINARY_DATA"
122134
- "RFID_ORIGINAL_GRAPHICS"
123135
- "DTC_VC"
136+
- "MDL_DEVICE_RAW_RESPONSE"
137+
- "MDL_DEVICE_PARSED_RESPONSE"
138+
- "MDL_SERVER_RAW_RESPONSE"
139+
- "MDL_SERVER_PARSED_RESPONSE"
140+
- "VDS_NC"
141+
- "VDS"
124142

125143
ResultItem:
126144
title: "ResultItem"

0 commit comments

Comments
 (0)