Skip to content
Merged
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
16 changes: 16 additions & 0 deletions rt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,8 @@ components:
104: "DocumentBinaryInfoResult"
105: "RFIDGraphicsInfoResult"
109: "ByteArrayResult"
124: "VDSNCDataResult"
125: "VDSDataResult"

ContainerList:
title: "ContainerList"
Expand Down Expand Up @@ -235,6 +237,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 @@ -398,3 +402,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"