From 71ca386454f0296e731176964a5ffd94511749f9 Mon Sep 17 00:00:00 2001 From: Artsiom Tsybulko Date: Mon, 24 Nov 2025 17:48:33 +0300 Subject: [PATCH 1/3] 46152 - add VDS --- rt-vds-data.yml | 60 +++++++++++++++++++++++++++++ rt-vds-nc-data.yml | 94 ++++++++++++++++++++++++++++++++++++++++++++++ rt.yml | 22 +++++++++++ 3 files changed, 176 insertions(+) create mode 100644 rt-vds-data.yml create mode 100644 rt-vds-nc-data.yml diff --git a/rt-vds-data.yml b/rt-vds-data.yml new file mode 100644 index 00000000..e8b882cb --- /dev/null +++ b/rt-vds-data.yml @@ -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" diff --git a/rt-vds-nc-data.yml b/rt-vds-nc-data.yml new file mode 100644 index 00000000..3f849eaa --- /dev/null +++ b/rt-vds-nc-data.yml @@ -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 diff --git a/rt.yml b/rt.yml index 3752c531..9e7c8971 100644 --- a/rt.yml +++ b/rt.yml @@ -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" @@ -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" @@ -121,6 +125,8 @@ components: - "RFID_BINARY_DATA" - "RFID_ORIGINAL_GRAPHICS" - "DTC_VC" + - "VDS_NC" + - "VDS" ResultItem: title: "ResultItem" @@ -178,6 +184,8 @@ components: 104: "DocumentBinaryInfoResult" 105: "RFIDGraphicsInfoResult" 109: "ByteArrayResult" + 124: "VDSNCDataItem" + 125: "VDSDataResult" ContainerList: title: "ContainerList" @@ -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" @@ -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" From 651266209aadd9e00c0e2c564bc8e3ba42cb55ba Mon Sep 17 00:00:00 2001 From: Artsiom Tsybulko Date: Mon, 24 Nov 2025 17:51:25 +0300 Subject: [PATCH 2/3] 46152 - add VDS --- rt.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rt.yml b/rt.yml index 9e7c8971..5b1a636b 100644 --- a/rt.yml +++ b/rt.yml @@ -184,7 +184,7 @@ components: 104: "DocumentBinaryInfoResult" 105: "RFIDGraphicsInfoResult" 109: "ByteArrayResult" - 124: "VDSNCDataItem" + 124: "VDSNCDataResult" 125: "VDSDataResult" ContainerList: From 38124188f82c53831d416a966102bf71b9899e9b Mon Sep 17 00:00:00 2001 From: Artsiom Tsybulko Date: Wed, 10 Dec 2025 13:48:18 +0300 Subject: [PATCH 3/3] 46152 - update TrfFtString --- rt-rfid-binary-data.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/rt-rfid-binary-data.yml b/rt-rfid-binary-data.yml index 05943dc3..6fa8dbfd 100644 --- a/rt-rfid-binary-data.yml +++ b/rt-rfid-binary-data.yml @@ -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