-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathrt-rfid-binary-data.yml
More file actions
1206 lines (1172 loc) · 37.2 KB
/
rt-rfid-binary-data.yml
File metadata and controls
1206 lines (1172 loc) · 37.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
openapi: 3.0.4
components:
schemas:
TDocBinaryInfoItem:
title: "TDocBinaryInfoItem"
type: object
required:
- TDocBinaryInfo
properties:
TDocBinaryInfo:
$ref: "#/components/schemas/TDocBinaryInfo"
TDocBinaryInfo:
title: "TDocBinaryInfo"
type: object
properties:
RFID_BINARY_DATA:
$ref: "#/components/schemas/BinaryData"
RFID_RAW_DATA:
type: array
items:
$ref: "#/components/schemas/RfidRawData"
BinaryData:
title: "BinaryData"
description: "Structure is used for storing the results of one bar-code module reading."
type: object
properties:
RFID_Authentication_Info:
type: object
additionalProperties: true
RFID_MIFARE_Data_Validity:
type: object
additionalProperties: true
RFID_MIFARE_Data:
type: object
additionalProperties: true
RFID_EF_COM:
type: object
additionalProperties: true
RFID_DG1:
$ref: "#/components/schemas/RfidDG1"
RFID_DG2:
type: object
additionalProperties: true
RFID_DG3:
type: object
additionalProperties: true
RFID_DG4:
type: object
additionalProperties: true
RFID_DG5:
type: object
additionalProperties: true
RFID_DG6:
type: object
additionalProperties: true
RFID_DG7:
type: object
additionalProperties: true
RFID_DG8:
type: object
additionalProperties: true
RFID_DG9:
type: object
additionalProperties: true
RFID_DG10:
type: object
additionalProperties: true
RFID_DG11:
type: object
additionalProperties: true
RFID_DG12:
type: object
additionalProperties: true
RFID_DG13:
type: object
additionalProperties: true
RFID_DG14:
type: object
additionalProperties: true
RFID_DG15:
type: object
additionalProperties: true
RFID_DG16:
type: object
additionalProperties: true
RFID_EF_SOD:
type: object
additionalProperties: true
eID_DG1:
type: object
additionalProperties: true
eID_DG2:
type: object
additionalProperties: true
eID_DG3:
type: object
additionalProperties: true
eID_DG4:
type: object
additionalProperties: true
eID_DG5:
type: object
additionalProperties: true
eID_DG6:
type: object
additionalProperties: true
eID_DG7:
type: object
additionalProperties: true
eID_DG8:
type: object
additionalProperties: true
eID_DG9:
type: object
additionalProperties: true
eID_DG10:
type: object
additionalProperties: true
eID_DG11:
type: object
additionalProperties: true
eID_DG12:
type: object
additionalProperties: true
eID_DG13:
type: object
additionalProperties: true
eID_DG14:
type: object
additionalProperties: true
eID_DG15:
type: object
additionalProperties: true
eID_DG16:
type: object
additionalProperties: true
eID_DG17:
type: object
additionalProperties: true
eID_DG18:
type: object
additionalProperties: true
eID_DG19:
type: object
additionalProperties: true
eID_DG20:
type: object
additionalProperties: true
eID_DG21:
type: object
additionalProperties: true
eDL_COM:
type: object
additionalProperties: true
eDL_SOD:
type: object
additionalProperties: true
eDL_DG1:
type: object
additionalProperties: true
eDL_DG2:
type: object
additionalProperties: true
eDL_DG3:
type: object
additionalProperties: true
eDL_DG4:
type: object
additionalProperties: true
eDL_DG5:
type: object
additionalProperties: true
eDL_DG6:
type: object
additionalProperties: true
eDL_DG7:
type: object
additionalProperties: true
eDL_DG8:
type: object
additionalProperties: true
eDL_DG9:
type: object
additionalProperties: true
eDL_DG10:
type: object
additionalProperties: true
eDL_DG11:
type: object
additionalProperties: true
eDL_DG12:
type: object
additionalProperties: true
eDL_DG13:
type: object
additionalProperties: true
eDL_DG14:
type: object
additionalProperties: true
Visible_Digital_Seal:
type: object
additionalProperties: true
Visible_Digital_Seal_NC:
type: object
additionalProperties: true
Digital_Signature:
type: object
additionalProperties: true
RFID_Session_Data:
$ref: "#/components/schemas/RfidSessionData"
RFID_Session_Data_Status:
$ref: "./rt-status.yml#/components/schemas/detailsRFID"
RFID_ePassp_Directory:
description: Indexes of groups that aren't read
type: array
items:
$ref: "./e-rfid-data-file-type.yml#/components/schemas/RfidDataFileType"
RfidDG1:
title: "RfidDG1"
description: "Structure used to store the contents of EF.DG1 informational data group of
ePassport application – document MRZ data"
type: object
required:
- Type
- DocumentID
- DocumentType
- State
- Holder
- DocumentNumber
- CheckDigitDocumentNumber
- Nationality
- Birthday
- CheckDigitBirthday
- Sex
- ExpiryDate
- CheckDigitExpiryDate
- OptionalData
- CheckDigitOptionalData
- CheckDigitComposite
properties:
Type:
type: integer
DocumentID:
$ref: "./rt-doc-type-old.yml#/components/schemas/DocumentFormat"
DocumentType:
description: "Symbolic code of document type"
type: string
State:
description: "Symbolic code of document issuing state"
type: string
Holder:
description: "DO’s name and surname"
type: string
DocumentNumber:
description: "Document number"
type: string
CheckDigitDocumentNumber:
description: "Check digit of document number"
type: number
Nationality:
description: "Symbolic code of DO’s nationality"
type: string
Birthday:
description: "DO’s date of birth"
type: string
CheckDigitBirthday:
description: "Check digit of DO’s date of birth"
type: number
Sex:
description: "DO’s sex"
type: string
ExpiryDate:
description: "Term of validity of the document"
type: string
CheckDigitExpiryDate:
description: "Check digit of term of validity of the document"
type: number
OptionalData:
description: "DO’s personal number or other additional data"
type: string
CheckDigitOptionalData:
description: "Check digit of additional data"
type: number
CheckDigitComposite:
description: "General check digit"
type: number
RfidSessionData:
title: "RfidSessionData"
description: "Structure is used to describe the results of work with the SDK within the context of the current communication
session with electronic document"
type: object
required:
- Applications
- AccessControls
- CardProperties
- ExtLeSupport
- ProcessTime
- RootFiles
- TotalBytesSent
- TotalBytesReceived
- Session_terminal
- Session_procedure
- SecurityObjects
properties:
VirtualMode:
description: "Sign of virtual session when working with loaded data from a previous communication session
with the electronic document"
type: boolean
SDKVersion:
description: "Text SDKVersion value in format A.B (e.g. 3.1)"
type: string
DriverVersion:
description: "Text DriverVersion value in format A.B.C.D (e.g. 6.2.5.4)"
type: string
FirmwareVersion:
description: "Text FirmwareVersion value in format A.B (e.g. 5.19)"
type: string
Applications:
description: "List of containers to store information about the involved applications of electronic document"
type: array
items:
$ref: "#/components/schemas/RfidApplication"
AccessControls:
description: "List of containers to store information about the supported procedures of authentication and secure data access
within the context of the session"
type: array
items:
$ref: "#/components/schemas/RfidAccessControlInfo"
CardProperties:
$ref: "#/components/schemas/RfidCardPropertiesExt"
ExtLeSupport:
$ref: "./e-rfid-error-codes.yml#/components/schemas/RFIDErrorCodes"
ProcessTime:
description: "Time of processing, milliseconds"
type: number
RootFiles:
description: "List of containers to store information about the read files of the root Master File"
type: array
items: {}
TotalBytesSent:
description: "Total number of bytes transmitted to the RFID-chip during the whole session"
type: number
TotalBytesReceived:
description: "Total number of bytes received from the RFID-chip during the whole session"
type: number
Session_key:
$ref: "#/components/schemas/RfidAccessKey"
Session_terminal:
$ref: "#/components/schemas/RfidTerminal"
Session_procedure:
$ref: "#/components/schemas/RfidAuthenticationProcedureType"
SecurityObjects:
description: "List of containers to store information about the detected document security objects"
type: array
items:
$ref: "#/components/schemas/RfidSecurityObject"
Status:
$ref: "./common.yml#/components/schemas/CheckResult"
RfidSecurityObject:
title: "RfidSecurityObject"
description: "Structure is used to describe the contents of a single document security object (SO) and the results of its check
within the context of the communication session with electronic document"
type: object
required:
- Version
- ObjectType
- FileReference
- Notifications
- SignerInfos
properties:
Version:
description: "Security object version"
type: number
ObjectType:
description: "Identifier of the security object"
type: string
FileReference:
description: "Reference to the source file of the security object data"
type: number
Notifications:
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"
type: array
items:
$ref: "#/components/schemas/RfidSignerInfoEx"
RfidSignerInfoEx:
title: "RfidSignerInfoEx"
description: "Structure is used to describe the contents of a single copy of
digital signature of the document security object and the results of its check within the
context of the communication session with electronic document"
type: object
required:
- Version
- Issuer
- SerialNumber
- SubjectKeyIdentifier
- DigestAlgorithm
- SignedAttributes
- SignatureAlgorithm
- Signature
- PA_Status
- CertificateChain
- DataToHash
- Notifications
properties:
Version:
description: "Version of SignerInfo ASN.1 structure"
type: number
Issuer:
$ref: "#/components/schemas/RfidDistinguishedName"
SerialNumber:
$ref: "#/components/schemas/TrfFtBytes"
SubjectKeyIdentifier:
$ref: "#/components/schemas/TrfFtBytes"
DigestAlgorithm:
description: "Hash algorithm identifier (OID) for digital signature generation"
type: string
SignedAttributes:
description: "List of the signed attributes"
type: array
items:
$ref: "#/components/schemas/RfidAttributeData"
SignatureAlgorithm:
description: "Digital signature algorithm identifier (OID)"
type: string
Signature:
$ref: "#/components/schemas/TrfFtBytes"
PA_Status:
$ref: "./e-rfid-error-codes.yml#/components/schemas/RFIDErrorCodes"
CertificateChain:
description: "Certificate chain, used for the digital signature verification."
type: array
items:
$ref: "#/components/schemas/RfidCertificateEx"
DataToHash:
description: "Binary data array used to calculate the hash value for digital signature verification. Base64 encoded."
type: string
Notifications:
description: "Can be ParsingErrorCodes or ParsingNotificationCodes enum."
type: array
items:
format: int64
type: integer
RfidCertificateEx:
title: "RfidCertificateEx"
description: "Structure is used to describe the certificate contents used for the digital signature verification
of the document security object within the context of the communication session with electronic document."
type: object
required:
- Version
- SerialNumber
- SignatureAlgorithm
- Issuer
- Validity
- Subject
- SubjectPKAlgorithm
- Extensions
- Notifications
- Origin
- Type
- FileName
- PA_Status
properties:
Version:
description: "Version of Certificate ASN.1 structure"
type: number
SerialNumber:
description: "Certificate serial number. Base64 encoded."
type: string
SignatureAlgorithm:
description: "Certificate digital signature algorithm identifier (OID);
String in the format S1 (S2), where S1 – algorithm name, S2 – identifier (OID string)."
type: string
Issuer:
$ref: "#/components/schemas/RfidDistinguishedName"
Validity:
$ref: "#/components/schemas/RfidValidity"
Subject:
$ref: "#/components/schemas/RfidDistinguishedName"
SubjectPKAlgorithm:
description: "Certificate public key algorithm identifier (OID);
String in the format S1 (S2), where S1 – algorithm name, S2 – identifier (OID string)."
type: string
Extensions:
description: "List of the certificate extensions"
type: array
items:
$ref: "#/components/schemas/RfidPkiExtension"
Notifications:
description: "List of remarks arisen during the analysis of the certificate data
structure and its validity verification. Can be ParsingErrorCodes or ParsingNotificationCodes enum."
type: array
items:
format: int64
type: integer
Origin:
$ref: "#/components/schemas/RfidCertificateOrigin"
Type:
$ref: "#/components/schemas/RfidCertificateType"
FileName:
$ref: "#/components/schemas/TrfFtString"
PA_Status:
$ref: "./e-rfid-error-codes.yml#/components/schemas/RFIDErrorCodes"
RfidPkiExtension:
title: "RfidPkiExtension"
description: "Extension identifier (OID, ASCII string);
Contents of the identifier in the format S1 (S2), where S1 – attribute name, S2 – identifier (OID string)"
type: object
required:
- Type
- Data
properties:
Type:
description: "Extension identifier (OID, ASCII string);
Contents of the identifier in the format S1 (S2), where S1 – attribute name, S2 – identifier (OID string)"
type: string
Data:
description: "Extension binary data. Base64 encoded."
type: string
RfidValidity:
title: "RfidValidity"
description: "Structure contains information on a certificate validity."
type: object
required:
- NotBefore
- NotAfter
properties:
NotBefore:
$ref: "#/components/schemas/TrfFtString"
NotAfter:
$ref: "#/components/schemas/TrfFtString"
RfidAttributeData:
title: "RfidAttributeData"
description: "Structure contains the data of one attribute of the digital signature object."
type: object
required:
- Type
- Data
properties:
Type:
description: "Contents of the identifier in the format S1 (S2), where S1 – attribute name, S2 – identifier (OID string)"
type: string
Data:
description: "Attribute binary data. Base64 encoded."
type: string
RfidDistinguishedName:
title: "RfidDistinguishedName"
description: "Contents of the identifier in binary form. Base64 encoded."
type: object
required:
- Data
- FriendlyName
- Attributes
properties:
Data:
description: "Contents of the identifier in binary form. Base64 encoded."
type: string
FriendlyName:
$ref: "#/components/schemas/TrfFtString"
Attributes:
description: "List of individual attributes contained in the identifier"
type: array
items:
$ref: "#/components/schemas/RfidAttributeName"
RfidAttributeName:
title: "RfidAttributeName"
description: "Structure contains information that serves as the distinguished name (identifier) of an object."
type: object
required:
- Type
- Value
properties:
Type:
description: "Attribute identifier (OID ASCII string); contents of the identifier in the format S1 (S2),
where S1 – attribute name, S2 – identifier (OID string)"
type: string
Value:
$ref: "#/components/schemas/TrfFtString"
TrfFtString:
title: "TrfFtString"
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
properties:
Type:
type: integer
Status:
description: "Result of logical analysis of compliance of the contents of the field
with the requirements of the specification"
type: integer
Format:
description: "Mask of format of text information (for example, «YYMMDD» for date of birth)"
type: string
Data:
description: "Numeric value."
type: string
RfidApplication:
title: "RfidApplication"
description: "Structure is used to describe the contents of a single LDS application and their analysis within the context
of the communication session with electronic document"
type: object
required:
- Type
- Status
- ApplicationID
- Version
- UnicodeVersion
- DataHashAlgorithm
- Files
properties:
Type:
$ref: "#/components/schemas/RfidApplicationType"
Status:
$ref: "./e-rfid-error-codes.yml#/components/schemas/RFIDErrorCodes"
ApplicationID:
description: "Application identifier"
type: string
Version:
description: "Version of the application"
type: string
UnicodeVersion:
description: "Unicode version for application"
type: string
DataHashAlgorithm:
description: "Algorithm for calculating hash values for files for the procedure of PA"
type: string
Files:
description: "List of containers to store information about the read files of the application"
type: array
items:
$ref: "#/components/schemas/RfidDataFile"
RfidApplicationType:
title: "RfidApplicationType"
type: integer
description: "Enumeration contains a set of constants that define the type
of application within the context of the communication session with electronic document"
enum:
- 0
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
x-enum-descriptions:
- "Root files"
- "ePassport application"
- "eID application"
- "eSign application"
- "eDL application"
- "TravelRecords application"
- "VisaRecords application"
- "AddBiometrics application"
- "Digital Travel Credentials"
- "Master File"
x-enum-varnames:
- "ROOT_FILES"
- "E_PASSPORT"
- "E_ID"
- "E_SIGN"
- "E_DL"
- "LDS2_TravelRecords"
- "LDS2_VisaRecords"
- "LDS2_AddBiometrics"
- "eDTC_PC"
RfidDataFile:
title: "RfidDataFile"
description: "Structure is used to describe the contents of a single file of the LDS of electronic document and the analysis
of its contents within the context of the communication session with electronic document"
type: object
required:
- Type
- ReadingStatus
properties:
FileID:
description: "File identifier. Each byte of FileID represented by its hexadecimal value. The individual bytes are separated by spaces (e.g. 01 1E)"
type: string
Type:
$ref: "./e-rfid-data-file-type.yml#/components/schemas/RfidDataFileType"
FileData:
$ref: "#/components/schemas/TrfFtBytes"
ReadingStatus:
$ref: "./e-rfid-error-codes.yml#/components/schemas/RFIDErrorCodes"
ReadingTime:
description: "Time of reading, milliseconds"
type: number
PA_Status:
$ref: "./e-rfid-error-codes.yml#/components/schemas/RFIDErrorCodes"
Notifications:
description: "List of remarks arisen when reading data from the memory of the chip and analysing their ASN.1-structure.
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"
type: array
items:
$ref: "./e-text-field-type.yml#/components/schemas/TextFieldType"
DocFields_Graphics:
description: "List of document graphic fields formed on the basis of the file contents"
type: array
items:
$ref: "./e-graphic-field-type.yml#/components/schemas/GraphicFieldType"
DocFields_Originals:
description: "List of the original binary representation of graphic document fields formed on the basis of the file contents"
type: array
items:
$ref: "./e-graphic-field-type.yml#/components/schemas/GraphicFieldType"
ParsedData:
$ref: "#/components/schemas/ParsedData"
SecurityObject_Certificates:
$ref: "#/components/schemas/SecurityObjectCertificates"
SecurityObjectCertificates:
title: "SecurityObjectCertificates"
type: object
properties:
Certificate_Data:
$ref: "#/components/schemas/CertificateData"
CertificateData:
title: "CertificateData"
type: object
required:
- Data
- Length
properties:
Data:
type: string
Length:
type: integer
ParsedData:
title: "ParsedData"
properties:
ParsingNotifications:
type: array
items:
$ref: "./e-parsing-notification-codes.yml#/components/schemas/ParsingNotificationCodes"
TrfFtBytes:
title: "TrfFtBytes"
description: "Structure is used to store an array of binary information that is a part of one of the informational data groups"
type: object
required:
- Type
- Status
- Length
- Data
properties:
Type:
description: "Logical type of the field"
type: integer
Status:
description: "Result of logical analysis of compliance of the contents of the field
with the requirements of the specification"
type: number
Length:
description: "Length of Data array"
type: number
Data:
description: "Binary data array. Base64 encoded."
type: string
nullable: true
RfidAccessControlInfo:
title: "RfidAccessControlInfo"
description: "Structure is used to describe the results of a single authentication procedure or a procedure of secure data access
within the context of the communication session with electronic document"
type: object
required:
- Type
- Status
- Notifications
properties:
Type:
$ref: "#/components/schemas/RfidAccessControlProcedureType"
Status:
$ref: "./e-rfid-error-codes.yml#/components/schemas/RFIDErrorCodes"
ActiveOptionIdx:
description: "Index of the active variant of the procedure"
type: number
Notifications:
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
performance within the context of the communication session with electronic document"
type: array
items: {}
RfidAccessControlProcedureType:
title: "RfidAccessControlProcedureType"
type: integer
description: "Enumeration contains a set of constants that
define the type of authentication or secure data access procedure"
enum:
- 0
- 1
- 2
- 3
- 4
- 5
- 6
- 10
- 11
x-enum-descriptions:
- "Type is not defined"
- "BAC/BAP"
- "PACE"
- "CA"
- "TA"
- "AA"
- "RI"
- "Card info"
- "DTC info"
x-enum-varnames:
- "UNDEFINED"
- "BAC"
- "PACE"
- "CA"
- "TA"
- "AA"
- "RI"
- "CARD_INFO"
- "DTC_INFO"
RfidCardPropertiesExt:
title: "RfidCardPropertiesExt"
description: "Structure is used to store extended information about the
characteristics of the RFID-chip located in the scope of the reader"
type: object
required:
- RFID_Type
- Baudrate1
- Baudrate2
- Support_4
- ChipType_A
- Support_Mifare
- MifareMemory
- UID
- ATQ_A
- SAK
- ATQ_B
- BitRateS
- BitRateR
- ATR
properties:
RFID_Type:
$ref: "#/components/schemas/RfidType"
Baudrate1:
description: "Numeric Baudrate1 value in hexadecimal format (e.g. 0x0000000F)"
type: string
Baudrate2:
description: "Numeric Baudrate2 value in hexadecimal format"
type: string
Support_4:
description: "Boolean Support_4 value"
type: boolean
ChipType_A:
$ref: "#/components/schemas/RfidAChip"
Support_Mifare:
description: "Sign of support for ISO/IEC 14443-3 data exchange protocol"
type: boolean
MifareMemory:
description: "Amount of operational memory MIFARE® of the chip, kilobytes"
type: number
UID:
description: "UID contents in text format. Each byte is represented by its hexadecimal value. The individual bytes are separated
by spaces (e.g. F9 4F 41 60)"
type: string
ATQ_A:
description: "Reply of the «A» type chip to «REQA» command of ISO/IEC 14443-3
protocol (Answer To Request, Type A – ATQA) – for the internal use by
the main control library"
SAK:
description: "Response of type-A RFID-chip to SELECT command of ISO/IEC 14443-3 protocol (Select Acknowledge, SAK)."
ATQ_B:
description: "ATQ_B contents in text format. Each byte is represented by its hexadecimal value. The individual bytes are
separated by spaces (e.g. 50 F9 4F 41 60 00 00 00 00 77 81 81)"
BitRateS:
$ref: "#/components/schemas/RfidBaudRate"
BitRateR:
$ref: "#/components/schemas/RfidBaudRate"
ATR:
description: "ATR-string of RFID-chip"
type: string
RfidType:
title: "RfidType"
type: integer
description: "Enumeration contains a set of constants specifying the type of the RFID-chip
by the physical parameters of connection between antennas of the chip and the reader"
enum:
- 0
- 1
- 2
x-enum-descriptions:
- "Unknown"
- "Type A"
- "Type B"
x-enum-varnames:
- "UNKNOWN"
- "A"
- "B"
RfidAChip:
title: "RfidAChip"
type: integer
description: "Enumeration contains a set of constants specifying the type of the RFIDchip from MIFARE® family
(for chips of type A)"
enum:
- 0
- 1
- 2
- 3
- 4
- 5
x-enum-descriptions:
- "Unknown"
- "MIFARE® 1K"
- "MIFARE® 4K"
- "MIFARE® Ultralight"
- "MIFARE® DESFire"
- "MIFARE® ProX or SmartMX xD(T)"
x-enum-varnames:
- "UNKNOWN"
- "MIFARE_1K"
- "MIFARE_4K"
- "MIFARE_ULTRALIGHT"
- "MIFARE_DES_FIRE"
- "MIFARE_PROX"
RfidBaudRate:
title: "RfidBaudRate"
type: integer
description: "Enumeration contains a set of constants specifying the rate of data exchange between the reader and the RFID-chip"
enum:
- 0
- 1
- 2
- 4
- 8
- 16
- 32
- 64
x-enum-descriptions:
- "Unknown"
- "106 bits/s"
- "212 bits/s"
- "424 bits/s"
- "848 bits/s"
- "1695 bits/s"
- "3390 bits/s"
- "6780 bits/s"
x-enum-varnames:
- "UNKNOWN"
- "RFBR_106"
- "RFBR_212"
- "RFBR_424"
- "RFBR_848"
- "RFBR_1695"
- "RFBR_3390"
- "RFBR_6780"
RfidAccessKey:
title: "RfidAccessKey"
description: "Structure is used to describe the contents of secure data access key within
the context of the communication session with electronic document"
type: object
required:
- AccessKey