Skip to content

Commit 137145c

Browse files
SP-18211 - Update models
1 parent 3d5fab4 commit 137145c

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

rt-authenticity.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,6 @@ components:
8181
- $ref: "#/components/schemas/AuthenticityCheckResultItem"
8282
- $ref: "./authenticity/rt-photo-ident.yml#/components/schemas/PhotoIdentItem"
8383

84-
AuthenticityType:
85-
title: "AuthenticityType"
86-
type: integer
87-
description: "Same as authenticity result type, but used for safe parsing of not-described values: https://docs.regulaforensics.com/develop/doc-reader-sdk/web-service/development/enums/authenticity-result-type/"
88-
default: 0
89-
9084
AuthenticityCheckResultItem:
9185
title: "AuthenticityCheckResultItem"
9286
description: "Common fields for all authenticity result objects"
@@ -95,7 +89,7 @@ components:
9589
- Type
9690
properties:
9791
Type:
98-
$ref: "#/components/schemas/AuthenticityType"
92+
$ref: "./authenticity/e-result-type.yml#/components/schemas/AuthenticityResultType"
9993
ElementResult:
10094
$ref: "./common.yml#/components/schemas/CheckResult"
10195
ElementDiagnose:

rt.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ components:
138138
page_idx:
139139
type: integer
140140
result_type:
141-
$ref: "#/components/schemas/ContainerType"
141+
$ref: "#/components/schemas/Result"
142142
discriminator:
143143
propertyName: result_type
144144
mapping:

0 commit comments

Comments
 (0)