Skip to content

Commit b785c1e

Browse files
Merge pull request #299 from regulaforensics/feature/46152
46152 - add VDS
2 parents 9a69cd2 + b76c50f commit b785c1e

4 files changed

Lines changed: 170 additions & 2 deletions

File tree

rt-rfid-binary-data.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -596,8 +596,6 @@ components:
596596
description: "Structure is used to store information about the numeric field (4 bytes) that is a part of one of the informational
597597
data groups."
598598
type: object
599-
required:
600-
- Data
601599
properties:
602600
Type:
603601
type: integer

rt-vds-data.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
openapi: 3.0.4
2+
components:
3+
schemas:
4+
VDSDataItem:
5+
title: "VDSDataItem"
6+
type: object
7+
required:
8+
- dftVDS
9+
properties:
10+
dftVDS:
11+
$ref: "#/components/schemas/VDSData"
12+
13+
VDSData:
14+
title: "VDSData"
15+
type: object
16+
properties:
17+
Certificate:
18+
type: string
19+
CertificateChain:
20+
type: array
21+
items:
22+
$ref: "./rt-rfid-binary-data.yml#/components/schemas/RfidCertificateEx"
23+
DocFeatures:
24+
type: array
25+
items:
26+
$ref: "#/components/schemas/DocFeature"
27+
DocIssueDate:
28+
type: string
29+
DocType:
30+
type: integer
31+
FeatureRef:
32+
type: integer
33+
IssuingCountry:
34+
type: string
35+
Notifications:
36+
type: array
37+
items:
38+
type: integer
39+
Signature:
40+
$ref: "./rt-rfid-binary-data.yml#/components/schemas/TrfFtBytes"
41+
SignatureDate:
42+
type: string
43+
Signer:
44+
type: string
45+
Type:
46+
type: integer
47+
Version:
48+
type: integer
49+
50+
DocFeature:
51+
title: "DocFeature"
52+
type: object
53+
required:
54+
- Type
55+
- Data
56+
properties:
57+
Type:
58+
type: number
59+
Data:
60+
$ref: "./rt-rfid-binary-data.yml#/components/schemas/TrfFtBytes"

rt-vds-nc-data.yml

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
openapi: 3.0.4
2+
components:
3+
schemas:
4+
VDSNCDataItem:
5+
title: "VDSNCDataItem"
6+
type: object
7+
required:
8+
- dftVDS_NC
9+
properties:
10+
dftVDS_NC:
11+
$ref: "#/components/schemas/VDSNCData"
12+
13+
VDSNCData:
14+
title: "VDSNCData"
15+
type: object
16+
properties:
17+
Certificate:
18+
$ref: "./rt-rfid-binary-data.yml#/components/schemas/TrfFtBytes"
19+
CertificateChain:
20+
type: array
21+
items:
22+
$ref: "./rt-rfid-binary-data.yml#/components/schemas/RfidCertificateEx"
23+
IssuingCountry:
24+
type: string
25+
Message:
26+
$ref: "#/components/schemas/Message"
27+
Notifications:
28+
type: array
29+
items:
30+
type: integer
31+
Signature:
32+
$ref: "./rt-rfid-binary-data.yml#/components/schemas/TrfFtBytes"
33+
SignatureAlg:
34+
type: string
35+
Type:
36+
type: string
37+
Version:
38+
type: integer
39+
40+
Message:
41+
title: "Message"
42+
type: object
43+
properties:
44+
pid:
45+
$ref: "#/components/schemas/PID"
46+
uvci:
47+
type: string
48+
ve:
49+
type: array
50+
items:
51+
$ref: "#/components/schemas/VEItem"
52+
53+
PID:
54+
title: "PID"
55+
type: object
56+
properties:
57+
dob:
58+
type: string
59+
i:
60+
type: string
61+
n:
62+
type: string
63+
sex:
64+
type: string
65+
66+
VEItem:
67+
title: "VEItem"
68+
type: object
69+
properties:
70+
des:
71+
type: string
72+
dis:
73+
type: string
74+
nam:
75+
type: string
76+
vd:
77+
type: array
78+
items:
79+
$ref: "#/components/schemas/VDItem"
80+
81+
VDItem:
82+
title: "VDItem"
83+
type: object
84+
properties:
85+
adm:
86+
type: string
87+
ctr:
88+
type: string
89+
dvc:
90+
type: string
91+
lot:
92+
type: string
93+
seq:
94+
type: integer

rt.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,8 @@ components:
196196
104: "DocumentBinaryInfoResult"
197197
105: "RFIDGraphicsInfoResult"
198198
109: "ByteArrayResult"
199+
124: "VDSNCDataResult"
200+
125: "VDSDataResult"
199201

200202
ContainerList:
201203
title: "ContainerList"
@@ -235,6 +237,8 @@ components:
235237
- $ref: "#/components/schemas/MRZTestQualityResult"
236238
- $ref: "#/components/schemas/RFIDGraphicsInfoResult"
237239
- $ref: "#/components/schemas/RFIDTextDataResult"
240+
- $ref: "#/components/schemas/VDSNCDataResult"
241+
- $ref: "#/components/schemas/VDSDataResult"
238242

239243
StatusResult:
240244
title: "StatusResult"
@@ -398,3 +402,15 @@ components:
398402
allOf:
399403
- $ref: "#/components/schemas/ResultItem"
400404
- $ref: "./rt-rfid-text-data.yml#/components/schemas/RFIDDocVisualExtendedInfoItem"
405+
406+
VDSNCDataResult:
407+
title: "VDSNCDataResult"
408+
allOf:
409+
- $ref: "#/components/schemas/ResultItem"
410+
- $ref: "./rt-vds-nc-data.yml#/components/schemas/VDSNCDataItem"
411+
412+
VDSDataResult:
413+
title: "VDSDataResult"
414+
allOf:
415+
- $ref: "#/components/schemas/ResultItem"
416+
- $ref: "./rt-vds-data.yml#/components/schemas/VDSDataItem"

0 commit comments

Comments
 (0)