diff --git a/rt-mdl.yml b/rt-mdl.yml new file mode 100644 index 0000000..0f1c061 --- /dev/null +++ b/rt-mdl.yml @@ -0,0 +1,12 @@ +openapi: 3.0.4 +components: + schemas: + MDLItem: + title: "MDLItem" + type: object + required: + - MDLParsedResponse + properties: + MDLParsedResponse: + type: object + additionalProperties: true diff --git a/rt-rfid-binary-data.yml b/rt-rfid-binary-data.yml index 6fa8dbf..4d1367a 100644 --- a/rt-rfid-binary-data.yml +++ b/rt-rfid-binary-data.yml @@ -386,6 +386,7 @@ components: description: "List of remarks arisen during the analysis of SO data structure. Can be ParsingErrorCodes or ParsingNotificationCodes enum." type: array items: + format: int64 type: integer SignerInfos: description: "List of containers to store information about digital signature objects contained in the SO" @@ -449,6 +450,7 @@ components: description: "Can be ParsingErrorCodes or ParsingNotificationCodes enum." type: array items: + format: int64 type: integer RfidCertificateEx: @@ -501,6 +503,7 @@ components: structure and its validity verification. Can be ParsingErrorCodes or ParsingNotificationCodes enum." type: array items: + format: int64 type: integer Origin: $ref: "#/components/schemas/RfidCertificateOrigin" @@ -711,6 +714,7 @@ components: Can be ParsingErrorCodes or ParsingNotificationCodes enum." type: array items: + format: int64 type: integer DocFields_Text: description: "List of document text fields formed on the basis of the file contents" @@ -805,6 +809,7 @@ components: description: "List of remarks arisen during the procedure. Can be ParsingErrorCodes or ParsingNotificationCodes enum." type: array items: + format: int64 type: integer AccessControlOptions: description: "List of structures with are used to describe the variants of the authentication or secure data access procedure diff --git a/rt-vds-data.yml b/rt-vds-data.yml index e8b882c..4338304 100644 --- a/rt-vds-data.yml +++ b/rt-vds-data.yml @@ -35,6 +35,7 @@ components: Notifications: type: array items: + format: int64 type: integer Signature: $ref: "./rt-rfid-binary-data.yml#/components/schemas/TrfFtBytes" diff --git a/rt-vds-nc-data.yml b/rt-vds-nc-data.yml index 3f849ea..f32fa78 100644 --- a/rt-vds-nc-data.yml +++ b/rt-vds-nc-data.yml @@ -27,6 +27,7 @@ components: Notifications: type: array items: + format: int64 type: integer Signature: $ref: "./rt-rfid-binary-data.yml#/components/schemas/TrfFtBytes" diff --git a/rt.yml b/rt.yml index 9204be9..8240e66 100644 --- a/rt.yml +++ b/rt.yml @@ -47,10 +47,7 @@ components: - 104 - 105 - 109 - - 120 - 121 - - 122 - - 123 - 124 - 125 x-enum-descriptions: @@ -90,10 +87,7 @@ components: - "Contains RFID binary data" - "Contains RFID original graphics data" - "Digital Travel Credential data" - - "Contains mDL device raw response" - - "Contains mDL device parsed response" - - "Contains mDL server raw response" - - "Contains mDL server parsed response" + - "Contains mDL parsed response" - "Contains result of VDS NC" - "Contains result of VDS" x-enum-varnames: @@ -133,10 +127,7 @@ components: - "RFID_BINARY_DATA" - "RFID_ORIGINAL_GRAPHICS" - "DTC_VC" - - "MDL_DEVICE_RAW_RESPONSE" - - "MDL_DEVICE_PARSED_RESPONSE" - - "MDL_SERVER_RAW_RESPONSE" - - "MDL_SERVER_PARSED_RESPONSE" + - "MDL_PARSED_RESPONSE" - "VDS_NC" - "VDS" @@ -196,6 +187,7 @@ components: 104: "DocumentBinaryInfoResult" 105: "RFIDGraphicsInfoResult" 109: "ByteArrayResult" + 121: "MDLResult" 124: "VDSNCDataResult" 125: "VDSDataResult" @@ -239,6 +231,7 @@ components: - $ref: "#/components/schemas/RFIDTextDataResult" - $ref: "#/components/schemas/VDSNCDataResult" - $ref: "#/components/schemas/VDSDataResult" + - $ref: "#/components/schemas/MDLResult" StatusResult: title: "StatusResult" @@ -414,3 +407,9 @@ components: allOf: - $ref: "#/components/schemas/ResultItem" - $ref: "./rt-vds-data.yml#/components/schemas/VDSDataItem" + + MDLResult: + title: "MDLResult" + allOf: + - $ref: "#/components/schemas/ResultItem" + - $ref: "./rt-mdl.yml#/components/schemas/MDLItem"