Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions rt-rfid-binary-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -596,8 +596,6 @@ components:
description: "Structure is used to store information about the numeric field (4 bytes) that is a part of one of the informational
data groups."
type: object
required:
- Data
properties:
Type:
type: integer
Expand Down
60 changes: 60 additions & 0 deletions rt-vds-data.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
openapi: 3.0.4
components:
schemas:
VDSDataItem:
title: "VDSDataItem"
type: object
required:
- dftVDS
properties:
dftVDS:
$ref: "#/components/schemas/VDSData"

VDSData:
title: "VDSData"
type: object
properties:
Certificate:
type: string
CertificateChain:
type: array
items:
$ref: "./rt-rfid-binary-data.yml#/components/schemas/RfidCertificateEx"
DocFeatures:
type: array
items:
$ref: "#/components/schemas/DocFeature"
DocIssueDate:
type: string
DocType:
type: integer
FeatureRef:
type: integer
IssuingCountry:
type: string
Notifications:
type: array
items:
type: integer
Signature:
$ref: "./rt-rfid-binary-data.yml#/components/schemas/TrfFtBytes"
SignatureDate:
type: string
Signer:
type: string
Type:
type: integer
Version:
type: integer

DocFeature:
title: "DocFeature"
type: object
required:
- Type
- Data
properties:
Type:
type: number
Data:
$ref: "./rt-rfid-binary-data.yml#/components/schemas/TrfFtBytes"
94 changes: 94 additions & 0 deletions rt-vds-nc-data.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
openapi: 3.0.4
components:
schemas:
VDSNCDataItem:
title: "VDSNCDataItem"
type: object
required:
- dftVDS_NC
properties:
dftVDS_NC:
$ref: "#/components/schemas/VDSNCData"

VDSNCData:
title: "VDSNCData"
type: object
properties:
Certificate:
$ref: "./rt-rfid-binary-data.yml#/components/schemas/TrfFtBytes"
CertificateChain:
type: array
items:
$ref: "./rt-rfid-binary-data.yml#/components/schemas/RfidCertificateEx"
IssuingCountry:
type: string
Message:
$ref: "#/components/schemas/Message"
Notifications:
type: array
items:
type: integer
Signature:
$ref: "./rt-rfid-binary-data.yml#/components/schemas/TrfFtBytes"
SignatureAlg:
type: string
Type:
type: string
Version:
type: integer

Message:
title: "Message"
type: object
properties:
pid:
$ref: "#/components/schemas/PID"
uvci:
type: string
ve:
type: array
items:
$ref: "#/components/schemas/VEItem"

PID:
title: "PID"
type: object
properties:
dob:
type: string
i:
type: string
n:
type: string
sex:
type: string

VEItem:
title: "VEItem"
type: object
properties:
des:
type: string
dis:
type: string
nam:
type: string
vd:
type: array
items:
$ref: "#/components/schemas/VDItem"

VDItem:
title: "VDItem"
type: object
properties:
adm:
type: string
ctr:
type: string
dvc:
type: string
lot:
type: string
seq:
type: integer
22 changes: 22 additions & 0 deletions rt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ components:
- 104
- 105
- 109
- 124
- 125
x-enum-descriptions:
- "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"
- "Contains MRZ OCR results"
Expand Down Expand Up @@ -84,6 +86,8 @@ components:
- "Contains RFID binary data"
- "Contains RFID original graphics data"
- "Digital Travel Credential data"
- "Contains result of VDS NC"
- "Contains result of VDS"
x-enum-varnames:
- "DOCUMENT_IMAGE"
- "MRZ_TEXT"
Expand Down Expand Up @@ -121,6 +125,8 @@ components:
- "RFID_BINARY_DATA"
- "RFID_ORIGINAL_GRAPHICS"
- "DTC_VC"
- "VDS_NC"
- "VDS"

ResultItem:
title: "ResultItem"
Expand Down Expand Up @@ -178,6 +184,8 @@ components:
104: "DocumentBinaryInfoResult"
105: "RFIDGraphicsInfoResult"
109: "ByteArrayResult"
124: "VDSNCDataResult"
125: "VDSDataResult"

ContainerList:
title: "ContainerList"
Expand Down Expand Up @@ -217,6 +225,8 @@ components:
- $ref: "#/components/schemas/MRZTestQualityResult"
- $ref: "#/components/schemas/RFIDGraphicsInfoResult"
- $ref: "#/components/schemas/RFIDTextDataResult"
- $ref: "#/components/schemas/VDSNCDataResult"
- $ref: "#/components/schemas/VDSDataResult"

StatusResult:
title: "StatusResult"
Expand Down Expand Up @@ -380,3 +390,15 @@ components:
allOf:
- $ref: "#/components/schemas/ResultItem"
- $ref: "./rt-rfid-text-data.yml#/components/schemas/RFIDDocVisualExtendedInfoItem"

VDSNCDataResult:
title: "VDSNCDataResult"
allOf:
- $ref: "#/components/schemas/ResultItem"
- $ref: "./rt-vds-nc-data.yml#/components/schemas/VDSNCDataItem"

VDSDataResult:
title: "VDSDataResult"
allOf:
- $ref: "#/components/schemas/ResultItem"
- $ref: "./rt-vds-data.yml#/components/schemas/VDSDataItem"