Skip to content

Commit 164248b

Browse files
SP-19158: Add DTC
1 parent f7f6f46 commit 164248b

File tree

3 files changed

+30
-0
lines changed

3 files changed

+30
-0
lines changed

p-process.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,12 +177,17 @@ components:
177177
description: "Free-form object to be included in response. Must be object, not list or simple value.
178178
Do not affect document processing. Use it freely to pass your app params. Stored in process logs."
179179
additionalProperties: true
180+
dtc:
181+
type: string
180182
required:
181183
- processParam
182184

183185
ProcessParams:
184186
type: object
185187
properties:
188+
generateDTCVC:
189+
type: boolean
190+
description: "This parameter is used to generate DTC-VC"
186191
lcidFilter:
187192
description: "The list of LCID types to recognize. If empty, values with all LCID types will be extracted. Empty by default."
188193
type: array

rt-image-data.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,24 @@ components:
1515
$ref: "#/components/schemas/GraphicFieldsList"
1616
- $ref: "./rt.yml#/components/schemas/ResultItem"
1717

18+
DTCVCResult:
19+
type: object
20+
required:
21+
- buf_length
22+
- light
23+
- list_idx
24+
- page_idx
25+
properties:
26+
buf_length:
27+
type: integer
28+
light:
29+
type: integer
30+
list_idx:
31+
type: integer
32+
page_idx:
33+
type: integer
34+
result_type:
35+
$ref: "./rt.yml#/components/schemas/ContainerType"
1836

1937
GraphicFieldsList:
2038
type: object

rt.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ components:
3636
- 103
3737
- 104
3838
- 105
39+
- 109
3940
x-enum-descriptions:
4041
- "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"
4142
- "Contains MRZ OCR results"
@@ -63,6 +64,7 @@ components:
6364
- "Contains RFID graphic results"
6465
- "Contains RFID binary data"
6566
- "Contains RFID original graphics data"
67+
- "Digital Travel Credential data"
6668
x-enum-varnames:
6769
- "DOCUMENT_IMAGE"
6870
- "MRZ_TEXT"
@@ -90,6 +92,7 @@ components:
9092
- "RFID_GRAPHICS"
9193
- "RFID_BINARY_DATA"
9294
- "RFID_ORIGINAL_GRAPHICS"
95+
- "DTC_VC"
9396

9497
ResultItem:
9598
type: object
@@ -132,6 +135,7 @@ components:
132135
85: "DocumentPositionResult"
133136
102: "TextDataResult"
134137
103: "GraphicsResult"
138+
109: "DTCVCResult"
135139

136140
ContainerList:
137141
type: object
@@ -186,6 +190,9 @@ components:
186190
GraphicsResult:
187191
$ref: "./rt-image-data.yml#/components/schemas/GraphicsResult"
188192

193+
DTCVCResult:
194+
$ref: "./rt-image-data.yml#/components/schemas/DTCVCResult"
195+
189196
DocumentTypesCandidatesResult:
190197
$ref: "./rt-doc-type-old.yml#/components/schemas/DocumentTypesCandidatesResult"
191198

0 commit comments

Comments
 (0)