|
28 | 28 | "type": "object", |
29 | 29 | "additionalProperties": false, |
30 | 30 | "properties": { |
| 31 | + "available_services": { |
| 32 | + "description": "Available services for the next POA attempt.", |
| 33 | + "type": "array", |
| 34 | + "items": { |
| 35 | + "type": "string" |
| 36 | + } |
| 37 | + }, |
31 | 38 | "last_rejected": { |
32 | 39 | "description": "Details on the rejected POA attempt.", |
33 | 40 | "type": "object", |
|
61 | 68 | ] |
62 | 69 | }, |
63 | 70 | "supported_documents": { |
64 | | - "description": "Supported documents per document_type.", |
| 71 | + "description": "Supported documents.", |
65 | 72 | "type": "array", |
66 | 73 | "items": { |
67 | 74 | "type": "string" |
68 | 75 | } |
| 76 | + }, |
| 77 | + "supported_documents_v2": { |
| 78 | + "description": "Supported documents per document type.", |
| 79 | + "type": "array", |
| 80 | + "items": { |
| 81 | + "type": "object", |
| 82 | + "properties": { |
| 83 | + "additional": { |
| 84 | + "description": "Additional information required by the document type.", |
| 85 | + "type": "object", |
| 86 | + "properties": { |
| 87 | + "display_name": { |
| 88 | + "description": "Additional display name.", |
| 89 | + "type": "string" |
| 90 | + }, |
| 91 | + "document_type": { |
| 92 | + "description": "Additional document type.", |
| 93 | + "type": "string" |
| 94 | + } |
| 95 | + } |
| 96 | + }, |
| 97 | + "available_services": { |
| 98 | + "description": "Services that support this document type and the specific name expected by the service.", |
| 99 | + "type": "array", |
| 100 | + "items": { |
| 101 | + "type": "object", |
| 102 | + "required": [ |
| 103 | + "document_type", |
| 104 | + "service" |
| 105 | + ], |
| 106 | + "properties": { |
| 107 | + "document_type": { |
| 108 | + "description": "The specific document type name expected by the service.", |
| 109 | + "type": "string" |
| 110 | + }, |
| 111 | + "service": { |
| 112 | + "description": "The name of the service supporting this document type.", |
| 113 | + "type": "string" |
| 114 | + } |
| 115 | + } |
| 116 | + } |
| 117 | + }, |
| 118 | + "display_name": { |
| 119 | + "description": "Display name of the document type.", |
| 120 | + "type": "string" |
| 121 | + }, |
| 122 | + "document_type": { |
| 123 | + "description": "The document type.", |
| 124 | + "type": "string" |
| 125 | + } |
| 126 | + } |
| 127 | + } |
69 | 128 | } |
70 | 129 | } |
71 | 130 | }, |
|
260 | 319 | "type": "object", |
261 | 320 | "additionalProperties": false, |
262 | 321 | "properties": { |
| 322 | + "available_services": { |
| 323 | + "description": "Available services for the next POA attempt.", |
| 324 | + "type": "array", |
| 325 | + "items": { |
| 326 | + "type": "string" |
| 327 | + } |
| 328 | + }, |
263 | 329 | "last_rejected": { |
264 | 330 | "description": "Details on the rejected POA attempt.", |
265 | 331 | "type": "object", |
|
293 | 359 | ] |
294 | 360 | }, |
295 | 361 | "supported_documents": { |
296 | | - "description": "Supported documents per document_type.", |
| 362 | + "description": "Supported documents.", |
297 | 363 | "type": "array", |
298 | 364 | "items": { |
299 | 365 | "type": "string" |
300 | 366 | } |
| 367 | + }, |
| 368 | + "supported_documents_v2": { |
| 369 | + "description": "Supported documents per document type.", |
| 370 | + "type": "array", |
| 371 | + "items": { |
| 372 | + "type": "object", |
| 373 | + "properties": { |
| 374 | + "additional": { |
| 375 | + "description": "Additional information required by the document type.", |
| 376 | + "type": "object", |
| 377 | + "properties": { |
| 378 | + "display_name": { |
| 379 | + "description": "Additional display name.", |
| 380 | + "type": "string" |
| 381 | + }, |
| 382 | + "document_type": { |
| 383 | + "description": "Additional document type.", |
| 384 | + "type": "string" |
| 385 | + } |
| 386 | + } |
| 387 | + }, |
| 388 | + "available_services": { |
| 389 | + "description": "Services that support this document type and the specific name expected by the service.", |
| 390 | + "type": "array", |
| 391 | + "items": { |
| 392 | + "type": "object", |
| 393 | + "required": [ |
| 394 | + "document_type", |
| 395 | + "service" |
| 396 | + ], |
| 397 | + "properties": { |
| 398 | + "document_type": { |
| 399 | + "description": "The specific document type name expected by the service.", |
| 400 | + "type": "string" |
| 401 | + }, |
| 402 | + "service": { |
| 403 | + "description": "The name of the service supporting this document type.", |
| 404 | + "type": "string" |
| 405 | + } |
| 406 | + } |
| 407 | + } |
| 408 | + }, |
| 409 | + "display_name": { |
| 410 | + "description": "Display name of the document type.", |
| 411 | + "type": "string" |
| 412 | + }, |
| 413 | + "document_type": { |
| 414 | + "description": "The document type.", |
| 415 | + "type": "string" |
| 416 | + } |
| 417 | + } |
| 418 | + } |
301 | 419 | } |
302 | 420 | } |
303 | 421 | }, |
|
0 commit comments